Dropshipping, you can sell whatever you want
To run the app:
docker-compose up -d
go run main.go
If you have MongoDB installed you can run just application
go run main.go
- JWT authentication
- Docker connection to MongoDB
- Http-endpoints with gin-gonic/gin
- Detailed Structs
- Searching, Adding, Removing, Buying, Updating products in MongoDB
- Registration: POST http://localhost:8000/users/signup
{
"first_name": "Tema",
"last_name": "Yerlanuly",
"email": "temirlan.eraly@gmail.com",
"password": "123123",
"phone": "+77743"
}
- Login: POST http://localhost:8000/users/login
{
"email": "temirlan.eraly@gmail.com",
"password": "123123"
}
- GET http://localhost:8000/users/productview
- POST http://localhost:8000/admin/addproduct
- GET http://localhost:8000/users/search?name=
- PUT http://localhost:8000/edithomeaddress?id
List of all endpoints will be displayed by gin package when you will run app