Giter VIP home page Giter VIP logo

node-rest-api's Introduction

node-REST-API

The API is for the shopping store. The API is built with nodeJS to provide the RESTful (statless) services. Express is used as the framework for the app while MongoDB Atlas helps with the DB (Cloud).

The dependencies are:

"dependencies": { "bcrypt": "^4.0.1", "body-parser": "^1.19.0", "express": "^4.17.1", "jsonwebtoken": "^8.5.1", "mongoose": "^5.9.5", "morgan": "^1.9.1", "multer": "^1.4.2" }

To play with the api

git clone https://github.com/agent515/node-REST-API
npm install
npm start

Following services are available using this API:

Product:

  1. Create product (POST)
  2. See a product (GET)
  3. See all the products (GET)
  4. Update the product (PATCH)
  5. Delete the product (DELETE)

Order:

  1. Place an order (POST)
  2. See an order (GET)
  3. See all the orders (GET)
  4. Delete the order (DELETE)

User:

  1. Sign up (POST)
  2. Log in (POST)
  3. Delete user (DELETE)

node-rest-api's People

Contributors

agent515 avatar dependabot[bot] 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.