- Uses typescript
- Basic moongoose model setup
- Global error handling
- Request input validation using Joi
Get started developing...
# install deps
npm install
# run in development mode
npm run watch
Install all package dependencies (one time operation)
npm install
Runs the application is development mode. Should not be used in production
npm run watch
Compiles the application and starts it in production mode.
npm run compile
npm start
- Open you're browser to http://localhost:3000
- Invoke the
/
endpointcurl http://localhost:3000/
Add these contents to your .vscode/launch.json
file