Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cwithmichael/godo
Todo web app written in Go
https://github.com/cwithmichael/godo
go golang todo
Last synced: 28 days ago
JSON representation
Todo web app written in Go
- Host: GitHub
- URL: https://github.com/cwithmichael/godo
- Owner: cwithmichael
- License: mit
- Created: 2021-08-04T02:56:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-21T03:32:04.000Z (almost 3 years ago)
- Last Synced: 2024-11-09T05:31:38.806Z (3 months ago)
- Topics: go, golang, todo
- Language: Go
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Go Report Card](https://goreportcard.com/badge/github.com/cwithmichael/godo)](https://goreportcard.com/report/github.com/cwithmichael/godo)
# Godo
A basic Todo app written with Go. Based on the Let's Go book by Alex Ewards.
## Example screenshot
![godo](https://user-images.githubusercontent.com/1703143/161475014-4b10571e-08d7-418a-b66b-2e94c4d3de2e.png)
## How to Run
The easiest way to run this is with `docker-compose`. Please see the [official documentation](https://docs.docker.com/compose/install/) for instructions on how to install it on your machine.
1. Generate a self-signed TLS certificate
We'll use the `generate_cert.go` tool included with Go installations. Run these commands from inside the root directory of this project.
```bash
$ mkdir tls
$ cd tls
```#### On Linux:
```bash
$ go run /usr/local/go/src/crypto/tls/generate_cert.go --rsa-bits=2048 --host=localhost
```#### On Mac (assuming you installed Go with brew):
```zsh
$ go run /usr/local/Cellar/go//libexec/src/crypto/tls/generate_cert.go --rsa-bits=2048 --host=localhost
```#### On Windows:
```
> go run 'C:\Program Files\Go\src\crypto\tls\generate_cert.go' --rsa-bits=2048 --host=localhost
```2. `docker-compose up`
3. Go to http://localhost:4000 in your web browser