godo

module
v0.0.0-...-96db308 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2022 License: MIT

README

Go Report Card

Godo

A basic Todo app written with Go. Based on the Let's Go book by Alex Ewards.

Example screenshot

godo

How to Run

The easiest way to run this is with docker-compose. Please see the official documentation 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.

    $ mkdir tls
    $ cd tls
    
    On Linux:
    $ go run /usr/local/go/src/crypto/tls/generate_cert.go --rsa-bits=2048 --host=localhost
    
    On Mac (assuming you installed Go with brew):
    $ go run /usr/local/Cellar/go/<version>/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

Directories

Path Synopsis
cmd
web
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL