Skip to content

AngelJavierSalazar/django_employee_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django_employee_api

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

  1. Create a virtual environemnt and pip install dependencies in the requirements.txt file
  2. Run makemigrations and migrate commands and create admin superuser using the standard Django commands, e.g., python manage.py "command".
  3. Load the fixture data using the command: "python manage.py loaddata fixturedata.json" in your terminal.
  4. Start the server and point your browser to the URL shown as per instructions in the terminal.
  5. Endpoints for entering data to create new employee and also view all employee records are /api/create and /api/employees respectively.

Notes:

  1. A function to format and ingest fixture data can be accessed at
    https://github.com/AngelJavierSalazar/django-json-fixture-converter

  2. Application of pandas groupby and other functions using employee data
    https://github.com/AngelJavierSalazar/pandas_employee_analysis.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published