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.
- π§ 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
- Language: Python 3
- Database: SQLite (
company.db, created automatically) - No external libraries β runs using only the Python standard library
employee-management-system/
βββ main.py
βββ README.md
βββ LICENSE
βββ .gitignore
yaml Copy code
git clone https://github.com/alenchavez-dev/employee-management-system.git
cd employee-management-system
python3 main.py