Website luyện tập tiếng nhật thông qua game
- Docker >= 20.10
- Docker compose plugin
Sau khi clone project thực hiện những bước sau:
- Khởi động docker container:
make devup
- Cài đặt các package cần thiết:
make devinstall
- Tạo database:
make prisma-generate
make prisma-deploy
make prisma-seed
-
Tạo một dự án firebase và thêm các thông tin cấu hình tướng ứng vào 2 file:
./client/.env
và./server/.env
-
Lấy gmail app key và thêm vào file
./server/.env
-
Tạo private key cho jwt và thêm vào file
./server/.env
bằng câu lệnh:
make genkey
- Chạy dự án:
make devrun
- Cấu trúc thư mục:
├── .github # Github actions
├── client # Frontend
├── deploy # Deploy Dockerfile
└── server # Backend
- Domain truy cập:
- Client: http://kanjigami.localhost:3000
- Server: http://kanjigami.localhost:3000/api/
- Traefik: http://traefik.localhost:3000
This project is licensed under the MIT License.