Skip to content

Latest commit

 

History

History
102 lines (70 loc) · 2.59 KB

README.md

File metadata and controls

102 lines (70 loc) · 2.59 KB

FoodForward

FoodForward is a revolutionary web application dedicated to reducing food wastage by facilitating the connection between restaurants with surplus food and NGOs or individuals in need. In today's world, where food security remains a pressing issue, FoodForward serves as a bridge, ensuring that excess food from restaurants doesn't go to waste but instead reaches those who need it the most.

Key Features

User-Friendly Interface:

The intuitive user interface of FoodForward makes it easy for restaurants to upload details about surplus food and for NGOs or individuals to request or claim available food items.

Target Audience

  • Restaurants with surplus food looking to donate excess food responsibly.
  • Non-governmental organizations dedicated to distributing food to the needy.

Authors

Tech Stack

Frontend:

  • HTML
  • CSS
  • Javascript
  • Locomotive.js
  • GSAP

Backend:

  • Node.js
  • Express.js
  • EJS

Run Locally

Prerequisites

Before you begin, ensure you have Node.js installed on your machine. If not, you can download and install Node.js from here.

Clone the project

git clone https://github.com/Sathya-reddy1658/WEBHACK1-Project.git

Navigate to the project directory

If you are in the project folder, use:

code -r WEBHACK1-Project

Otherwise, navigate to the project folder and proceed to the next step.

Start the server

Method 1:

  1. Open Terminal:

    • On Windows/Linux: `CTRL + \ (backtick)
    • On macOS: `Cmd + \ (backtick)
  2. Once the terminal is open, run the following command:

npm i
npm i nodemon

3.Now copy the .env.example file and create the .env file:

 Add the Secret_Stripe_key and paste the http://localhost:3000 in the BASE_URL to run in the Local machine 
  1. Opne the terminal, run the following command:
npx nodemon

Method 2:

  1. Alternatively, you can start the server directly from the integrated terminal in Visual Studio Code:

    • Open Visual Studio Code.
    • Click on the "Terminal" tab located at the top menu.
    • Use the "New Terminal" option to open a new terminal.
  2. Run the following command:

npx nodemon
  1. **When the server starts got to any of the browser and type **
localhost:3000

By following these steps, you will have FoodForward up and running on your local machine, ready for you to explore and contribute.