Skip to content

Website for the Carnegie Mellon Informatics and Mathematics Competition

Notifications You must be signed in to change notification settings

CMU-Math/website

Repository files navigation

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

About

Website for the Carnegie Mellon Informatics and Mathematics Competition

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages