Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 2.3 KB

README.md

File metadata and controls

40 lines (29 loc) · 2.3 KB

Slidd.it

Slidd.it - lectures at your pace is an intuitive and lightweight web application where users can give feedback to the lecturer regarding the pace of the lecture. The user does this by sliding a slider and can see the avarage of all users slider values in the 'meter'. The lecturer will adjust the pace of the lecture based on the meter.

If the lecture is going too fast, set the meter to low and the lecturer will explain the concept more throughoutly and slowly, and the other way around. You can check out the application live at Slidd.it

This application was a school project in the course TDT4140 at the Norwegian University of Science and Technology.

Requirements

Setup

  • After making sure you have all the requrements, run: git clone https://github.com/enstulen/Slidd.it.git in the console
  • This will make a folder called 'Slidd.it' in your system
  • While in this folder, run npm install to get all dependencies

Running

To run the application locally, type meteor into the console. The application is now running at localhost:3000.

Architecture

Routing with Flow router, unit tests with Mocha and Jest and snapshot tests with react-test-renderer and linting with ESLint 6 using Airbnbs rules.

Note

Every two minutes a crone job runs on the server, deleting any inactive users and any active lectures without an active user. Because of this we have an example class which is always present, regardless of the number of active users.

Testing

We use two frameworks for testing:

Mocha Jest
meteor test --driver-package practicalmeteor:mocha npm test