Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Latest commit

 

History

History
16 lines (13 loc) · 1.2 KB

File metadata and controls

16 lines (13 loc) · 1.2 KB

CMIMC Website

Website for the Carnegie Mellon Informatics and Mathematics Competition.

Project Structure

The project runs a node server that uses MongoDB. The frontend is based on React and Redux. The styling is done with Materialize CSS.

Developer Set Up

  • Start the MongoDB server with mongod
  • Populate the .env file with the fields DB_URL for your mongo server, JWT_SECRET for your json web token private key, PORT for your the port on which you run your node server, and REGISTRATION (true/false) to specify whether registration is open or not
  • Install dependencies with npm install
  • Build the react files with npm run watch (npm run build for production)
  • Start the server with npm run dev (npm start for production)

For Administrators

  • Registration is turned on/off by setting the environment variable REGISTRATION to the string (true/false)
  • Once registration is turned off, the database can be reset (delete all students and teams from the database) by accessing www.cmimc.org/admin, if you have admin status