Table of Contents
This project will create a web application that will allow administrators to configure slots, add faculties, and allocate courses at specific slots. Students will be able to register for courses by specifying the course ID, slot ID(s), and faculty ID. The application will ensure that only one course can be selected at a specific time slot, and that the selected faculty must be teaching the course at that slot. The application will be built using a relational database (PostgreSQL or MySQL) and will adhere to the OpenAPI schema.
- Install Node.js and npm
- Install PostgreSQL
-
Clone the repo
git clone https://github.com/guptaharsh13/FFCS
-
Change into the directory
cd FFCS
-
Environment Variables
touch .env
For running this project successfully you'll need to create a
.env
file and store your PostgreSQL there like.env.sample
.
Install NPM packages
npm i
Start the app
npm start
Get the STUDENT_AUTH_TOKEN and ADMIN_AUTH_TOKEN
npm run auth
docker-compose up --build -d
Get the STUDENT_AUTH_TOKEN and ADMIN_AUTH_TOKEN
docker exec -it api sh
npm run auth
Now, may access the app on http://localhost:PORT
PORT: You must have already specified in the .env file (3000 by default)
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Harsh Gupta - hg242322@gmail.com
GitHub Link: https://github.com/guptaharsh13
Made with ❤ by Harsh Gupta