This is a full-stack pizza ordering system that includes user authentication, a cart system, a home page, and payment gateway integration. The system is built using several technologies, including:
- React.js for the front-end
- Node.js and Express.js for the back-end
- MongoDB for the database
The pizza delivery system has the following features:
- User authentication: Users can sign up, log in, and log out.
- Cart system: Users can add pizzas to their cart and view their order before checking out.
- Home page: The home page displays a list of available pizzas and allows users to filter them by category.
- Payment gateway integration: Users can pay for their orders using a payment gateway.
To install the pizza delivery system, follow these steps:
- Clone the repository:
git clone https://github.com/username/pizza-delivery-system.git
- Install the dependencies:
- Front-end:
cd client && npm install
- Back-end:
cd server && npm install
- Front-end:
- Start the development server:
- Front-end:
cd client && npm start
- Back-end:
cd server && nodemon index.js
- Front-end:
To use the pizza delivery system, open your web browser and navigate to http://localhost:3000/
. From there, you can create an account, browse available pizzas, add them to your cart, and check out using a payment gateway.
Contributions to the pizza delivery system are welcome! To contribute, follow these steps:
- Fork the repository
- Create a new branch:
git checkout -b my-feature
- Make your changes and commit them:
git commit -am 'Add my feature'
- Push to the branch:
git push origin my-feature
- Create a new pull request
This pizza delivery system is licensed under the MIT license. See LICENSE
for more information.