Git Product home page Git Product logo

Finals Club (FC)

This is the source code repository for finalsclub.org.

FC is a 501(c)(3) non-profit open education project dedicated to helping college students collaborate, learn, and share their knowledge freely online.

Additional resources

[[ discussion groups, chat rooms, etc. related to FC and FC sources ]]

Quick install

Requirements:

  • A typical Linux server (circa 2011)

  • Node.js (Version 0.4.10 or later) More ...

  • MongoDB (Version 1.8.2 or later) More ...

  • forever

    $ pwd /home/you $ install git $ install node $ git clone [email protected]:/finalsclubdev/FinalsClub fc $ cd fc $ git submodule init $ git submodule update

    [[ flesh this out with correct commands - reference util scripts - fix util scripts ]]

System components

The system consists of these main parts:

  • The website
  • The collaborative, real-time editor
  • The back channel

Most of the system is written in Javascript and executed by the Node.js runtime.

Source Code

The Collaborative Real-time Editor

The editor is an embedded editor called Etherpad-Lite (EPL). It provides the ability for multiple people to simultaneously edit a single document. The documents in FC are the notes for a specific lecture.

EPL is installed as a git submodule to the main FC source tree with the name "etherpad-lite".

The Back Channel (BC)

The back channel portion of FC is implemented with "BC". BC allows the note takers, or anyone else who is just observing, to suggest questions for the lecturer, and vote on each other's questions. It also allows people to post commentary.

Although the actual BC code was written for FC, it has been extracted from the original FC source and turned into an independent open source project.

BC is installed as a git submodule to the main FC source tree with the name "bc".

The Surrounding Website

This is the FC website, which brings together the other two elements into a single website that serves it's stated purpose (above). This would be the home page, privacy policy page, the page that lists the participating schools, the sub pages containing lists of lectures and note taking sessions, and the core page where EPL and BC are both found along side each other.

Several node modules are leveraged to to make the basic website work:

[[ more detail about website generally, then defer to src comments ]]

Database

The database is MongoDB. MongoDB is not a relational database, but rather a noSQL or "document/object" database. Data is stored as structured objects versus tables and rows. (More about MongoDB)[http://mongodb.org].

Collections in the database

  • archivedcourses [[ schema needed ]]
  • archivednotes [[ schema needed ]]
  • archivedsubjects [[ schema needed ]]
  • courses [[ schema needed ]]
  • lectures [[ schema needed ]]
  • notes [[ schema needed ]]
  • posts [[ schema needed ]]
  • schools [[ schema needed ]]
  • sessions [[ schema needed ]]
  • users [[ schema needed ]]

[[ stuff ]]

[[ notes about scaling/replication/etc. ]]

AWS Infrastructure

The actual finalsclub.org servers run in the cloud on Linux servers, using Amazon Web Services (AWS). Scaling is accomplished by adding additional servers to a load balancer.

NOTE: The scaling system is automatic; new servers have to be added manually, but it it's very easy. NOTE: Automatic fail-over of the database is not yet in place.

NOTE: There are currently 2 running server instances. One for the live server and one for testing.

Data is stored in a MongoDB server running on the same AWS instance as the website. Data is backed up daily to the durable AWS S3 system. One backup of the database is kept for the most recent 30 days, one for each of the most recent 12 months, and one for every year.

AWS Cloudwatch is used to monitor the servers. When the configured conditions warrant attention, notices are sent to "[email protected]".

NOTE: There are currently 2 monitors set up:

  • available disk space
  • CPU utilization

NOTE: We still have an ongoing issue with the EPL server hanging up. This is being worked on.

Finals Club's Projects

ajax-librarian icon ajax-librarian

A Flask application to accept document/book uploads, convert them to HTML, and serve them; all over ajax.

annotator icon annotator

Annotation tools for the web. Select text, images, or (nearly) anything else, and add your notes.

django-ajax-uploader icon django-ajax-uploader

Ajax-based, multiple-upload django class with pluggable backends, and subclass goodness. Customized for use with KarmaNotes.org

fc_tools icon fc_tools

Tools used in deployment of Finals Club apps and services

googledriver icon googledriver

A ruby gem for processing word and other common document formats to html using google drive's api

harvardcourses icon harvardcourses

Harvard University courses parser. Parses a csv of Harvard University courses and saves to a mongodb instance

karmaserver icon karmaserver

A RESTful document processing server that accepts documents and uses Google Drive to process and return html content

knotes icon knotes

The software platform that _will_ run KarmaNotes

openshakespearedata icon openshakespearedata

Scripts on converting Moby's XML formatted Shakespeare works and Finals Club's annotations data to work with the Annotator plugin using Mongodb/Mongoose datastore.

pdf2htmlex icon pdf2htmlex

Convert PDF to HTML without losing text or format.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.