All Projects → vibhasfl → express-mongoose-es8-rest-api

vibhasfl / express-mongoose-es8-rest-api

Licence: other
A Boilerplate for developing Rest api's in Node.js using express with support for ES6,ES7,ES8 ,Mongoose,JWT for authentication,Standardjs for linting

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to express-mongoose-es8-rest-api

express-ts-api-boilerplate
Express TypeScript API Boilerplate
Stars: ✭ 15 (-25%)
Mutual labels:  dotenv, nodemon, joi
task-manager
Task Manager App
Stars: ✭ 19 (-5%)
Mutual labels:  mongoose, joi, jsonwebtoken
Express Mongoose Es6 Rest Api
💥 A boilerplate application for building RESTful APIs Microservice in Node.js using express and mongoose in ES6 with code coverage and JsonWebToken Authentication
Stars: ✭ 2,811 (+13955%)
Mutual labels:  dotenv, mongoose, jsonwebtoken
Nestjs Sequelize Jwt
Nest + Sequelize + jwt
Stars: ✭ 127 (+535%)
Mutual labels:  dotenv, jsonwebtoken
twitch-chat-visualizer
A Node.js Project. Would you like to see your chat stream with a custom design? This is for you!
Stars: ✭ 14 (-30%)
Mutual labels:  dotenv, nodemon
Nestjs Graphql
nest-js starter which implement graphql module
Stars: ✭ 111 (+455%)
Mutual labels:  dotenv, jsonwebtoken
Bookmarks.dev
Bookmarks and Code Snippets Manager for Developers & Co
Stars: ✭ 218 (+990%)
Mutual labels:  mongoose, nodemon
react-app-simple-chat-app
A Simple Chat Application using MERN stack (MongoDB, Express JS, React JS, Node JS) and Socket.io for real time chatting
Stars: ✭ 41 (+105%)
Mutual labels:  async-await, babel7
node-simple-jwt
No description or website provided.
Stars: ✭ 19 (-5%)
Mutual labels:  mongoose, jsonwebtoken
Natours
An awesome tour booking web app written in NodeJS, Express, MongoDB 🗽
Stars: ✭ 94 (+370%)
Mutual labels:  mongoose, multer
rest-api-node-typescript
This is a simple REST API with node and express with typescript
Stars: ✭ 154 (+670%)
Mutual labels:  nodemon, joi
yantra
JavaScript Engine for .NET Standard
Stars: ✭ 32 (+60%)
Mutual labels:  standard, async-await
login push
vue+koa2+jwt实现单点登录 + todolist增删改查
Stars: ✭ 20 (+0%)
Mutual labels:  mongoose, jsonwebtoken
Typescript Express Starter
🚀 TypeScript Express Starter
Stars: ✭ 238 (+1090%)
Mutual labels:  mongoose, jsonwebtoken
Sinn Server
an node server for sinn,that based on of nodejs,koa2,mongoose,docker,nginx,es6/7,Resful API,阿里云 http://servertest.boyagirl.com/
Stars: ✭ 228 (+1040%)
Mutual labels:  mongoose, async-await
Registration-and-Login-using-MERN-stack
Simple Registration and Login component with MERN stack
Stars: ✭ 210 (+950%)
Mutual labels:  mongoose, nodemon
node-server
(@nestjs refactoring)⚡️My personal website's api server, a RESTful application that powered by @eggjs
Stars: ✭ 17 (-15%)
Mutual labels:  mongoose, jsonwebtoken
Sinn
a blog based on of react,webpack3,dva,redux,material-ui,fetch,generator,markdown,nodejs,koa2,mongoose,docker,shell,and async/await 基于react+koa2技术栈的个人开源博客系统
Stars: ✭ 175 (+775%)
Mutual labels:  mongoose, async-await
Express Es6 Starter
Starter project for creating a MVC express server with MongoDB
Stars: ✭ 178 (+790%)
Mutual labels:  mongoose, async-await
async-await-codemod
Codemod script for migrating promise-based functions to use async/await syntax
Stars: ✭ 22 (+10%)
Mutual labels:  async-await, es8

express-mongoose-es8-rest-api

Description

Nodejs boilerplate with express,Mongoose,Mysql,JWT,ES6,ES7,ES8 support to develop REST api

specification node version express mongoose jsonwebtoken mysql code style Dependencies

Features

  • ES6,ES7,ES8 supported via babel 7.*
  • Authentication via JWT with dynamic secret per user
  • Jwt middleware for authenticated routes management
  • Request validation using joi
  • async-await with single try catch throughout routes using asyncWrapper
  • Code linting using standard and pre commit git hooks using husky
  • Integration test using mocha,chai,chai-http
  • Auto server start using nodemon
  • uses yarn over npm
  • Application level errorHandler
  • Manage enviroment via dotenv
  • Code coverage with istanbul
  • uses helmet to secure api endpoints which adds necessary security headers
  • Added support for databases like mysql and mongoDB with async await
  • Flexible fileupload with disk and S3 storage using multer and multer-s3

Getting Started

  1. Clone repository
> git clone https://github.com/vibhasfl/express-mongoose-es8-rest-api.git 
> cd express-mongoose-es8-rest-api
  1. Install yarn
> npm i -g yarn 
  1. Install project dependencies
> yarn
  1. Set enviroment variables
> cp .env.sample .env
  1. Run application
> yarn dev OR npm run dev
  1. Run tests
> yarn test
  1. Generate coverage report
> yarn test:coverage

Note : Open coverage/lcov-report/index.html

Running with docker

> yarn build 
> docker-compose build
> docker-compose up

Note : Make sure docker is being installed first

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].