Skip to content

A simple ReactJS application that retrieves live data from the Swiggy API to showcase restaurants, dishes, and prices, featuring cart and checkout functionality.

Notifications You must be signed in to change notification settings

kapilsinghnegi/Bhojan-Buddy

Repository files navigation

Bhojan Buddy

Bhojan Buddy is a ReactJS application that fetches data from Swiggy Live API and displays the list of restaurants with their respective dishes and prices. The user can add the dishes to the cart and checkout the total amount.

Table of Contents

Installation

To install and run this project locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/your-username/bhojan-buddy.git
  2. Navigate to the project directory:
    cd bhojan-buddy
  3. Install the dependencies:
    npm install

Usage

To start the development server, run:

npm start

Open your browser and navigate to http://localhost:5173/ to see the application in action. Make sure you've enabled CORS extension installed in your browser while fetching Swiggy Live API

Features

  • Elegant Shimmer UI for data loading
  • Fetch restaurants based on current location (Currently supports Delhi only)
  • Search for restaurants by name
  • Filter restaurants by top ratings
  • View detailed information and prices for various dishes at any restaurant
  • Add or remove items from the cart
  • Calculate and display the total amount for checkout

Tech Stack

  • Frontend Library: ReactJS
  • Build Tool: Vite
  • Styling: Tailwind CSS
  • API: Swiggy Live API
  • Routing: React Router
  • State management: Redux Toolkit

Drop a ⭐ if you liked it

About

A simple ReactJS application that retrieves live data from the Swiggy API to showcase restaurants, dishes, and prices, featuring cart and checkout functionality.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published