Skip to content

CianGrimnir/Django-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisite:

Django

Running the application

python3 manage.py runserver 0.0.0.0

APIs

GET /emapi/employees --> Get all the employees

GET /emapi/employee/ --> Get informaton of specific id

PUT /emapi/addemployee --> Put data for an employee with below json format

{
"employee": {
"employee_id" : "22",
"first_name": "Foo1",
"last_name": "Bar2",
"department": "Central2 Tech"
        }
}

Executing unit test

python3 manage.py test

About

practice task for Django application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages