This is a single-page application that allows users to manage a list of books. The main page displays a list of books with their names, prices, categories, and a delete button for each book. Users can add new books using the "Add Book" button and edit existing books by clicking on their names.
- React (with Hooks)
- Redux (with Redux Toolkit)
- TypeScript
- Next.js
- Lazy Loading for improved performance
- Styling with CSS Modules
This is a Next.js project bootstrapped with create-next-app
.
- Clone the repository to your local machine.
- Install the required dependencies using npm.
- Run the development server:
npm run dev
- Open your browser and navigate to http://localhost:3000 to access the Bookstore app.
The backend is simulated using an array to store the book list. Redux with Redux Toolkit is used for state management and hooks are used for component-level state.