Skip to content

Class Dhundo was made with the intention of making it easier for you to generate your timetables in a hassle free, quick and efficient manner without requiring to parse through the long excel sheets provided to you by the university. This repository holds the code for the backend of the routine generation application.

Notifications You must be signed in to change notification settings

Ansh-Sarkar/class-dhundo-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Class Dhundo (Backend)

Class Dhundo was made with the intention of making it easier for you to generate your timetables in a hassle free, quick and efficient manner without requiring to parse through the long excel sheets provided to you by the university. This repository holds the code for the backend of the routine generation application. Here are some useful links that you may want to refer to.

Requirements

  • Flask
  • Python >= 3.9
  • Developed on Ubuntu 22.04

Setting up Virtual Environment and Server


Venv is a tool that creates an isolated environment separate from other projects. Creating a virtual environment allows us to work on a Python project without affecting other projects that also use Python and their dependencies.


Install pip first

sudo apt-get install python3-pip

Then install venv

sudo apt install python3-venv

Now create a virtual environment

python3 -m venv {name_of_virtual_environment}

Activate your virtual environment:

source {name_of_virtual_environment}/bin/activate

Install all dependencies from requirements.txt

pip3 install -r requirements.txt

To deactivate:

deactivate

Run the project using uvicorn by executing the following command

uvicorn main:app --reload

Run Flask project within the virtual environment by executing the following command

flask run

About

Class Dhundo was made with the intention of making it easier for you to generate your timetables in a hassle free, quick and efficient manner without requiring to parse through the long excel sheets provided to you by the university. This repository holds the code for the backend of the routine generation application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published