Skip to content

Mongoose Node.js Express code in TypeScript complete with middleware, models, routes, and types.

Notifications You must be signed in to change notification settings

vimaltiwari2612/mongoose-express-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mongoose Node.js Express TypeScript application boilerplate.

image

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

image

  • Model : Schema and POJO creation
  • Controller : for Business Logic
  • Route : for API
  • Util : for helper classes

Credits

https://github.com/polcham/mongoose-express-ts

About

Mongoose Node.js Express code in TypeScript complete with middleware, models, routes, and types.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published