/interstellar

Primary LanguageJavaScript

Interstellar

pic of interstellar

What is Interstellar

If you are a MIT student, check us out at https://www.interstellar.live ! (It requires MIT authentication to view) Interstellar is a webapp created by MIT students (Akshaj, Daniel, Vivek, and Guang) for MIT students!

We started in January 2020, and the initial version was a site where you could join classes, see who else is in your class, as well as create groups with your friends to see what classes your friends are taking!

We upgraded the site in Fall 2020 to include (in master branch):

  • Share classes: share what classes you’ve pre-registered for within group pages and see what other people are planning on taking.
  • PSET sessions: Join a Gather.town lounge while you’re working on a class’s PSET
  • Share resources: share useful links, study guides, and class due dates
  • Student-only forum: ask questions in a forum related to your class or group, or just to post memes that aren’t Piazza-friendly

Currently, we axed some features and the site now lets you see the courseroads (what MIT courses your friends are planning on taking/have taken in past and future semesters) of your friends, as well as see who you will share classes with.

Development

Installing

Requirements

Getting it up and running

Server

  1. From repo root, install packages with npm install
  2. Create the directory for the database: mkdir mongodump-test-db
  3. Start mongodb with mongod --dbpath <path_to_repo_root>/mongodump-test-db
  4. Create a .env file in the repository root, and place the following in it:
ATLAS_SRV="mongodb://127.0.0.1:27017"
DATABASE_NAME="test"
FIREROAD_LINK="https://fireroad-dev.mit.edu/"
MULESOFT_CLIENT_ID="your client ID goes here, get it from https://anypoint.mulesoft.com/exchange/applications/"
MULESOFT_CLIENT_SECRET="your client secret goes here"
  1. In another terminal, run npm start

Client

  1. From repo root, run npm run hotloader to start a server providing the client
  2. Navigate to the indicated address (probably http://localhost:5000/)