Coder Social home page Coder Social logo

murphy-cthsu / ntueecoursewebsite2021 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ntueeinfodep/ntueecoursewebsite2021

1.0 0.0 0.0 19.83 MB

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

JavaScript 74.37% Python 24.38% CSS 0.12% HTML 0.73% Dockerfile 0.40%

ntueecoursewebsite2021's Introduction

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

ntueecoursewebsite2021's People

Contributors

mecoli1219 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.