dorkhub

go-todo

A simple todo list application in Golang

ichtrojan
Go11159 forksupdated 3 years ago
git clone https://github.com/ichtrojan/go-todo.gitichtrojan/go-todo

Go Todo

hero

Introduction

A simple todolist application written in Go

Requirements

  • MySQL installed
  • Go installed

Installation

  • Clone this repo
git clone https://github.com/ichtrojan/go-todo.git
  • Change Directory
cd go-todo
  • Initiate .env file
cp .env.example .env
  • Modify .env file with your correct database credentials and desired Port

Usage

To run this application, execute:

go run main.go

You should be able to access this application at http://127.0.0.1:4040

NOTE
If you modified the port in the .env file, you should access the application for the port you set

Conclusion

This Project is an example to teach CRUD using the default database/sql package and how to serve html templates properly.

If you have anything to add to this, please send in a PR as it will no longer be actively maintained by me.

more like this

leaf

Lightweight, self-hosted task tracking

Rust50

taskbutler

Create and add progress bars, Office365 Files and Dropbox Paper papers by labels and link them to your Todoist tasks.

Python50

search

search projects, people, and tags