Skip to content

About

GWOC 2025-26 @ SVNIT || Chill-Thrive Project repository

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

52 Commits

Folders and files

Repository files navigation

GWOC 2026

TECHNOLOGIES USED:

Backend: Flask
Frontend: Vanilla HTML, CSS, JavaScript
Database: PostgreSQL
Server Deployment: Render
Database Hosting: Neon

FEATURES:

  1. Error Handlers:
    For example, 404 eorror redirects to our custom erorr page.
Screenshot 2026-01-27 234936
  1. Route Protection:
    Pages that require session (like Appointment Booking page) redirect to login page if user isnt logged in.
Screenshot 2026-01-28 000446
  1. RBAC and Dynamic navigation bar:
    Customers are redirected to "Appointment Booking page" while admin and employees are redirected to 'Admin Dashboard'.
Screenshot 2026-01-28 000704

Only Admin has the access to Add an Employee and can see the option in navigation bar. Screenshot 2026-01-28 000833

  1. Appointment Booking Validation:
    Appointment is only booked if the selected slot on the selected date is not already booked. Screenshot 2026-01-28 000946

A date and time prior to the present cannot be selected while booking.
Screenshot 2026-01-28 001747

SETUP:

  1. Place a .env in root. Populate it values provided in .env.example:
SECRET_KEY =
ADMIN_EMAIL =
ADMIN_PASSWORD =
ADMIN_NAME =
ADMIN_PHONE =
DATABASE_URL =

Admin credentials are used to auto-create an admin record at the time of User table creation. Database is populated with user and Appointment tables when the server runs for the first time.

2. Use a postgresSQL service to get a connection URL and place the value in DATABASE_URL key of .env.

3. Create a virtual environment, activate it anf install the dependencies using the following commands

python -m venv env
env/scripts/activate
pip install -r requirements.txt
  1. Run the server
python app.py

About

GWOC 2025-26 @ SVNIT || Chill-Thrive Project repository

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages