Code Monkey home page Code Monkey logo

examhub's Introduction

examhub

A website that collects various past exams, developed and managed by NTNU CSIE.

Get Started

  1. 📦 Clone this project.
  2. 🔒 Set files: .env & oauth2.keys.json (google oauth2) under /server/src/config.
    # .env example
    NODE_ENV=___________
    SECRET=______________________________
    MYSQL_ROOT_PASSWORD=________
    MYSQL_USER=________
    MYSQL_PASSWORD=________
    MYSQL_DATABASE=________
    DB_HOST=db
    DB_PORT=3306
    SENTRY_DSN=________________________________________
    
  3. 🚀 Run Server.
    • development (run at localhost:8080)
    docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d
    
    • production
    docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
    

examhub's People

Contributors

bogay avatar sophie8909 avatar uier avatar wilsonjih avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

examhub's Issues

fix type

目前 client ts 編不過

有一些地方偷懶寫了 any

Can't get id of new created resource

Describe the bug
After inserting a row of new data, we couldn't find a way to get its primary key which is auto-incremented by mysql.

Expected behavior
We have method that can fetch the pk and then response to client side.

待補功能

  • PATCH /exam/{docId}
  • permission handling
  • ranking
  • role changing

vote api

改寫目前的 upvote, downvote

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.