Skip to content

alenchavez-dev/employee-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧾 Employee Management System (SQL Edition)

A console-based Python application that models Employees and Managers using SQLite for persistent storage.
This upgraded version replaces in-memory lists with a relational database, adds CRUD operations, and includes sample data on first run for instant testing.


πŸš€ Features

  • 🧍 Employees with unique zero-padded IDs and names
  • πŸ‘” Managers with assignable subordinates (one-to-many relationships)
  • 🧠 SQLite database (company.db) for persistent employee and manager data
  • ✍️ Create, Read, Update, and Delete employees directly from the console
  • πŸ”— Assign subordinates to managers with clean JOIN queries
  • πŸ§ͺ Sample managers & employees auto-inserted on first run for easy testing:
    • Alice Johnson β†’ Manager of Carla & David
    • Bob Smith β†’ Manager of Elena
  • πŸ“Š Manager–subordinate teams view with SQL JOIN

🧰 Tech Stack

  • Language: Python 3
  • Database: SQLite (company.db, created automatically)
  • No external libraries β€” runs using only the Python standard library

πŸ“‚ Project Structure

employee-management-system/

β”œβ”€β”€ main.py
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
└── .gitignore

yaml Copy code


▢️ How to Run

git clone https://github.com/alenchavez-dev/employee-management-system.git
cd employee-management-system
python3 main.py

About

Python console app modeling Employees and Managers (inheritance + composition) with zero-padded IDs and left-aligned console output.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages