Treel is a minimalistic learning management system that allows instructors to distribute class content to students.
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).
The two lists below detail key folders/files of this project:
- 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.
- 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
.
To run Treel on your machine:
- Install Node (with npm) and MongoDB.
git clone https://github.com/NimJay/treel.git
cd treel/src/
npm install
(This may take a while.)- Configure
back/Config.js
as needed. node back/LoadData.js
to load initial MongoDB data.npm run develop
to compile SASS+ES6+JSX and run server.touch sass/treel.scss
to trigger a SASS compilation.