projects

Project Name : Django RBAC Employee Management System With API


Table Of Content

  1. Name of project , Domain , Target Audience

  2. Purpose of Project

  3. Tools and Technologies

  4. Project Discription in Detail

  5. Challenges & Solution

  6. Advantages and Disadvantages


Name of project , Domain , Target Audience

Name Of Project : EMS or Employee Management System

Target Audience : Student ( Build An Project For API) Domain : HR , Hiring Manager , Employee Manger

Purpose of Project

Tools and Technologies

Project Discription in Detail

Project Building Flow | Steps for Building Project

  1. Installing Python and Create Virtual env

  2. Django and Django Rest Framework

    pip install Django
    pip install Django Rest Framework
    
  3. In Django Create Django Project

  4. Create APP and According to Versions

  5. Create Models Or Database

    • Connect Muliple together Using Primary Key and Foreign Key
  6. Set-Up Serializer

    • For Rest API’s GET Request
  7. Set-Up De-Serializer

    • For Rest API’s POST Request
  8. Set Up Views or Controller

  9. Set Up URLs or EndPoints

  10. Finally All Steps are Done Testing…

Django Architecture

One Numan  Django Rest Framwork  Employee Management System Project

Image Credits goes to Geeks For Geeks

Django Rest FrameWork Architecture

One Numan  Django Rest Framwork  Employee Management System Project

Image Credits goes to bezkoder


Challenges & Solution

  1. I was forget to added rest_framework in the settings.py

    • Please added rest_framework in the settings.py

    • After Install Django Rest Framework

    • Go the Project_dir/Project_dir
    • There is settings.py (One and Only Setting.py File in The Django Project)
    • Inside the File There and List
    
       INSTALLED_APPS = [
          ...
          'rest_framework'
       ]
    
    • Please Write Correct Syntax Otherwise Its Raise Major Challenge
  2. ThumbRule Before Write Code First Check Correct File

    • In Django multiple files have same name .
    • When Your Write or Edit File
      • Please Check your file name and Its Parent Directory_
      • Then Write your code
      • If your forget the ThumbRule and do wrong . Its Hurts

Advantages and Disadvantages