Mongoose Node.js Express TypeScript application boilerplate.
Prerequisites
To build and run this app locally you will need a few things:
Getting started
- Clone the repository
git clone --depth=1 https://github.com/vimaltiwari2612/mongoose-express-ts.git <project_name>
- Install dependencies
cd <project_name>
npm install
npm run tsc
- Build and run the project with auto reload (nodemon)
npm run server
- Build and run the project
npm run start
Finally, navigate to http://localhost:5000/
and you should see the API running!
Project Details
- Model : Schema and POJO creation
- Controller : for Business Logic
- Route : for API
- Util : for helper classes