Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/deanpdx/toiler
- Owner: DeanPDX
- License: mit
- Created: 2021-11-06T19:54:14.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-09T23:31:06.000Z (over 1 year ago)
- Last Synced: 2023-06-10T01:09:31.917Z (over 1 year ago)
- Topics: golang, postgresql, preact, tasks-manager, website
- Language: Go
- Homepage:
- Size: 656 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```