Skip to content
/ toiler Public

A Preact task list app, mainly for the purposes of learning Preact.

License

Notifications You must be signed in to change notification settings

DeanPDX/toiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toiler

This is a task tracking app, written with Preact, Go, and Postgres. This version is very basic and doesn't even properly support auth yet so do not use. I'm using this as a holding tank for now to build out initial app.

To start API, run:

go run github.com/DeanPDX/toiler/api

Testing docker build

Build a docker image with the tag toiler:

docker build . --tag toiler

Then run the image, expose a port and pass in environment variables:

# This assumes you have a postgres instance running on a different docker image:
docker run -p 8090:8090 --env DSN='postgres://todoapp:LetMeIn!@yourVEthernetAdapterIP:5432/todoapp' --env PORT=8090 --env SIGNINGSECRET=SomeCoolJWTSigningSecret toiler