Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deanpdx/toiler

A Preact task list app, mainly for the purposes of learning Preact.
https://github.com/deanpdx/toiler

golang postgresql preact tasks-manager website

Last synced: 6 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:

```bash
docker build . --tag toiler
```

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

```bash
# 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
```