Coder Social home page Coder Social logo

express-mongoose-es6-rest-api's Introduction

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

express-mongoose-es6-rest-api's People

Contributors

kantivekariya avatar kevit-kanti-vekariya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.