All Projects → matheusdavidson → express-typescript-mongoose-starter

matheusdavidson / express-typescript-mongoose-starter

Licence: other
A starter for Node JS, Express, Typescript, Mongoose application

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to express-typescript-mongoose-starter

dhiwise-nodejs
DhiWise Node.js API generator allows you to instantly generate secure REST APIs. Just supply your database schema to DhiWise, and a fully documented CRUD APIs will be ready for consumption in a few simple clicks. The generated code is clean, scalable, and customizable.
Stars: ✭ 224 (+918.18%)
Mutual labels:  mongoose, expressjs, restful-api
docker-node-express-boilerplate
Boilerplate for quickly bootstrapping production-ready RESTful APIs / microservices
Stars: ✭ 113 (+413.64%)
Mutual labels:  mongoose, expressjs, restful-api
express-boilerplate
ExpressJS boilerplate with Socket.IO, Mongoose for scalable projects.
Stars: ✭ 83 (+277.27%)
Mutual labels:  mongoose, expressjs, express-boilerplate
Nodejs Rest Api Project Structure Express
Nodejs project structure practices for building RESTful APIs using Express framework and MongoDB.
Stars: ✭ 134 (+509.09%)
Mutual labels:  mongoose, expressjs, restful-api
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (+563.64%)
Mutual labels:  mongoose, expressjs, restful-api
NodeRestApi
Node.js, Express.js and MongoDB REST API App
Stars: ✭ 38 (+72.73%)
Mutual labels:  mongoose, expressjs, restful-api
nodejs-starter-template
You can use this template when you're starting a new project by using Node.js, Express, and Mongoose. It contains general concepts, you can customize it according to your needs.
Stars: ✭ 54 (+145.45%)
Mutual labels:  mongoose, express-boilerplate, node-boilerplate
nestjs-rest-sample
NestJS RESTful APIs Sample
Stars: ✭ 204 (+827.27%)
Mutual labels:  mongoose, expressjs, restful-api
nodejs-simple-restfull-with-express
⚡ ExpressJS Rest API Sample
Stars: ✭ 19 (-13.64%)
Mutual labels:  expressjs, express-boilerplate
mern-stack-application
A MERN stack e-commerce website.
Stars: ✭ 45 (+104.55%)
Mutual labels:  mongoose, expressjs
NodeExpressCRUD
Node, Express, Mongoose and MongoDB CRUD Web Application
Stars: ✭ 45 (+104.55%)
Mutual labels:  mongoose, expressjs
ThinkApp
Test your knowledge with any of the available topic this fun and free Champion Quiz Master App. Save your time and effort by saving your queries & its resolutions
Stars: ✭ 15 (-31.82%)
Mutual labels:  mongoose, expressjs
ng-nest-cnode
Angular 10 Front-End and Nestjs 7 framework Back-End build Fullstack CNode
Stars: ✭ 17 (-22.73%)
Mutual labels:  mongoose, expressjs
express-mquery
Expose mongoose query API through HTTP request.
Stars: ✭ 37 (+68.18%)
Mutual labels:  mongoose, expressjs
node-js-project-structure
No description or website provided.
Stars: ✭ 21 (-4.55%)
Mutual labels:  mongoose, expressjs
mini-express-boilerplate
A minimal Express boilerplate with passport user authentication, mongoose and some security setup configured
Stars: ✭ 15 (-31.82%)
Mutual labels:  mongoose, expressjs
Online-Examination-System
Technologies : React js, Node js, Express js, Mongo Db, Ant Design, Redux js Key features: 1. User management 2. Modular code 3. Permission management 4. Persistent answers on page refresh in the test portal 5. Examination results using graphs 6. Results can directly be downloaded as excel sheet 7. Feedback system
Stars: ✭ 37 (+68.18%)
Mutual labels:  mongoose, expressjs
OpenBook-E-Commerce
An e-commerce progressive web application, built with mern stack. It has features like product buy, order management by admin, payment gateway, cart, checkout and lot more.
Stars: ✭ 53 (+140.91%)
Mutual labels:  mongoose, expressjs
opentelemetry-ext-js
js extensions for the open-telemetry project
Stars: ✭ 122 (+454.55%)
Mutual labels:  mongoose, expressjs
yelp-camp
A Node.js web application project from the Udemy course - The Web Developer Bootcamp by Colt Steele
Stars: ✭ 36 (+63.64%)
Mutual labels:  mongoose, restful-api

Pull Requests are welcome ;)

Quickstart application with Express, Typescript, Mongoose

This project is a starter for express, typescript and mongoose application, designed for Restful API's, but you can easily extend to make other things.

I couldn't find any complete guide to archieve this, so i've looked many tutorials and posts about express with typescript and came up with seed application.

Prerequisites

  1. Latest version of Node to be installed(i recommend NVM, easier to install and possible to work with multiple node versions).
  2. Install MongoDB and make sure it is running on default port 27017 (if not then please configure constants.ts and change the connection for mongoDB).

Steps to run

    npm install          <= install all the npm Dependencies
    npm run dev          <= start the Nodemon and watch for changes.

Directory Structure

express-typescript-mongoose-starter
    ├── dist                  <= typescript will compile js to this folder
    ├── node_modules
    ├── src
    │    ├── .env             <= for production, for other envs, use: .env.${NODE_ENV}
    │    ├── api
    │    │    ├── example     <= Replace example for feature name
    │    │    │    ├── example.controller.ts
    │    │    │    ├── example.model.ts
    │    │    │    ├── example.router.ts
    │    ├── config
    │    │    ├── express.ts
    │    │    ├── routes.ts
    │    ├── server.ts
    │    ├── tsconfig.json
    ├── package.json
    ├── tsconfig.json
    ├── README.md

Todo

  • Add JWT based authentication with passport.js
  • Add socket.io and inject socket instace to routes and controller
  • Command line support to generate libraries, modules, routes and controllers

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].