Skip to content

Releases: one-numan/django-RBAC-Employee-Management-System-With-API

v1.1.1

19 Dec 16:37
Compare
Choose a tag to compare

Welcome to Coder Its OneNuman!

Its django-RBAC-Employee-Management-System-With-API

Its version1.1.1 -

Hope Your Doing Great

  • What I Built in this Version .
  1. API
  • No Authentication /No Token Required

  • Perform CRUD Operation are :

  • GET ,

  • POST,

  • PUT,

  • PATCH ,

  • DELETE

  • Using DRF ( Django Rest Framework )

  • Provide Better UI for REST's CRUD Operations

  1. Database
  • Added a 500+ Employees Data ( Dummy Data )

  • DB have 3 Tables

  • Employee2

  • Department2

  • Role2

  • Note table_name 2 Represent , Its Second Table

  • *These Names tables Already Exist so Created New Table with ends With 2*

Table of Contents

If your README is long, add a table of contents to make it easy for users to find what they need.

About

Project Name Employee Management System
Version 1.1.1

Its a Very BASIC REST API WITH NO Authentication


Modules / Library Name Version
Python 3.10.8
Django 4.2.8
Django Rest Framework New 3.14.0
Sqlite 3.44

Installation

  1. Clone this Repo

  2. Install Python3

  3. Installing Required Python Modules from File Requirements.txt

  • Command pip install -r requirements.txt
  1. Installed IDE like VSCode or Pycharm

High Level Design

Major Steps

  1. Install Django & DRF

  2. Create New App

  3. Set-Up Django Models

  4. Set-Up Serializers

  5. Set-Up Views

  6. Set-Up URLs

  7. Test Your API

Run this Project

Django-Rest-Framework GUI

  • Home Page API Root Page

image

  • Employee2 's API

image

  • Role2 API Page

image

  • Department 2 API

image

POST MAN

  • GET Operation

  • Fetch Single Employee Using Employee ID

image

  • GET Operations - 500 Employee Data

image

  • POST Operation

  • image

  • PUT Operations

image

  • PATCH Operations

image

v1.0.1

11 Dec 18:31
949250b
Compare
Choose a tag to compare

Welcome to Coder Its OneNuman!

Its django-RBAC-Employee-Management-System-With-API version1.0.1

Hope Your Doing Great

URL : https://github.com/one-numan/django-RBAC-Employee-Management-System-With-API/tree/v1.0.1

Description

In this Project I built Personal Project in Professional Ways .
Follows SDLC - Software Development Life Cycle structured process for Building this Project.

  1. Planning and Requirement Analysis

  2. Defining Requirements

  3. Designing Architecture

  4. Developing Product

  5. Product Testing and Integration

  6. Deployment and Maintenance of Products
    This Will be Applied on Each Version


  • Purpose/Learning (Its My Own Options Not is SDLC , Learning Django and build an apps Gradually improve in the version )
    • Up Skills my Knowledge's in Django
    • Build RBAC Role Based Access Control ( Each Users have different Power according to their Roles )
      • I was Build RBAC in Flask and But not in Django , So try and using Different approach
    • Building A Multiples Theme 2 - UI & UX
      • Use 2 Different Themes
        • Basic Standard Theme
        • Neomorphism Theme (Will Including Version 1.3.0 , Futuristic Themes )
    • Build WebPage and Build CRUDS API that Return JSON ( Host in Live Later use this API in Android phone )
    • Use 500 + Peoples Data (No Real) in the DB (SQLite - RDBMS )

Table of Contents

If your README is long, add a table of contents to make it easy for users to find what they need.

About

Project Name Employee Management System
Version 1.0.1
Its a Very BASIC App as its Version

Modules / Library Name Version
Python 3.10.8
Django 4.2.8
Sqlite 3.44
HTML 5
CSS 3
Bootsrap 5.2

Installation

  • Clone this Repo
  • Install Python3
  • Installing Required Python Modules from File Requirements.txt
    • Command pip install -r requirements.txt
  • Installed IDE like VSCode or Pycharm

Run this Project

  • I assumed the Clone and Set Every thing
  • image
  • This is the Project Directory
    • May be your scared , But Don't worry
  • There is Folder EmployeeManagementSystem
    • Go Inside this Folder their is File
      • manage.py (its is like Soul of Your Project )
      • Lets Run Command python3 manage.py runserver
      • This Will Run Your Project in your Computer
      • If Project is Running Successfully, You will get an URL of Project
      • If Any Error , Don't Worry Troubleshoot that.

Designing Architecture


Web Pages : Build CRSD - CREAD , READ , SEARCH , DELETE .

Home Page

  • In this Home Page
    • image
    • We Have 4 Buttons Each Button Redirect to Each Page
      • Add Employees
      • Delete Employees
      • View All Employees
      • Filter An Employee ( Search an Employee )

Add Employees

  • In this Page
    • image
    • We Have A Input Field are :
      • First Name
      • Last Name
      • Salary
      • Dept
      • Role
      • Bonus
    • Button - Create New User

Delete Employees

  • In this Page
    • image
  • Remove An Employees
    • Its Select List
    • Select and Hit Button
    • It will Delete that Employee

View All Employees

  • In this Page
    • image
    • List Of All Employee Fetch From DB

Filter An Employee

  • In this Page
    • image
  • Enter the Employees
    • Its Should Be First or Last or Both
    • If the String Match then It will In Resume in New
      • All Founded Employees are
      • image