Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/i-m-hossain/react-book-app
https://github.com/i-m-hossain/react-book-app
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/i-m-hossain/react-book-app
- Owner: i-m-hossain
- Created: 2023-05-21T13:36:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-22T19:56:58.000Z (over 1 year ago)
- Last Synced: 2024-10-15T07:28:09.591Z (3 months ago)
- Language: JavaScript
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Book App
This is a basic react app with CRUD operation features. Although it's only performing crud operations, it is built combining with a lots of React's core features. For managing state, Context API is used while keeping the idea of 'state lifting up' pattern along using with props. useCallback hook was used to prevent infinite re-rendering as the useEffect used a function as it's dependency array. This application was very carefully designed by separating application state and component states. Props types were checked using React's prop validation. JSON server was used to persist the data across the application. Rest-client is used for api documentation. Overall this Book CRUD application covers many of Reacts core feature.
# How to run
Frontend: npm run dev
Server: npm run server