Panhida is an online ebook shop built using Vite and JavaScript for the frontend and admin panel, and Node.js for the backend. The platform allows users to browse and order books online, with payment processing handled by Stripe. The backend utilizes MongoDB for data storage.
- Browse and search for books by category or author
- View detailed book information, including descriptions, ratings, and reviews
- Add books to a shopping cart and proceed to checkout
- Secure payment processing using Stripe
- Admin panel for managing books, orders, and user accounts
- Node.js (version 14 or higher)
- MongoDB (version 4.4 or higher)
-
Clone the repository: --git clone https://github.com/your-username/panhida-ebook-shop.git
-
Install the dependencies for the frontend and backend: -cd panhida-ebook-shop/frontend -npm install -cd ../backend -npm install
- Access the frontend application in your browser at
http://localhost:3000. - Browse and search for books using the category or author filters.
- Click on a book to view its detailed information, including descriptions, ratings, and reviews.
- Add books to your shopping cart and proceed to checkout.
- Complete the payment process using Stripe.
- To access the admin panel, navigate to
http://localhost:3000/admin. - Log in using your admin credentials.
- Manage books, orders, and user accounts through the admin interface.
The Panhida Ebook Shop backend provides a RESTful API for interacting with the platform. You can find the detailed API documentation in the backend/docs directory.
The API documentation for the Panhida Ebook Shop backend can be found in the backend/docs directory. This includes information on the available endpoints, request and response formats, and authentication requirements.
- Frontend:
- Vite
- JavaScript
- HTML
- CSS
- Backend:
- Node.js
- Express.js
- MongoDB
- Mongoose
- Payment:
- Stripe
We welcome contributions to the Panhida Ebook Shop project. If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your forked repository.
- Submit a pull request to the main repository.
This project is licensed under the MIT License.