Example API app written in Go.
Go, Gin, JWT, SQLite3
- Clone the repository:
git clone git@github.com:garygause/go-api-app.gitor
git clone https://github.com/garygause/go-api-app.git- Install dependencies:
go mod tidy
go run .Tests are located in api-test folder. To run these tests, you need the Rest extension installed in VSCode.
- POST /signup
- POST /login
- GET /users
- GET /users/
- POST /users
- PUT /users/
- DELETE /users/
- GET /stores
- GET /stores/
- POST /stores
- PUT /stores/
- DELETE /stores/
- GET /products
- GET /products/
- POST /products
- PUT /products/
- DELETE /product/