A simple web application for managing employee records built with FastAPI and Streamlit.
- Add new employees
- View all employees
- Search and filter employees
- Update employee details
- Delete employees
- Bulk delete operations
- Backend: FastAPI + SQLAlchemy
- Frontend: Streamlit
- Database: SQLite
employee_management_system/
├── backend/
│ ├── main.py # FastAPI app
│ ├── database_setup.py # Database configuration
│ ├── models.py # Database models
│ ├── schemas.py # Pydantic schemas
│ └── crud.py # CRUD operations
├── frontend/
│ └── app.py # Streamlit app
└── README.md
- Clone the repository
git clone <your-repo-url>
cd employee_management_system- Install dependencies
pip install fastapi uvicorn sqlalchemy pydantic streamlit requests pandascd backend
uvicorn main:app --reloadBackend will run on: http://localhost:8000
Open a new terminal:
cd frontend
streamlit run app.pyFrontend will run on: http://localhost:8501
- Email: subha@demo.com
- Password: demo123
- Login with the demo credentials
- Go to "Employee" menu
- Use "Add Employee" tab to add new employees
- View all employees in "View Employees" tab
- Search and filter employees in "Search & Filter" tab
- Delete employees by entering their ID
Once backend is running, visit:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
Subham Maharana
This project is for educational purposes.