This is a comprehensive food ordering application developed using React and Vite. It allows users to browse various food categories, add items to their cart, and place orders seamlessly.
- User Authentication: Secure login and registration.
- Food Categories: Browse food items by categories such as Cold Dishes, Soups, Grills, Appetizers, Desserts.
- Cart Functionality: Add, remove, and update items in the cart.
- Order Management: Place orders and track their status.
- Role Based Authentication: Default User and Admin specific dashboard features.
- Frontend
- Backend
- Firebase: A platform developed by Google for creating mobile and web applications.
- State Management
- React Context API: A way to manage global application state.
- Routing
- React Router: A collection of navigational components that compose declaratively with your application.
To run this project locally, follow these steps:
-
Clone the repository
git clone https://github.com/archis-academy/food-order-app-aries-1.git cd food-order-app-aries-1
-
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open your browser and navigate to
http://localhost:5173
.
Once the application is running, you can:
- Register or Log in to your account.
- Browse through different food categories.
- Add items to your cart.
- View and manage items in your cart.
- Place an order and track its status.
The project is organized as follows:
- public/: Contains the static assets.
- src/: Contains the source code for the application.
- assets/: Contains image files and other assets.
- components/: Contains reusable React components.
- contexts/: Contains the context providers for state management.
- hooks/: Contains custom React hooks.
- pages/: Contains the main page components for routing.
- services/: Contains service files for API interactions.
- styles/: Contains global and component-specific styles.
Since this project has role based authentication you can use these credentials to log in as an Admin or Default User. Or register as a default user.
Admin
email: admin@gmail.com
password: 2024Admin
Default User
email: user@gmail.com
password: 2024User