Git Product home page Git Product logo

employee-management-system-with-jwt-frontend-and-backend.'s Introduction

Employee Management System with JWT - Frontend and Backend

Link- https://employee-jwt.netlify.app/

This is the README document for the Employee Management System project, which consists of both frontend and backend components. The project is designed to manage employee records securely using JWT (JSON Web Token) for authentication and authorization. The backend is built with Spring Boot and the frontend is developed using Angular.

Table of Contents

Project Overview

This Employee Management System is a web application that allows users to perform CRUD (Create, Read, Update, Delete) operations on employee records. The system ensures data security and integrity by implementing JWT-based authentication and authorization.

Backend Technologies

The backend of the project is built using Spring Boot and utilizes the following technologies and libraries:

  • Spring Data JPA: For data access and management.
  • Spring Boot Starter Validation: For request validation.
  • JSON Web Token (JWT): For authentication and authorization.
  • Spring DevTools: For easier development and hot-reloading.
  • H2 Database: In-memory database for development purposes.

Frontend Technologies

The frontend is developed using Angular and incorporates the following technologies and libraries:

  • Angular Framework: For building a responsive and dynamic user interface.
  • Angular Material (Mat): A UI component library for a sleek and modern design.
  • Bootstrap: For additional styling and responsiveness.
  • Interceptor: Implemented for handling JWT authentication.
  • Guard: To prevent unauthorized access and ensure data integrity.

Features

  • User Authentication: Users must log in to access the system, and JWT tokens are generated and verified for secure authentication.
  • Employee CRUD Operations: Create, Read, Update, and Delete employee records.
  • Data Validation: Request data is validated on the backend to ensure data integrity.
  • JWT Authorization: Only authorized users can perform CRUD operations.
  • Interception and Guarding: Unauthorized access is blocked by interceptors and guards on the frontend.
  • Demo Data: Sample data is provided for testing purposes.

Deployment

The project is deployed using the following platforms:

  • Backend: Deployed on Railway.
  • Frontend: Deployed on Netlify.

Demo

You can access the live demo of this project here.

Getting Started

To run this project locally, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/kamit9171/Employee-Management-system-with-jwt-frontend-and-backend.git
  2. Navigate to the backend and frontend directories and follow the instructions in their respective README files for setup.

  3. Configure the backend and frontend to work together by setting the appropriate API endpoints.

  4. Run both the backend and frontend locally for testing and development.

Contributing

Contributions are welcome! If you would like to contribute to this project, please follow the contribution guidelines.

Output Screenshot of the Application

1.Frontend File Structure Frontend File Structure

  1. Backend File Structure Backend File Structure

3.Backend Service Running on Railway Cloud using Docker Backend service Running on Railway

  1. Integrated MySql on Railway Integrated MySql on Railway

  2. Frontend Running on netlify Frontend on Netlify

  3. Backend Service Running of SpringBoot Backend Service Running of Spring Boot

  4. Default HomePage Default Home Page

  5. Login Interface Login Interface

9.After Login After Login

  1. Add Employee After Login Successfully Add Employee After Login

  2. Added Succesfully Added Successfully

  3. Without Login Attempt for Update without login Attempt for Update

  4. Unauthorised Error Occur if You are trying to update Without Login Unauthorised Error

  5. Update Employee After Login Update Employee After Login

  6. Update Employee Data Successfullt Update Employee Data Successfully

License

This project is licensed under the MIT License.


Thank you for using the Employee Management System. If you encounter any issues or have suggestions for improvement, please feel free to open an issue on the GitHub repository. Happy coding!

employee-management-system-with-jwt-frontend-and-backend.'s People

Contributors

kamit9171 avatar

Watchers

 avatar

Forkers

amitkumar9108

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.