Giter VIP home page Giter VIP logo

grocery's Introduction

grocery

Grocery Microcervices Created by Ahmad Saleh

Features

  • The Gateway MS is doing the route part and handle all the requests from the outside and offer the security check, it includes:

  • **api/auth (POST) to login into the system

  • **api/register (POST) to register users

  • **api/products (POST) to add products

  • **api/products/search (POST) to do the search in the products

  • **api/products/review (POST) to review a product

Install

  • To setup the environment you need node.js to be installed on your system after that you need to enter each Microcervice's directorty and run:
yarn

or:

npm install

then you need to run:

yarn start

or:

npm start
  • The database has been served on the cloud so you don't to worry about it. I have attached the Postman collections with some screen shots related to the Apis.

  • Here are the https response statuses:

  • Return 401 if client is not logged in
  • Return 400 if you have bad request.
  • Return 200 if valid request.

grocery's People

Contributors

ahmadmsa87 avatar

Watchers

 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.