Skip to content

Employee Management System, Whare perform of basic CRUD operations and add here functionalities like Search, Shorting, Top-loading-bar etc

Notifications You must be signed in to change notification settings

BableshAAzad/employeecrud

Repository files navigation

🚗👨‍🎓🏠 Employee CRUD Application BableshAAzad.com

This application allows you to perform basic CRUD operations, as well as filter, sort, and search employee data. It is built using ReactJS+Vite and stores data using a Dummy JSON server.


🏠 Features:

  • Perform basic CRUD operations.
  • Sort employees based on new to old, old to new, a to z, z to a.
  • Search employees by name.

🧑‍💻 Technologies Used:

ReactJS+Vite react-router-dom react-top-loading-bar Bootstrap 5 JavaScript HTML CSS


💻 How to Use the Source Code:🧑‍💻

  1. Download the main branch as a zip file.
  2. Import the project into your IDE and ensure Node.js is installed.
  3. In the root directory, open a command prompt and run: npm install
  4. To store data, create a separate folder where you want to keep your data. Open this new folder in the command prompt and enter npm install json-server. For more information, visit JSON-Server.
  5. Inside your database folder, create a file named db.json.
  6. Add the following content to your db.json file:
   {
     "employeedb": []
   }
  1. In the root directory of your database folder, open a command prompt and enter: npx json-server db.json.
  2. Your dummy database server is now ready to use. See the image below for the server running view 👇.
  3. Now, your ReactJS+Vite project is ready to use. In the root folder of your ReactJS+Vite application, open a command prompt and type: npm run dev

📝 Examples UI

🏠 JSON server running view 👲

cmd

Response:

{
"employeedb": [
  {
    "id": "e0ca",
    "firstName": "BABLESH",
    "lastName": "AAZAD",
    "email": "aazadbablesh@gmail.com",
    "mobile": "8319316077",
    "age": "28",
    "address": "Benglore India",
    "gender": "male"
  },
  {
    "id": "123d",
    "firstName": "Durgesh",
    "lastName": "AAZAD",
    "email": "durgesh@gmail.com",
    "mobile": "7898300817",
    "age": "32",
    "address": "Tundri Chhattisgarh India",
    "gender": "male"
  }
]
}

🏠💻 Home Page 👲

home


🔍 Search Employees 👨‍🎓

search


✂️ Sort Employees 🔍

sort


➕ Add Employee 👲👜

add


✒️📝 Update Employee 👩‍🦳👨‍🦳

update

About

Employee Management System, Whare perform of basic CRUD operations and add here functionalities like Search, Shorting, Top-loading-bar etc

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published