This repository contains the backend code for an Employee Management System implemented using Express.js and AWS DynamoDB. It provides RESTful API endpoints for managing employee data, seamlessly integrating with a frontend application built using React.js.
- Retrieve all employees
- Get details of a specific employee
- Add a new employee
- Update existing employee details
- Delete an employee
- Clone this repository.
- Install dependencies using
npm install
. - Configure your AWS credentials and region in
app.js
. - Run the server using
npm start
. - Integrate the provided API endpoints with your React.js frontend application.
- GET
/employees
- Retrieves all employees. - GET
/getemployee/:index
- Retrieves details of a specific employee by index. - POST
/employees
- Adds a new employee. - PUT
/employees/:index
- Updates details of an existing employee by index. - DELETE
/employees/:index
- Deletes an employee by index.
- Express.js - Web application framework for Node.js.
- AWS DynamoDB - Fully managed NoSQL database service provided by Amazon Web Services.
- CORS - Express middleware for enabling Cross-Origin Resource Sharing.
- Body-parser - Express middleware for parsing request bodies.
This project is licensed under the MIT License - see the LICENSE file for details.