Skip to content

sakayat/foodferry-frontend

Repository files navigation

Food Ferry - Food Delivery Website

Overview

Food Ferry is an online food delivery platform where users can create accounts, browse restaurants, place orders, and make payments. Restaurant owners can manage their restaurant information and food listings. Admins have access to the backend for managing users, creating restaurants, and organizing food categories.

Tech Stack:

  • Frontend: React, Vite, JavaScript, CSS
  • Backend: Django REST Framework (API)
  • Payment Integration: Supports both online payments and cash-on-delivery.

Features

1. User Features

  • Account Creation: Users can sign up and log in to access personalized services.
  • Browse Restaurants: Users can view a list of available restaurants and their menus.
  • Place Orders: Users can place orders and select payment methods (online payment or cash-on-delivery).
  • Order Tracking: Users can track the status of their orders.

2. Restaurant Owner Features

  • Restaurant Management: Restaurant owners can update restaurant details such as name, address, and contact info.
  • Menu Management: Owners can add, edit, or remove food items from their menu.

3. Admin Features

  • User Management: Admins can manage user permissions (approve, block, etc.).
  • Restaurant Management: Admins can create new restaurants and categorize them.
  • Food Category Management: Admins can organize food categories for better user experience.

Credentials

Django Admin

User Admin:

Restaurant 1 Owner:

Restaurant 2 Owner:


Installation Instructions

Prerequisites

  1. Node.js (v16 or higher)
  2. Python (v3.8 or higher)
  3. Django (v3.x or higher)

Steps

  1. Clone the Repository

    git clone https://github.com/sakayat/foodferry-frontend.git
    cd foodferry-frontend
  2. Frontend Setup (React + Vite)

    • Install frontend dependencies:
      cd foodferry-frontend
      npm install
    • Run the development server:
      npm run dev
  3. Backend Setup

    For backend setup, please refer to the Food Ferry Backend Repository for detailed instructions on setting up the backend, database, and running the Django server.

  4. Accessing the Application

    • Frontend will be available at: http://localhost:3000
    • Admin Panel can be accessed at: http://127.0.0.1:8000