Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.27 KB

File metadata and controls

45 lines (33 loc) · 1.27 KB

Simple Ecommerce

Simple e-commerce built with Microservices Architetcture using GRPC for service to service communication

Instalation

Clone this repo

git clone https://github.com/kbiits/simple-ecommerce-microservices-grpc

Go to the project root directory

cd simple-ecommerce-microservices-grpc

Run start script

chmod u+x ./start.sh
./start.sh

The API is running on localhost:3000

To stop the app, just use docker compose

docker-compose down

Routes

Authentication : JWT as Bearer Token

http method routes desc
POST /auth/register register user
POST /auth/login login user
GET /product list products (require auth)
GET /product/{product_id} get product by id (require auth)
POST /product create product (require auth)
POST /order create order (require auth)

Design

backend high level design