Enviar arquivos para "/"

This commit is contained in:
2026-07-20 17:04:05 +00:00
commit 3c318d399a
4 changed files with 2091 additions and 0 deletions

35
package.json Normal file
View File

@@ -0,0 +1,35 @@
{
"name": "gastrobar-backend",
"version": "1.0.0",
"description": "Backend para o sistema de PDV e gestão do gastrobar",
"main": "dist/server.js",
"scripts": {
"dev": "tsx watch src/server.ts",
"build": "tsc",
"start": "node dist/server.js",
"db:push": "prisma db push",
"db:seed": "tsx prisma/seed.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@fastify/cors": "^8.0.0",
"@fastify/jwt": "^8.0.1",
"@prisma/client": "^5.14.0",
"bcrypt": "^5.1.1",
"fastify": "^4.27.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/node": "^20.12.12",
"prisma": "^5.14.0",
"tsx": "^4.11.0",
"typescript": "^5.4.5"
},
"prisma": {
"seed": "tsx prisma/seed.ts"
},
"type": "commonjs"
}