Skip to content

kantivekariya/express-mongoose-es6-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node, Express Server, and ES6 using babel.

Overview

React uses JSX syntax. Babel is a transpiler i.e. it converts the JSX to vanilla JavaScript. You can view babel as an intermediate step between your code and "executable" code.

React also uses ES6, which is not supported by most of the browsers. Babel converts the ES6 code to a code which is compatible with the browsers.

REST APIs in Node.js using ES6 and Express with Code Coverage and JWT Authentication.

Features

  • babel v7
  • Express
  • bcrypt
  • jsonwebtoken
  • mongoose

Requirements

  • node v13
  • mongodb compass

Installation

  • git clone https://github.com/kantivekariya/express-mongoose-es6-rest-api.git
  • cd express-mongoose-es6-rest-api
  • npm install
  • npm run dev Rus as Development

GET Routes

http://localhost:8080/api/v1/auth/

  • post register
  • post login
  • get users
  • get users/1
  • put users/1
  • delete users/1

More Details visit following blogs.

https://www.linkedin.com/pulse/building-es6-crud-api-nodejs-expressjs-babel-kanti-vekariya

About

express-mongoose-es6-rest-api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published