A modern, responsive book store web application built with React and Vite. Browse books by category, explore top sellers, recommended titles, and stay updated with news and events.
- Banner – Hero section with featured content
- Top Seller – Carousel of best-selling books with category filter (Business, Fiction, Adventure, Horror)
- Recommended – Curated book recommendations
- News & Events – Latest news and updates in a swipeable carousel
- Newsletter – Email subscription in the footer
- Responsive Design – Optimized for mobile, tablet, and desktop
- React 19 – UI library
- Vite 7 – Build tool and dev server
- React Router 7 – Client-side routing
- Tailwind CSS 4 – Utility-first styling
- Swiper – Touch-enabled carousels
- React Icons – Icon library
book-store-webview/
├── public/
│ ├── book.json # Book data
│ └── fav-icon.png
├── src/
│ ├── assets/ # Images (books, news, logos)
│ ├── components/
│ │ ├── Navbar.jsx
│ │ └── Footer.jsx
│ ├── pages/
│ │ ├── Banner.jsx
│ │ ├── Home.jsx
│ │ ├── TopSeller.jsx
│ │ ├── Recommmened.jsx
│ │ ├── News.jsx
│ │ └── books/
│ │ └── BookCard.jsx
│ ├── routers/
│ │ └── router.jsx
│ ├── utils/
│ │ └── getImgUrl.js
│ ├── App.jsx
│ ├── main.jsx
│ └── index.css
├── index.html
├── package.json
├── tailwind.config.js
└── vite.config.js
- Node.js 18+
- npm or yarn
-
Clone the repository:
git clone <repository-url> cd book-store-webview
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:5173 in your browser.
npm run buildnpm run preview| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run preview |
Preview production build locally |
npm run lint |
Run ESLint |
| Path | Description |
|---|---|
/ |
Home page (Banner, Top Seller, Recommended, News) |
/about |
About page |
/orders |
Orders page |
Private project.