forked from cerc-io/snowballtools-base
ea3addfd61
* Setup backend package with express server (#11) * Setup backend package with express server * Rename ts.config.json to tsconfig.json * Update lint setup in backend package * Add a dummy typeorm entity * Remove dummy entity --------- Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> * Setup database connection (#13) * Setup database connection * Refactor database initialization into separate function * Rename index.ts to server.ts * Use debug package for logging --------- Co-authored-by: neeraj <neeraj.rtly@gmail.com> * Create entities for ER models (#14) * Add entity for domain * Add entity for environment variable * Add entity for project * Add entity for deployment * git ignore db directory * Add entity for organization * Add entity for user organization and project member * Add foreign key user and organization to project --------- Co-authored-by: neerajvijay1997 <111040298+neerajvijay1997@users.noreply.github.com> Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-authored-by: neeraj <neeraj.rtly@gmail.com>
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "backend",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@types/express": "^4.17.21",
|
|
"@types/node": "^20.11.0",
|
|
"@types/debug": "^4.1.5",
|
|
"express": "^4.18.2",
|
|
"reflect-metadata": "^0.2.1",
|
|
"ts-node": "^10.9.2",
|
|
"typeorm": "^0.3.19",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"scripts": {
|
|
"start": "DEBUG=snowball:* ts-node ./src/server.ts",
|
|
"lint": "eslint .",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check ."
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^6.18.1",
|
|
"@typescript-eslint/parser": "^6.18.1",
|
|
"better-sqlite3": "^9.2.2",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-config-semistandard": "^15.0.1",
|
|
"eslint-config-standard": "^16.0.3",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-promise": "^5.1.0",
|
|
"eslint-plugin-standard": "^5.0.0",
|
|
"prettier": "^3.1.1",
|
|
"workspace": "^0.0.1-preview.1"
|
|
}
|
|
}
|