Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johnmata0427/food-ordering-system

System Food Ordering at ESFOT faculty of EPN
https://github.com/johnmata0427/food-ordering-system

frontend react tailwindcss vite website

Last synced: about 19 hours ago
JSON representation

System Food Ordering at ESFOT faculty of EPN

Awesome Lists containing this project

README

        


Logo
$\color{Apricot}{Food\ Ordering\ at\ ESFOT\ System}$
Logo

---

> [!IMPORTANT]
> **Problematic Introduction**
>
> The lunchtime rush at ESFOT poses a significant operational challenge.
> The influx of students seeking to order their meals within a limited timeframe (11 AM to 2 PM) results in the formation of long queues.
> These extended wait times not only inconvenience students but also negatively impact their overall dining experience.
> Additionally, the manual ordering process, with its inherent limitations, can lead to inefficiencies and potential errors.
> The existing system struggles to accommodate the high volume of orders during peak hours, leading to delays and frustration among students.

---

### 👩🏻‍💻👨🏻‍💻 Multiplatform Website Preview

![Page Preview](https://github.com/user-attachments/assets/f9fece7f-4f61-4853-b233-0017e8395692)

---

🥣 Sprint 0 - Development Environment Configuration

✅ Definition of requirements and Constraints


  • The frontend has the following profiles: Cook and Student.

  • There is a backend and a series of public and private APIs available for consumption.

  • The Cook profile can:

    • Register and log in.

    • Manage their profile.

    • Manage products.



  • The Student profile can:

    • Register and log in.

    • Add products to the cart.

    • Make purchases.



✅ Frontend Project Structure

> - **Tools**
>
> | Image | Name |
> |--------------------------------------------------------------|----------------------------|
> | ![VSCode](https://skillicons.dev/icons?i=vscode&theme=light) | Visual Studio Code |
> | ![NodeJS](https://skillicons.dev/icons?i=nodejs&theme=light) | Node.js |
> | ![PNPM](https://skillicons.dev/icons?i=pnpm&theme=light) | PNPM (Recommendation) |
> | ![React](https://skillicons.dev/icons?i=react&theme=light) | React |
> | ![Tailwind CSS](https://skillicons.dev/icons?i=tailwindcss&theme=light) | Tailwind CSS |

> - **Project Initialization and Installation Dependencies**
>
> - Open the terminal and run the following command to create a new React app:
> ```
> npx create-react-app my-app
> ```
> - Navigate into your project directory:
> ```
> cd my-app
> ```
> - Install Tailwind CSS and other necessary dependencies:
> ```
> npm install -D tailwindcss postcss autoprefixer
> npx tailwindcss init -p
> ```
> - Configure Tailwind by adding the following to your `tailwind.config.js`:
> ```javascript
> /** @type {import('tailwindcss').Config} */
> module.exports = {
> content: [
> "./src/**/*.{js,jsx,ts,tsx}",
> ],
> theme: {
> extend: {},
> },
> plugins: [],
> }
> ```
> - Add the Tailwind directives to your `src/index.css`:
> ```css
> @tailwind base;
> @tailwind components;
> @tailwind utilities;
> ```

> - **Project File Structure**
>
> - The basic structure of a React project is as follows:
> ```
> my-app/
> ├── node_modules/
> ├── public/
> ├── src/
> │ ├── assets/ # Static files (images, fonts)
> │ ├── components/ # Reusable components
> │ ├── pages/ # Pages or views
> │ ├── App.js # Main app component
> │ ├── index.js # Entry point
> │ ├── index.css # Global styles
> │ └── tailwind.config.js # Tailwind configuration
> ├── .gitignore # Git ignore file
> ├── package.json # Project dependencies
> └── README.md # Project documentation
> ```

✅ User Roles


  • Chefs 👨‍🍳👩‍🍳

  • Students 🧑‍🎓👩‍🎓

---

👨‍🍳 Sprint 1 - Chef Module

✅ Endpoint consumption to log in.
Log in

✅ Consumption of endpoint to list products.
List Product

✅ Endpoint consumption to add a product.
Add a product

✅ Endpoint consumption to edit a product.
Edit a product

✅ Endpoint consumption to view order history.
Order history

---

👩‍🎓 Sprint 2 - Student Module

✅ Endpoint consumption to display products by category.


  • Lunch Category

  • Lunch Category
  • Category Beverages

  • Category Beverages
  • Category Snacks

  • Category Snacks

✅ Endpoint consumption for contact
Contact

---

🥤🍫 Sprint 3 - Deploy

▶️ Deploy

>


>

Deployment in Vercel


>
>

>
> 🌐 Vercel Deployment URL: https://pedidos-comida-esfot.vercel.app/

---