Welcome to Anna Kitchen's online ordering system! This project aims to provide a convenient and user-friendly platform for customers to order food from Anna Kitchen's menu with just a few clicks.
- Frontend: React
- Backend: Node.js
- Database: MySQL
- Payment Processing: Stripe
- Email Confirmation: Nodemailer
- API Routing: Express
Anna Kitchen's online ordering system is built using modern web technologies to ensure a seamless experience for both customers and restaurant staff. The frontend, powered by React, offers an intuitive interface for browsing the menu and placing orders. On the backend, Node.js handles order processing and communication with the database, which is managed using MySQL. Payments are securely processed through Stripe, and customers receive email confirmations using Nodemailer. Express handles API routing to ensure efficient communication between the frontend and backend.
Feel free to explore the code and contribute to making Anna Kitchen's online ordering system even better!
To run the project locally:
-
Clone this repository.
-
Navigate to the project directory.
-
Install dependencies using
npm install. -
Unzip
annakitchen_databasestored indatabase-queriesand import it into your MySQL database. Here's how you can do it:- Open MySQL Workbench or any MySQL client you prefer.
- Create a new database name
prj(if you haven't already) where you want to import the data. - Select the newly created database.
- Choose the unzipped SQL file (
prj_customer.sql,prj_menu.sql,prj_receipt.sql, andprj_transaction.sql) to import the database schema and data.
-
Create your own
.envfile with your secret keys fromStripe,Firebase, andMySQLto make connection between them. -
Start the development server using
npm run start.
Contributions are welcome! Please feel free to submit issues or pull requests if you have any suggestions for improvements or bug fixes.
This project is licensed under the MIT License.