Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhithakur7080/pizzahub
A realtime pizza delivery application taking pizza order and delivering.
https://github.com/abhithakur7080/pizzahub
ejs ejs-templates expressjs mongodb mongoose scss-framework stripe-payments tailwind-css
Last synced: 13 days ago
JSON representation
A realtime pizza delivery application taking pizza order and delivering.
- Host: GitHub
- URL: https://github.com/abhithakur7080/pizzahub
- Owner: Abhithakur7080
- Created: 2024-06-02T16:21:22.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-06T15:15:11.000Z (7 months ago)
- Last Synced: 2024-09-26T00:40:54.441Z (3 months ago)
- Topics: ejs, ejs-templates, expressjs, mongodb, mongoose, scss-framework, stripe-payments, tailwind-css
- Language: JavaScript
- Homepage: https://pizzahub-qaym.onrender.com/
- Size: 5.24 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
PIZZA HUBPizzahub is a realtime pizza delivering application offers a dynamic and user-friendly platform for ordering pizza. Users can effortlessly browse the menu, add items to their cart, and choose between cash on delivery or secure card payment options. The application features real-time order status updates, allowing users to track their orders from preparation to delivery, ensuring they stay informed at every step.
On the administrative side, the app provides robust controls for managing orders and updating their status, facilitating efficient service and customer satisfaction. With seamless user authentication, customers can easily register and log in to place orders and review their order history. This comprehensive application ensures a smooth and satisfying pizza ordering experience for both customers and administrators.
- Hosted Link [Explore](https://pizzahub-qaym.onrender.com/)
### For Testing Admin side
- Email:
```
[email protected]
```
- Password:
```
123456
```### Installation
Below Provided step-by-step instructions on how to install and set up your project locally.
Include any prerequisites, such as Node.js and MongoDB versions. For example:##### project installation setup
- Clone the repository: `git clone https://github.com/Abhithakur7080/pizzahub.git`
- Navigate to the project directory: `cd pizzahub`
- Install dependencies: `npm install` or `npm i`
##### MongoDB setup
- visit: `https://account.mongodb.com/account/login`
- After logged in create new project
- set up by connect with the database url##### laravel-mix setup
- visit `https://laravel-mix.com/`
- Read and follow and install the dependency in your project
- complete the setup
- also complete watch for laravel mix setup
##### stripe setup
- visit: `https://stripe.com`
- register or login yourself
- Read documentation carefully
- Get and set up you private and public key##### Set up environment variables: `.env` variables
``` dotenv
PORT= your running port# for mongo database
DB_URL = your_databa_seurl# session cookie secret key
COOKIE_SECRET = your_secret# stripe private key
STRIPE_PRIVATE_KEY = your_stripe_private_key
```
### Usage
On using this server command it:
``` bash
# run the server
npm run dev
```
### Pages
###### Homepage
- Endpoint(GET): `/`
![Homepage-1](https://github.com/Abhithakur7080/pizzahub/assets/119639453/fa33d8c5-a1e4-40c9-87e3-36fcd2305cb1)
![Homepage-2](https://github.com/Abhithakur7080/pizzahub/assets/119639453/1ab59714-be82-42f0-bf0a-3fb97b1fa03e)
###### Cartpage
- Endpoint(GET): `/cart`
- Endpoint(POST): `/update-carts`
![Empty-Cart](https://github.com/Abhithakur7080/pizzahub/assets/119639453/4176e014-95ff-4fb0-b22f-b22beffd2de9)
![Itemed-cart](https://github.com/Abhithakur7080/pizzahub/assets/119639453/7942e265-d37d-44da-b700-7031462198ea)- payment options - `Cash on delivery`, `Pay with card`
![COD](https://github.com/Abhithakur7080/pizzahub/assets/119639453/a7176474-f451-4787-bc0e-609abd45dd83)
![Card](https://github.com/Abhithakur7080/pizzahub/assets/119639453/df3b866a-c700-41e7-80cc-3953f168997a)
##### Authentication
###### Register
- Endpoint(GET): `/register`
- Endpoint(POST): `/register`
![Register](https://github.com/Abhithakur7080/pizzahub/assets/119639453/f4b73e24-5ff7-4537-8c42-8c69f8a378ca)###### Login
- Endpoint(GET): `/login`
- Endpoint(POST): `/login`
![Login](https://github.com/Abhithakur7080/pizzahub/assets/119639453/6f8848dd-c232-4f6f-95e3-7ded11b05eb2)
##### Customer side
###### Orderpage
- Endpoint(GET): `/orders`
- Endpoint(POST): `/customers/orders`
![orderpage](https://github.com/Abhithakur7080/pizzahub/assets/119639453/998dc09b-9351-4f2a-a765-8438d79a4fb0)- Endpoint(GET): `/customers/orders/:id`
![Single_order_info](https://github.com/Abhithakur7080/pizzahub/assets/119639453/4699ddce-e958-4268-b98a-a6825b157cc8)
##### Admin side
###### Orders handler page
- Endpoint(GET): `/admin/orders`
- Endpoint(POST): `/admin/order/status`![Orders_handling_page](https://github.com/Abhithakur7080/pizzahub/assets/119639453/c227c1ed-770e-4238-8a42-76def1caee8a)
## Contributing
Join us in building! Fork our repository, make changes, and submit pull requests. We value community contributions and appreciate your help in improving our project.## Contact
If you have any questions or suggestions regarding this project, feel free to contact us at [[email protected]](mailto:[email protected]).