Partial CRUD api views and serializer - for creating new employee and view all employees
Templates to work with views for each CRUD - TBC
Filters and analytics - TBC
INSTALLATION
- Create a virtual environemnt and pip install dependencies in the requirements.txt file
- Run makemigrations and migrate commands and create admin superuser using the standard Django commands, e.g., python manage.py "command".
- Load the fixture data using the command: "python manage.py loaddata fixturedata.json" in your terminal.
- Start the server and point your browser to the URL shown as per instructions in the terminal.
- Endpoints for entering data to create new employee and also view all employee records are /api/create and /api/employees respectively.
Notes:
-
A function to format and ingest fixture data can be accessed at
https://github.com/AngelJavierSalazar/django-json-fixture-converter -
Application of pandas groupby and other functions using employee data
https://github.com/AngelJavierSalazar/pandas_employee_analysis.git