Simple e-commerce built with Microservices Architetcture using GRPC for service to service communication
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
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) |