A DRF web service to handle employee management
- http://127.0.0.1:8000/bus-emp-count/?business_unit=<BUSINESS_UNIT_NAME>
- http://127.0.0.1:8000/bus-charg-emp-count/?business_unit=<BUSINESS_UNIT_NAME>
- http://127.0.0.1:8000/project-emp-count/?project_name=<PROJECT_NAME>
- http://127.0.0.1:8000/skill-emp-count/?skill_name=<SKILL_NAME>
- http://127.0.0.1:8000/designation-count/
- http://127.0.0.1:8000/employee/
- http://127.0.0.1:8000/employee/project/?project_name=<PROJECT_NAME>
- http://127.0.0.1:8000/employee/add/
- http://127.0.0.1:8000/employee/delete/<EMP_ID>/
pip3 install -r requirements.txt
python manage.py migrate_employee_to_db
python manage.py migrate_project_employee_relation_to_db
python manage.py migrate_projects_to_db
python manage.py migrate_skills_to_db
csv files paths are configured in settings.py with appropriate names
Everytime when a record is inserted into Employee table an that record got inserted into User Table as well