initial commit
This commit is contained in:
53
.gitignore
vendored
Normal file
53
.gitignore
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
# Node
|
||||
|
||||
node_modules/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
# Build
|
||||
|
||||
dist/
|
||||
build/
|
||||
|
||||
# TypeScript
|
||||
|
||||
*.tsbuildinfo
|
||||
|
||||
# Env files
|
||||
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Prisma
|
||||
|
||||
prisma/migrations/
|
||||
|
||||
# (optionnel : garde-les si tu veux versionner tes migrations)
|
||||
|
||||
# Logs
|
||||
|
||||
logs/
|
||||
*.log
|
||||
|
||||
# OS
|
||||
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# IDE
|
||||
|
||||
.vscode/
|
||||
.idea/
|
||||
|
||||
# Docker
|
||||
|
||||
docker-compose.override.yml
|
||||
|
||||
# Misc
|
||||
|
||||
coverage/
|
||||
.tmp/
|
||||
.cache/
|
||||
2725
package-lock.json
generated
Normal file
2725
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
32
package.json
Normal file
32
package.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "bo_liste",
|
||||
"version": "1.0.0",
|
||||
"description": "Back Office de l'application des listes",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"dev": "ts-node-dev --respawn --transpile-only src/core/server.ts",
|
||||
"build": "tsc",
|
||||
"start": "node dist/core/server.js",
|
||||
"prisma:generate": "prisma generate",
|
||||
"prisma:migrate": "prisma migrate dev"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@gitea.raffiskender.com:raffi/bo_listes.git"
|
||||
},
|
||||
"author": "Raffi",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@fastify/jwt": "^10.0.0",
|
||||
"@prisma/client": "^7.5.0",
|
||||
"argon2": "^0.44.0",
|
||||
"fastify": "^5.8.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^25.5.0",
|
||||
"prisma": "^7.5.0",
|
||||
"ts-node-dev": "^2.0.0",
|
||||
"typescript": "^6.0.2"
|
||||
}
|
||||
}
|
||||
18
tsconfig.json
Normal file
18
tsconfig.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist",
|
||||
|
||||
"module": "CommonJS",
|
||||
"target": "ES2020",
|
||||
|
||||
"types": ["node"],
|
||||
|
||||
"sourceMap": true,
|
||||
|
||||
"strict": true,
|
||||
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user