Skip to content

v1.1.1

Latest
Compare
Choose a tag to compare
@one-numan one-numan released this 19 Dec 16:37
· 18 commits to main since this release

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