Skip to content
/ go.do Public

fast & light todo list with excellent memory management

License

Notifications You must be signed in to change notification settings

ttamre/go.do

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO.DO

Description

Go + Redis implementation of a todo list web application.
Lightning fast, lightweight, and designed with excellent memory management.

Installation

Option 1: Docker

# 1) Install project
git clone https://github.com/ttamre/go.do.git
cd go.do

# 2) Build docker image
docker build -t go.do .

Option 2: Makefile

# 1) Install redis
# https://redis.io/downloads/

# 2) Install project
git clone https://github.com/ttamre/go.do.git
cd go.do

# 3) Build project
make

Usage

Option 1: Docker

# For more information on how to configure ports and other flags with `docker run`,
# https://docs.docker.com/reference/cli/docker/container/run/#publish

docker run -p 8080:5000 go.do   # Run docker image and expose it at http://localhost:8080

Option 2: Makefile

# 1) Run Redis server in background
redis-server --port 5001 --daemonize yes

# 2) Run app
./bin/godo

# Command line arguments (optional)
#   listenAddr      port to serve website on  (default: 5000)
#   redisAddr       port to serve database on (default: 5001)
./bin/godo --listenAddr 5000 --redisAddr 5001

License

This project is licensed under the GNU v3 General Public License. For more information, see the LICENSE