command
module
Version:
v0.0.0-...-1e2a79c
Opens a new window with list of versions in this module.
Published: Sep 2, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Todo List
Basic todo backend powered by gorilla/mux 🦍
Production
-
Build a docker image
docker build -t todolist .
-
Run the docker image you just built
docker run -p 3000:80 todolist
Development
-
Migrate the database
mkdir -p sqlite
goose -dir migrations sqlite3 sqlite/todolist.db up
-
Create a .env
file with the following content
DB_PATH=sqlite/todolist.db
BE_HOST=0.0.0.0
BE_PORT=3000
-
Run the app in dev
mode
MODE=dev go run main.go
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.