Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 1.93 KB

README.en.md

File metadata and controls

66 lines (44 loc) · 1.93 KB

NoToDo Backend

Go Report Card

NoToDo!!!,pronounced /nɒt tʊ duː/,Not To Do, is a web-based todo list application that supports multiple users, multi-device synchronization (WIP).

简体中文 | English

Online Demo : NoToDo.akagiyui.com(WIP)

Quick Start

You need to modify the configuration file config.yaml or environment variables before running.

export MONGO_URL=<YOUR_MONGO_URL>

You can also save the environment variables in a .env file.

MONGO_URL=<YOUR_MONGO_URL>

Supported environment variables and configuration items are as follows:

Environment Variables Configuration Default Commentary
SERVER_HOST server.host 0.0.0.0 Listening Host
SERVER_PORT server.port 8888 Listening Port
MONGO_URI mongo.uri mongodb://localhost:27017 MongoDB URI
LOG_LEVEL log.level info Log Level

Docker

You must modify docker-compose.yml for configuration.

docker-compose up -d

Source

go run main.go

Development

Dependencies

Test

go test ./...