Skip to content

Jackbear8868/NTUEECourseWebsite2021

 
 

Repository files navigation

NTUEECourse2021

2021 年新版臺大電機系預選網站 (https://course.ntuee.org/)

Usage

Contributors

前端:朱哲廣, email: [email protected]

後端:劉奇聖, email: [email protected]

Quick Start (Development mode)

After cloning this repo, put students.json into ./server/database/private-data/, and then execute the following commands.

For the format and generation of students.json, see password generation.

$ npm install
$ docker-compose up -d         # This will watch backend code changes
$ npm run dev-server           # This will run a develop server
$ npm start

Goto http://localhost:3000 to see the website.

Frontend Develop (With Docker)

# start frontend, backend, database
$ docker-compose up -d

To see frontend logs

$ docker logs -f ntueecoursewebsite2021_frontend_1

To reset database

$ docker exec -it ntueecoursewebsite2021_backend_1 npm run database reset

Frontend Develop (Without Docker)

$ npm install
$ npm start
# in another terminal
cd server
docker-compose up -d
cd ..
npm run database reset
npm run dev-server

About

2021 年新版臺大電機系預選網站 (https://course.ntuee.org/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.4%
  • Python 24.4%
  • Other 1.2%