NOTE: This project has been divided into two modules - one act as a service and provides set of RESTful APIs and is managed by @crypton3535 and other one is this module which only uses the APIs provided by the former.
This repository will contain code for online teacher feedback system.
Manual systems require a lot of paperwork and manpower. Also, there are higher chances of errors in manual work. Therefore, there is a need to use technology to digitalize these manual tasks.
Need of online Teacher Feedback System could be felt from the fact that each semester a huge amount of paper is wasted in form of OMR sheets to fill feedbacks. Also, a large number of faculty members spend a lot of time in collecting these feedbacks from students and then checking and compiling the results of feedback. Our project will be to automate this.
This project is built using Express framework. The frontend is entirely written using React framework.
First you will need to install Node.JS. Windows users can download it from their official site. Linux users can follow the instructions provided on their site.
-
First fetch the dependencies
-
Slow way
$ npm install
-
Faster way, uses
yarn
$ yarn install
-
-
Define some environment variables. This step is important. Do not skip this step.
$ export FEEDBACK_CLIENT_ID=feedback # Registered client_id of feedback-portal on auth server $ export FEEDBACK_CLIENT_SECRET=secret # Issued secret to the feedback-portal by auth server $ export AUTH_URL=example.com # Link to auth server $ export CSSPEC_SECRET=secret # Your secret required to sign cookies $ export REDIRECT_URL=redirect_uri # Redirect URI registered on auth-server $ export SERVER_URL=url # URL of this server $ export IDENTITY_URL=url_of_identity # URL where identity service lives $ export ACADEMIC_URL=url # URL where academic service lives $ export FEEDBACK_URL=url # URL where feedback "service" lives
-
Compile the JSX files
$ npm run build
-
Start the server
$ npm run start
-
Hit http://localhost:3000 to visit the start page
Feel free to contribute the project by doing the following things:
- Remove React from static pages like start page. Just write plain HTML or Jade for it.