Welcome to Web Book Store! Whether you're an avid reader or a casual browser, our platform is designed to cater to all your literary needs with efficiency and ease.
Our Book Store offers the following services:
- Browse Books: Explore a vast collection of books from various genres.
- Search: Quickly find books by title, author, or genre using our search functionality.
- Recommendations: Personalized book suggestions based on your interests and browsing history.
- Cart and Checkout: Seamless cart and checkout process to purchase your favorite books.
- User Profiles: Create and manage your personal account to keep track of your purchases and wishlists.
- API Services: Access book information, availability, and user details through our Express.js-based API routes.
This project has been developed using:
- Frontend: Built with Vite, a fast and efficient bundler for modern web applications.
- Backend: RESTful API routes are powered by Express.js.
- Database: (Specify the database you're using, if applicable)
- Deployment: (Add any hosting platform if applicable, e.g., Netlify, Heroku, etc.)
-
Clone the repository:
git clone https://github.com/Hridesh-Srivastava/book-store-web.git
-
Navigate into the project directory:
cd book-store
-
Install the dependencies:
npm install
-
Development Mode:
npm run dev
This will start the Vite development server.
-
Production Mode:
To build the app for production:
npm run build
After building, you can run the Express server with:
npm run start
The backend API routes, powered by Express.js, provide the following services:
/api/books
- Get the list of available books./api/books/:id
- Get details of a specific book./api/users/:id
- Get user profile information.- (Add more routes as applicable)
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.