feat: create basic express server with swagger documentation
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"dotenv": "^17.2.3",
|
||||
"express": "^5.1.0",
|
||||
"pg": "^8.16.3",
|
||||
"reflect-metadata": "^0.2.2",
|
||||
"swagger-jsdoc": "^6.2.8",
|
||||
@@ -20,6 +21,7 @@
|
||||
"start": "ts-node src/index.ts",
|
||||
"typeorm": "typeorm-ts-node-commonjs",
|
||||
"newMigration": "typeorm-ts-node-commonjs migration:generate -p -d ./src/data-source.ts",
|
||||
"pendingMigration": "typeorm-ts-node-commonjs migration:run -d ./src/data-source.ts"
|
||||
"pendingMigration": "typeorm-ts-node-commonjs migration:run -d ./src/data-source.ts",
|
||||
"server": "ts-node src/app.ts"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user