This is an e-commerce book store website built with React as the frontend and pure PHP as the backend. The website uses MySQL as the database to store books and user information.
- Browse and search books by categories, authors, titles, etc.
- Add books to cart and checkout with payment options
- Manage orders and track delivery status
- Create and edit user profile and preferences
- Rate and review books and provide feedback
- Admin dashboard to manage inventory, orders, users, etc.
- Forget Password and Reset Password by email.
To get started with the project, you need to follow these instructions:
- Clone the repository to your local machine.
- Navigate to the root directory of the project and start the server to serve the
server
folder. - Navigate to the
client
folder and runnpm run dev
.
To run this project on your machine, you need to have the following installed:
- Node.js
- MySQL
- PHP
- Clone the repository to your local machine using the command
git clone https://github.com/HoangNhatQuan/BookStore
- Navigate to the root directory of the project and install the dependencies using the command
npm install
- Navigate to the
client
directory and install the dependencies using the commandnpm install
To run the server, navigate to the server
folder and run a local server to serve the folder. You can use tools like XAMPP, WAMP or MAMP for this. If not, navigate to the root directory of the project and run the following command:
php -S localhost:8000 -t server
To run the client, navigate to the client
directory and run the following command:
npm run dev
- React
- PHP
- MySQL
If you wish to contribute to this project, feel free to submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.