This project creates a simple ecommerce system to demonstrate the capbilities of Golang to build micro services.
The tech stack includes:
- Web Framework: Gin
- Database: GORM
First, we setup the data servers using docker-compose.
cd docker
docker-compose up -d
Then, we can build and run the application
make
Please use tools like Postman to verify the application with following APIs:
- Register user
POST http://localhost:8090/api/user/register
- Sign in
POST http://localhost:8090/api/user/signin
- List all users
GET http://localhost:8090/api/users