Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee Manager

A Flask-based web app to manage employee data, PTO requests, and scheduling for internal company use.


Getting Started

1. Clone the Repository

git clone https://github.com/afabiku/Database-Design.git
cd Database-Design

2. Set Up Virtual Environment

On Windows:

python -m venv venv
venv\Scripts\activate

On macOS/Linux:

python3 -m venv venv
source venv/bin/activate

3. Install Dependencies

pip install -r requirements.txt

Running the App

python run.py

Then open your browser and go to:
http://localhost:8080


Database

To set up the database schema, run the SQL file in /sql/tables.sql using any MySQL-compatible database.


Project Structure

app/
├── routes/          # Flask Blueprints
├── static/          # CSS files
└── templates/       # HTML templates

sql/
└── tables.sql       # Schema for MySQL

config.py            # App configuration  
run.py               # Entry point for the app  
requirements.txt     # Python dependencies

Notes

  • Configuration settings are in config.py
  • HTML templates are in app/templates/
  • Styling is in app/static/style.css

About

ccn

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages