This app is design to practice Golang. Application is created using Mux module and routed to perform CRUD operations.
Endpoints
/item GET, POST, PUT, DELETE
/items GET
With Docker
- In the root directory, execute
docker build -t <image name> .
- Once compiled, execute
docker run -d -p 4040:4040 <image name>
- App should be runnning and exposed to
http://localhost:4040
Without Docker
- In the root directory, execute
go intall
to download necessary dependencies - Then, execute
go run main.go
- App should be runnning and exposed to
http://localhost:4040