Simple Todo app in Go for Beginners (Demo)

Simple Todo app in Go for Beginners (Demo)

Introduction

This is a simple Todo application developed in Go.

Click here to access Github Repo

Click here to access Postman collection

The scope of this article is just to illustrate the features/specs of this Repo. If you are looking for a tutorial on how to build, please skip this article. As well as this repo is developed for absolute beginners.

This repo is neither a Production nor a stable version. As well as don't expect any database connections or any third party integrations.

This repo has 5 endpoints.

POST https://learn-go-simple-todo-crud.herokuapp.com/todo/create

  • for creating todo's (E.g : {"title" : "Some task 1" , "completed" : false }

GET https://learn-go-simple-todo-crud.herokuapp.com/todo/list

  • for listing all the todo's

GET https://learn-go-simple-todo-crud.herokuapp.com/todo/read/{id}

  • for reading a Todo by id

DELETE https://learn-go-simple-todo-crud.herokuapp.com/todo/delete/{id}

  • for deleting a Todo by id

POST https://learn-go-simple-todo-crud.herokuapp.com/todo/update/{id}

  • for updating a Todo by id(E.g : {"title" : "Updated Task details 1", "completed": true}

Deploy to Cloud

Know how to deploy this repo to Heroku ? Click here to find out right way

Note

If you have any questions or looking for a tutorial then please use the comment section.