vimaltiwari2612 / mongoose-express-ts

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:TypeScript 100.0%