A simple CRUD todo list application that is powered by Docker and Go

todolist-goland

A simple CRUD todo list application that is powered by Docker and Go. Docker compose will run two containers todolist and mysql. Please keep in mind that the app will depend on the success of the database container as it waits for it to start (see ./sysops/entrypoint.sh). All of these configurations are found on the docker-compose.yml file.

Getting Started

In order to get this application up and running, please install the following technologies:

Docker

Docker Compose

brew install docker-compose

Go

brew install golang

MySQL

Docker will bootstrap mysql (version 8.0.23) for usage. The database will be called todolist, but feel free to change the actual name if desired. Please keep in mind, if changes are applied, to reflect those changes inside the docker-compose.yml file.

Golang

If you are new to Go, please configure your Go workspace ( bin, pkg, & src) first. Here is a link to help you get started: local go. Once you have those set up, clone this repository inside of your src folder.

Environmental Variables

In order to successfully run this application, you need to configure your .env file first (as docker will use some of its variables). There is a template of this already here. Copy this template in your real .env file and fill in the password of your choosing. You can opt in to the default mysql password root.

Running the application

Once you have properly configured everything, execute the following command on the root level of this app via terminal:

Build the containers (app & database)

docker compose build

Run the app

docker compose up

It's alive!

Application is hosted on localhost:8080.

Trouble shooting

If you are coming across errors, please make sure to remove your docker volumes and re-build everything! (I know it is tedious).

Similar Resources

It is a clone of the CRUD operations on Instagram which can create, get, create posts and get the post along with pagination

It is a clone of the CRUD operations on Instagram which can create, get, create posts and get the post along with pagination

Instagram-API-Clone It is a basic version of a RESTful API based on Instagram where we can create user, get the users, create post and get post and ge

Jan 25, 2022

Build a TodoList with Go Design and implement a backend RESTful service in golang with CRUD

May we ask Igor to do a little project in leu of sample code? If there is a hire, the hours spent should be invoiced, so please keep track of that. Th

May 5, 2022

A CRUD Phone Book app by REST-API, Golang and PostgreSQL

A CRUD Phone Book app by REST-API, Golang and PostgreSQL

in this repository, I've created a CRUD Phone Book app by REST-API, Golang and PostgreSQL. in this app, you can: 1-Create a new contact 2-See all contacts 3-Search among the contacts 4-Delete a contact by it's name 5-Delete a contact by it's number 6-Delete all contacts

Oct 8, 2022

CRUD REST interface for transmission's RPC. Written in Go.

transmission-rest a CRUD REST interface for transmission's RPC. Written in Go using github.com/hekmon/transmissionrpc/v2 Configuration Empty config fi

Oct 14, 2021

Creacion de una applicacion web en go con acceso a operaciones CRUD en base de datos.

CRUD_con_go_tut Creacion de una applicacion web en go con acceso a operaciones CRUD. Repo de seguimiento del tutorial del canal Developteca de Youtube

Jan 13, 2022

Golang Gin Framework CRUD RestAPI with MySQL for music records.

web-service-gin Golang Gin Framework CRUD RestAPI with MySQL for music records. Installation This application runs on Go version 1.18.1. You can insta

Oct 17, 2022

This application is used as an example HTTP/SQLite application for Litestream tutorials.

This application is used as an example HTTP/SQLite application for Litestream tutorials. It simply maintains a count of HTTP requests and persists it to a SQLite database.

Apr 2, 2022

listmonk is a standalone high performance, self-hosted newsletter and mailing list manager with a modern dashboard. Single binary app.

listmonk is a standalone high performance, self-hosted newsletter and mailing list manager with a modern dashboard. Single binary app.

listmonk is a standalone, self-hosted, newsletter and mailing list manager. It is fast, feature-rich, and packed into a single binary. It uses a PostgreSQL database as its data store.

Jan 1, 2023

listmonk is a standalone, self-hosted, newsletter and mailing list manager

listmonk is a standalone, self-hosted, newsletter and mailing list manager

listmonk is a standalone, self-hosted, newsletter and mailing list manager. It is fast, feature-rich, and packed into a single binary. It uses a Postg

Aug 15, 2022
Simple Todo List using Go & MySQL

Simple Todo List using Go & MySQL This is simple to-do list application, allowing user to manages and scheduling their to-do list. You can use your ow

Feb 9, 2022
Simple vanilla Go CRUD application with mongoDB database with its mflix dataset that I use for my thesis about benchmarking REST API and GraphQL.

Go GraphQL Simple vanilla Go CRUD application with mongoDB database with its mflix dataset that I use for my thesis about benchmarking REST API and Gr

Oct 15, 2021
This codebase was created to demonstrate a fully fledged fullstack application built with Golang/Echo including CRUD operations, authentication, routing, pagination, and more.
This codebase was created to demonstrate a fully fledged fullstack application built with Golang/Echo including CRUD operations, authentication, routing, pagination, and more.

This codebase was created to demonstrate a fully fledged fullstack application built with Golang/Echo including CRUD operations, authentication, routing, pagination, and more.

Jan 6, 2023
A todo app written in Golang, MongoDB, and React.
A todo app written in Golang, MongoDB, and React.

A todo app written in Golang, MongoDB, and React.

Jun 5, 2022
Go-todo-api - An example API project written Go and Fiber Framework

This is an example API project written Go and Fiber Framework. Test codes has been written for all controller functions. Environment variables are taken from config.yml.

Jan 24, 2022
Beego todo with golang
Beego todo with golang

BeegoTodo Steps [Only API] Get Bee Cli Tool Generate Project Using bee api [appname] Generate Model using bee generate model [modelname] [-fields="nam

Nov 1, 2021
Поиск всех строк комментариев с маркером TODO: и форматирование результата в формате Org mode.

Описание TodoList находит рекурсивно все папки с проектами. Определяет проекты по наличию в папке маркеров проекта, например, директории .git или файл

Dec 2, 2021
A web application attack surface mapping tool. It takes in a list of urls then performs numerous probes

sigurlscann3r A web application attack surface mapping tool. It takes in a list of urls then performs numerous probes Resources Features Installation

Sep 24, 2022
Api-go-gin-viper - Simple representaion on how to implement CRUD functionality in API using Go programming language

Simple API implementaion in Go To Get Started Clone repo Run the command to clon

Feb 18, 2022
A simple database application that I was asked to implement as part of a job application process

This is a simple database application that I was asked to implement as part of a job application process. They told me I could choose any languages an

Nov 24, 2021