DEV Community

Cover image for Build a Golang Todo App Backend: A Step-by-Step Guide

Build a Golang Todo App Backend: A Step-by-Step Guide

Kelechi Ogbonna on December 29, 2023

In this tutorial, you will learn how to build a Todo app backend with Golang. If you are new to programming or a Dev who desires to learn Golang, ...
Collapse
 
wiliamvj profile image
Wiliam V. Joaquim

Great post! You don't need to do a go get in the middleware, it's already included in the main go-chi package

Collapse
 
kells profile image
Kelechi Ogbonna

Nice, thanks for letting me know

Collapse
 
lordrahl90 profile image
Alugbin Abiodun Olutola

Great post.

Instead of having separate models for json/bson,
you could use the json tag as well and the data will be available in json as well :)
Will also be nice if you package the app in docker and a docker-compose file is made available for the database like you suggested.

Again, great work and looking forward to more nice things.
Cheers

Collapse
 
kells profile image
Kelechi Ogbonna • Edited

Interesting, I thought I had to save the data in bson because I was using a MongDB database. Thank you for this information. I appreciate your feedback.