Skip to content
/ treel Public

Treel is a minimalistic learning management system (LMS).

License

Notifications You must be signed in to change notification settings

NimJay/treel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Treel Logo

Treel

Treel is a minimalistic learning management system that allows instructors to distribute class content to students.

Description

A user of Treel is either an Instructor or a Student. Instructors create Class pages which Students can Follow. Each Class may have multiple Instructors who can add/edit Class Content (e.g., assignment handouts). Class pages can be made public (allowing anyone to Follow), or private (allowing only a specified list of Students to Follow).

File Structure

The two lists below detail key folders/files of this project:

Folders

  • other/ Miscellaneous files.
  • src/ The source code.
  • src/back/ Back-end code.
  • src/front/ Front-end code.
  • src/public/ Files to be served by the server.
  • src/public/css/ All CSS to be served.
  • src/public/img/ All images (excluding favicon.png) to be served.
  • src/public/js/ All JavaScript to be served.
  • src/sass/ All SASS files.

Files

  • src/back/Server.js Run this to start the server.
  • src/front/Treel.jsx This is compiled intro treel.js via webpack.
  • src/public/css/treel.css Main CSS file (result of compiling treel.scss).
  • src/public/js/treel.js Main JavaScript file (result of compiling Treel.jsx).
  • src/sass/treel.scss This is compiled into treel.css via node-sass.

Run On Your Machine

To run Treel on your machine:

  1. Install Node (with npm) and MongoDB.
  2. git clone https://github.com/NimJay/treel.git
  3. cd treel/src/
  4. npm install (This may take a while.)
  5. Configure back/Config.js as needed.
  6. node back/LoadData.js to load initial MongoDB data.
  7. npm run develop to compile SASS+ES6+JSX and run server.
  8. touch sass/treel.scss to trigger a SASS compilation.

Releases

No releases published

Packages

No packages published