Skip to content

melwinmpk/Django_UseractivityAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django_UseractivityAPI

Useractivity is an API for the platform where Admin can keep a track of the daily basis user activity.

API is built uisng (Django, Django REST framework, serializers, ORM and sqlite3)

Screenshots and Link

Buisness Logic

Admin Work Flow

  • Admin can create new User
  • Add the activity period to the respective User
  • Admin can list all the Users along with the activity perion
  • Admin can even list all the activity period of the selected Users
  • Admin can Modify the Users Data
  • Admin can Modify the activity period of the selected Users
  • Admin can Delete the Users Data
  • Admin can Delete the Selective activity period

Dummy Creation

Note

API ENDPOINTS

User

User Create and Listing (Creation Post method and listing Get Method)

User Delete and Update (Deletion Delete method and Update Put Method)

  • EndPoint:https://useractivity-restapi.herokuapp.com/api/users/userserializers
  • Data that needed to be passed for User Update for User Delete only id is enough
    			{
    				"id":"99",
    				"real_name": "Tom",
    				"tz": "America/Los_Angeles"
    			}
                        

Activity Period

Activity Period Create and Listing of the User (Creation Post method and listing Get Method)

  • EndPoint:https://useractivity-restapi.herokuapp.com/api/users/usractivitylistserializers
  • Data that needed to be passed for User Activity Creation
    						{
    							"userid": "90",
    							"start_time": "Feb 3 2020  1:33PM",
    							"end_time": "Feb 3 2020 1:54PM"
    						}
                        

Activity Period Delete and Update (Deletion Delete method and Update Put Method)

  • EndPoint:https://useractivity-restapi.herokuapp.com/api/users/usractivityserializers
  • Data that needed to be passed for User Update for User Delete only id is enough
                            {
    							"id":"99",
    							"real_name": "Tom",
    							"tz": "America/Los_Angeles"
    						}
                        

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages