Skip to content

TreeHacks/root

Repository files navigation

Root

Hackathon registration framework. Used in TreeHacks since 2019. See it in action at https://root.treehacks.com

Local setup

  1. Make sure you have MongoDB installed. Make sure mongod is in your PATH and that the correct data folder exists (C:\Program Files\MongoDB\data\db on windows, /data/db on MacOS).
  2. Download the appropriate .env file with the proper environment variables set, and put it in your working directory.
  3. Run npm install
  4. Run npm start
  5. Open http://localhost:9000 in your browser.

Running tests

Application will deploy to Heroku only if tests pass. Run npm test to run tests.

Run npm test -- -u to update snapshots.