This application is part of my developer portfolio, it is not intended to be used in production. If you still want to do so, that you are free to do it on your own risk.
At minimum you are required to have Docker and Docker Compose installed on your system.
To start the application just open a terminal and type in the following command:
docker-compose up -d
After starting up the project, point your REST client to the application URL
curl -X GET http://localhost:8080/api/v1/todo
curl -X POST -H'Content-Type:application/json' -d'{"task": "My task goes here"}' http://localhost:8080/api/v1/todo
curl -X GET http://localhost:8080/api/v1/todo/d6a12b21-6c41-448d-87bc-f94ea8451994
curl -X PUT -H'Content-Type:application/json' -d'{"task":"My updated task", "completed", true}' http://localhost:8080/api/v1/todo/d6a12b21-6c41-448d-87bc-f94ea8451994
curl -X DELETE http://localhost:8080/api/v1/todo/d6a12b21-6c41-448d-87bc-f94ea8451994
This project uses the following third-party libraries:
- GIN Framework go to page
- GIN CORS go to page
- GoDotEnv go to page
- UUID go to page