Skip to content

Instituto-Maua-de-Tecnologia/20242-Maua-CICSI1-Fontys-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instituto-Maua-de-Tecnologia-20242-Maua-CICSI1-Fontys-backend-B

This repository hosts the backend code for the collaborative scheduling application developed by Instituto Mauá de Tecnologia and Fontys. This application allows the coordinator at Mauá to generate class schedules based on the availability of teachers.

Installing

  1. Create a virtual env

python -m venv venv

  1. Use the virtual env

To active run: source venv/bin/activate

To deactive run: deactivate

  1. Install the required packages

pip install -r requirements.txt

  1. Configure Environment variables

Copy the .env.EXAMPLE.env to .env

Open the file and update the values

Running the project

Make sure you are inside of the virtual env as described in step 2 in the "Installing" chapter

python main.py

Branching

We use specific branches for different stages and types of work. Here’s an overview:

Main branches

  • Dev: The development branch used as a staging area
  • Prod: The production branch holding the latest stable version

Work branches

For ongoing work, create branches based on the task type:

  • feature/ - For new features

Example: feature/generate-schedule

  • bug/ - For bugfixes

Example: bug/fix-login-error

  • chore/ - For refactoring, optimizing, or making small tweaks to existing code/features.

Example: chore/update-readme

Use lowercase kebab-case for naming branches, with the task type followed by a descriptive name.

Pull requests

  1. When you've completed work in a feature, bug or chore branch create a pull request to merge it into dev
  2. Assign the Ready For Review label to the pull request.
  3. Assign a team member who did not contribute to that branch as a reviewer. The reviewer should verify the changes before they can be merged.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages