@ancxkush/create-ts-express-mongo-starter-code
Version:
NodeJS/Express starter code with - TypeScript, MongoDB setup, Exception Handler, Logger, HTTP testing example, Swagger Docs example, Mongoose model example, JOI validation example, CRUD operations example
53 lines • 1.56 kB
JSON
{
"name": "@ancxkush/create-ts-express-mongo-starter-code",
"version": "1.0.5",
"description": "NodeJS/Express starter code with - TypeScript, MongoDB setup, Exception Handler, Logger, HTTP testing example, Swagger Docs example, Mongoose model example, JOI validation example, CRUD operations example",
"bin": "./bin/cli.js",
"main": "server.js",
"keywords": [
"nodejs",
"express",
"typescript",
"mongodb",
"boilerplate",
"starter-code",
"starter"
],
"author": "Ankush Kunwar",
"license": "ISC",
"dependencies": {
"cross-spawn": "^7.0.3",
"express": "^4.18.1",
"express-rate-limit": "^6.6.0",
"helmet": "^6.0.0",
"http-errors": "^2.0.0",
"joi": "^17.6.2",
"mongoose": "^6.6.2",
"morgan": "^1.10.0",
"swagger-ui-express": "^4.5.0",
"winston": "^3.8.2"
},
"devDependencies": {
"@types/cross-spawn": "^6.0.2",
"@types/express": "^4.17.14",
"@types/http-errors": "^1.8.2",
"@types/jest": "^29.2.2",
"@types/morgan": "^1.9.3",
"@types/node": "^18.7.23",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"concurrently": "^7.4.0",
"dotenv": "^16.0.2",
"mongodb-memory-server": "^8.10.0",
"nodemon": "^2.0.20",
"supertest": "^6.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
},
"scripts": {
"watch": "tsc -w",
"test": "NODE_ENV=test || set NODE_ENV=test&& jest",
"start": "nodemon dist/server.js",
"dev": "concurrently --kill-others \"npm run watch\" \"npm start\""
}
}