Project Name : Django RBAC Employee Management System With API
- Repo : view Main Repo
- Repo Version apiV1 or 1.1.1 : view
- Live host URL : view
Table Of Content
-
Name of project , Domain , Target Audience
-
Purpose of Project
-
Tools and Technologies
-
Project Discription in Detail
-
Challenges & Solution
-
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
- Learning Django and Django Rest Frameword
- Build Rest API and Perform CRUD Operation
- Build Multiple Table and Relation Between between using ORM ( Object Relation Mapping )
- Learning JSON Processing Serialization and DeSerialization
- Building Project Multiple Version
- Version 1.0.1 Basic GUI App
- Version 1.1.1 API version
- Next Version Role Based Access Control / JWT Token in Api
- Role Based Access Control Pending
-
Front-End
Front-End Technologies |
Version |
HTML |
5 |
CSS |
3 |
JS |
ES6 |
Bootstrap |
5.2 |
-
Back-End
Backend-End Technologies |
Version |
Python |
3.10.8 |
Django |
4.2.8 |
Django Rest Framework |
3.44 |
-
DB & Develoyment
Tools |
Name |
Database |
SQL Lite 3 |
Deployement |
PythonAnyWhere |
Project Discription in Detail
Project Building Flow | Steps for Building Project
-
Installing Python and Create Virtual env
-
Django and Django Rest Framework
pip install Django
pip install Django Rest Framework
-
In Django Create Django Project
-
Create APP and According to Versions
-
Create Models Or Database
- Connect Muliple together Using Primary Key and Foreign Key
-
Set-Up Serializer
- For Rest API’s
GET Request
-
Set-Up De-Serializer
- For Rest API’s
POST Request
-
Set Up Views or Controller
-
Set Up URLs or EndPoints
-
Finally All Steps are Done |
Testing… |
Django Architecture

Image Credits goes to Geeks For Geeks
Django Rest FrameWork Architecture

Image Credits goes to bezkoder
Challenges & Solution
-
I was forget to added rest_framework
in the settings.py
INSTALLED_APPS = [
...
'rest_framework'
]
- Please Write Correct Syntax Otherwise Its Raise Major Challenge
-
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
- Every New have advantage of Previous
- My Goal is to be solve every disadavantage and add advantages into new version
- That version 1.1.1 have no RBAC and security but 1.2 will have RBAC feature and jwt for security purpose