Pizza Restaurant
A very cool project - A Pizza Restaurant management.
SERVER:
Node.js
TypeScript
MongoDB
Socket.IO
Express
Winston (As a local logger).
chance (For randomizing workers).
CLIENT:
Next.js
Custom hooks
Tailwind CSS (My first project with this framework, instead of CSS modules).
Socket.IO-Client
@headlessui/react + framer-motion (For the cool animations).
fontawesome (For the cool fonts).
chance (For randomizing users).
sass (To support SCSS).
yup (Validation).
Ho, and.. shhh... don't tell Domino's Pizza I took their slices images (CSS Sprite) from them.. It will be our secret. :)
Getting Started
Instructions:
- Since I didn't make it on a container (Lake of time), please make sure to have MongoDB installed on your PC.
- Fork the project or download it.
- Open the server project.
- On the terminal: npm i
- Once finished, on terminal: npm run dev
- Wait for MongoDB and Socket.IO to be up.
- Open the client project.
- On the terminal: npm i
- Once finished, on terminal: npm run dev
- Wait for the client to connect to the server's Socket.IO.
- Once the UI is up, click on the red "Order" button and make some yummy pizzas.
- Once you click on the "Checkout" button you will start to see all your orders.
- Let the show begin and happy testing! :)
- If, for some reason, you submitted orders and you don't see them, reload the page. If it's not work, restart the server (& the client if needed).
Author
License
This application has an MIT license.