a selfhosted To-do List Manager built with Next.js, Chakra-UI and MySQL.
To start with, you must install Docker and docker-compose on your computer.
First, create a docker-compose.yml
file with the following content:
version: "3"
services:
web:
build: .
ports:
- "3000:3000"
restart: unless-stopped
db:
image: mysql/mysql-server:8.0
restart: unless-stopped
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: selfremind
MYSQL_USER: selfremind
MYSQL_PASSWORD: selfremind123
volumes:
- dbdata:/var/lib/mysql
- ./my.conf:/etc/mysql/my.cnf
volumes:
dbdata:
Then, run the command to start the server:
docker-compose up -d
Wait a minutes and open http://localhost:3000 with your browser to see the result.
By default, the username is admin
and the password is admin
.
This is a side project built by Jacky Fan - a university student in HK.
The following tech is used in this project.
- Next.js - the frontend and backend framework of this project.
- Chakra-UI - the UI solutions of this project.
- MySQL - the database of this project.
You can check out my dirty code in Github - your feedback are welcome!