Sofianct / php-employee-management-v1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#html #css #js #dom #JSON-server #JSON #PHP #Bootstrap 5

 

Employee Management System

 

Employee Management System

A fast, simple, elegant & powerful employee management system application powered by HTML, CSS, JS Vanilla.

Add, edit and remove employees from the application in an easy way.

Automatic logout after 10 minutes (session expired).

 

Preview

image

 

Gold sponsors 🥇❤️

 

Table of contents

Getting started

First of all, you must launch the local API server created with JSON server to be able to fetch the data to the blog web page.

npm start

Also when doing requests, it's good to know that:

  • If you make POST, PUT, PATCH or DELETE requests, changes will be automatically and safely saved to db.json using lowdb.
  • Your request body JSON should be object enclosed, just like the GET output. (for example {"name": "Foobar"})
  • Id values are not mutable. Any id value in the body of your PUT or PATCH request will be ignored. Only a value set in a POST request will be respected, but only if not already taken.
  • A POST, PUT or PATCH request should include a Content-Type: application/json header to use the JSON in the request body. Otherwise it will return a 2XX status code, but without changes being made to the data.

 

What can you do?

 

  • Add new employees to the employees JSON database.
  • Update employee personal data.
  • Remove employee from employees JSON database.
  • Add profile images of new employees using JSON SERVER API.

 

Technologies

  • HTML HTML Icon
  • CSS CSS Icon
  • JAVASCRIPT VANILLA JS Icon
  • JSON SERVER
  • BOOTSTRAP 5 BT Icon
  • PHP PHP Icon

 

Team

 

Links

Video

Video Demo

 

Third-party tools

 

Linkedin

linkedin Sofía Romera

linkedin Alicia Cembranos

About


Languages

Language:JavaScript 46.3%Language:PHP 43.5%Language:CSS 5.3%Language:HTML 4.8%