A simple todo API written in Golang
- Clone this Repository using
git clone
- Run Docker Desktop
- Check config/db.go for the commented out code and adjust accordingly
- use CMD Command on this project root
docker-compose build
docker-compose up
- access http://localhost:8080/swagger/index.html#/
- The app is ready to use.
- Clone this Repository using
git clone
- Check config/db.go for the commented out code and adjust accordingly
- use CMD Command on this project root
go build -tags netgo -ldflags '-s -w' -o app
./app
- access http://localhost:8080/swagger/index.html#/
- The app is ready to use.
The live demo is available at https://micbun-golang-simple-todo.onrender.com/swagger/index.html
For more information, please contact me LinkedIn: https://www.linkedin.com/in/MicBun