To build and run this app locally you will need a few things:
- 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!
- Model : Schema and POJO creation
- Controller : for Business Logic
- Route : for API
- Util : for helper classes