The project deals with specific constraints:
-
There should be no more than one class of teachers at the same time.
-
There should be only one teacher assigned to each class during a lecture.
-
A teacher cannot teach more than one subject to a class.
-
Each subject can be assigned to a class at most one time.
-
Credit hours cannot exceed contact hours.
-
There can be only one lecture of a teacher/ subject in a class per day.
-
The lecture arrangement feature is available to let users decide how multiple lectures of a subject can appear in the timetable.
-
The user can define maximum lectures per day and the working days per week.
Make sure you have the following tools, installed on your system.
Click on the fork button in the top right corner or just click this.
Copy the URL from that green code
button to clone the project.
Open a terminal in your desired directory and run the following command with REPO_URL
replaced by the link you just copied:
git clone REPO_URL
- Make an account on firebase and fill up the .env variables on the frontend.
- Also, download serviceAccountKey.json from firebase project and add it in the
backend/constants
directory.
-
Set path of the first terminal to the root of the project folder, that would have /CS311S20PID08 at the end of the path. This terminal will operate the frontend of the project.
-
For the second terminal, set its path to the backend folder, located in the root directory, or you can initialize its path from the root directory, which will have the same path as of the first terminal and then you can run the following command to set its path to the backend folder.
cd backend
To install the dependencies of both frontend and backend, run the following command in both terminals:
# npm
npm install
# yarn
yarn
Make sure you run the above-mentioned command for both terminals without any errors.
Now assuming that your system has all the dependencies required to run the project, it is now set to run over your system.
Now for the final step, run the following command in both terminals to start the project:
# npm
npm start
# yarn
yarn start
The link for the application will appear in the frontend terminal.
For the next time, you have to follow steps 2 & 4 only.
Make sure you read the contributing guidelines before opening a PR.
In case of any query regarding the project installation, feel free to contact:
- It is © MIT Licensed
- Code of Conduct