This is a simple React app that demonstrates the basic CRUD (Create, Read, Update, Delete) operations.
- HTML
- CSS
- JavaScript
- React
- React Router DOM
- npm
- json-server
- Create a new record
- Read all records
- Update an existing record
- Delete a record
- Install
npm
andjson-server
. - Clone this repository.
- Run
npm install
in the project directory. - Run
json-server --watch db.json
to start the JSON server. - Run
npm start
to start the React app.
The app is accessible at http://localhost:3000.
To create a new record, click the "Create" button. Enter the data for the new record and click the "Create" button again.
To read all records, click the "Read" button.
To update an existing record, click the "Update" button. Select the record that you want to update and make the necessary changes. Click the "Update" button to save the changes.
To delete a record, click the "Delete" button. Select the record that you want to delete and click the "Delete" button.
This project is licensed under the MIT License.