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)
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 |
You must modify docker-compose.yml
for configuration.
docker-compose up -d
go run main.go
- gin - Web framework
- viper - Configuration management
- logrus - Log
- gin-cors - CORS
- websocket - WebSocket
- mongo-driver - MongoDB Driver
- crypto - Password encryption
go test ./...