Skip to content

Simple web app based on Django for getting details of GitHub users, models for admin panel added.

Notifications You must be signed in to change notification settings

absingh31/Github_user_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github_user_API

A simple Django framework based project to -

  • Search Github Users using username and retrieve the user's data
  • Monitor this app using Django admin panel
  • User_info model includes organised table with a search bar where you can search on basis of name of the user and date when the user was searched
  • Models added for API requests per day/month/year.

Prerequisites

You will need Django framework to run this project smoothly. Go to your terminal and execute the following command or visit Django website.

pip install django

or

pip3 install django

How to run the project

Step by step explanation of the project -

  • Enter the project directory.
  • Make migrations for the project -
python manage.py makemigrations
  • Migrate the changes -
python manage.py migrate
  • Create SuperUser-
python manage.py createsuperuser

Provide username, email and password to login!
Default added = username - admin | password - Abcd@1234
  • Run the server -
python manage.py runserver

Usage

  • Add username in search bar and hit 'Make Request' to retrieve user data.

Screenshot

  • Access http://127.0.0.1:8000/admin on your browser for Admin panel and authenticate.
    Screenshot

  • Choose 'User_info' to access user data table to see all API calls.

Screenshot


* Use Search bar to filter data according to fields given in table.

Screenshot

Authors

Acknowledgments

  • StackOverFlow xD
  • Django Documentation FTW

About

Simple web app based on Django for getting details of GitHub users, models for admin panel added.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published