Initial commit - Fastify backend with Sequelize and TypeScript
parents
Showing
.gitignore
0 → 100644
package-lock.json
0 → 100644
This diff is collapsed.
Click to expand it.
package.json
0 → 100644
{ | |||
"name": "backend", | |||
"version": "1.0.0", | |||
"main": "index.js", | |||
"scripts": { | |||
"test": "echo \"Error: no test specified\" && exit 1", | |||
"dev": "ts-node-dev --respawn src/index.ts" | |||
}, | |||
"keywords": [], | |||
"author": "", | |||
"license": "ISC", | |||
"description": "", | |||
"devDependencies": { | |||
"@types/node": "^22.15.3", | |||
"ts-node-dev": "^2.0.0", | |||
"typescript": "^5.8.3" | |||
}, | |||
"dependencies": { | |||
"fastify": "^5.3.2", | |||
"fastify-cors": "^6.0.3", | |||
"fastify-plugin": "^5.0.1", | |||
"mysql2": "^3.14.1", | |||
"pg-hstore": "^2.3.4", | |||
"sequelize": "^6.37.7", | |||
"sequelize-typescript": "^2.1.6", | |||
"zod": "^3.24.4" | |||
} | |||
} |
src/index.ts
0 → 100644
src/models/User.ts
0 → 100644
src/plugins/db.ts
0 → 100644
src/routes/user.ts
0 → 100644
src/schemas/user.schema.ts
0 → 100644
tsconfig.json
0 → 100644
Please
register
or
sign in
to comment