This is a web application for managing employee records. It provides basic CRUD (Create, Read, Update, Delete) operations for managing employee information.
- View a list of employees with their names, salaries, and ages.
- Search employees by name.
- Add a new employee to the system.
- Edit existing employee information.
- Delete an employee from the system.
- Front-end: React Native
- Back-end: Node.js, Express.js
- Node.js (v12 or higher)
- Clone the repository:
git clone https://github.com/shubhamm69/AC-App
- Open the server folder:
cd AC-App/Assignment2/server
- Install the dependencies:
npm install
- Start the server:
npm start
- The server will start running on
http://localhost:6900
.
- Open the client folder:
cd AC-App/Assignment2/client
- Install the dependencies:
npm install
- Start the client:
npx expo start
- The Expo development server will start, and you can run the app on an emulator or physical device.
-
You will see a list of employees.
-
Use the search bar to filter employees by name.
-
Click on an employee to view their details.
-
Click the "Add Employee" button to create a new employee.
-
Click the "Edit" button on the Employee Details screen to update employee information.
-
Click the "Delete" button on the Employee Details screen to remove an employee from the system.
The application uses a JSON file (server/db.json
) as the database to store employee records. The file contains an array of employee objects in JSON format. Each employee object has properties such as id
, name
, salary
, and age
.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.