VanshKing30 / FoodiesWeb

GssoC'24 Project | Open To Contributers
https://foodies-web-app.vercel.app
MIT License
60 stars 145 forks source link
expressjs gssoc24 mongodb nodejs reactjs tailwindcss
image

Connecting You to Your College Canteens

🌟 Stars 🍴 Forks πŸ› Issues πŸ”” Open PRs πŸ”• Close PRs last commit
Stars Forks Issues Open Pull Requests Close Pull Requests Close Pull Requests

Tech Stacks

Table of Contents πŸ“’

Introduction

WelcomeπŸ‘‹

Welcome to Foodies, your go-to college dining companion! Designed for seamless campus culinary experiences, Foodies simplifies menu exploration and nutritional insights. Access daily canteen menus, make informed dietary choices with Spoonacular integration, and empower canteen efficiency. Our platform prioritizes user security and simplicity, ensuring effortless student sign-ups and hassle-free canteen management. Stay up-to-date with our Health News section, delivering valuable insights for healthier eating habits. Embrace convenience and culinary enlightenment with Foodies! 🍽️


Features🌟

Tech Stack

Future Scope

Quick Start for Contributors πŸš€

To get started with contributing to the FoodiesWeb project, follow these steps:

  1. Fork and clone the repository

  2. Navigate to the Project Directory:

    cd FoodiesWeb
  3. Split Terminal for Backend Setup

  4. Navigate to the Server Directory:

    cd server
  5. Install Dependencies (in both terminals):

     npm install

    ENV Variables

    Setup MongoDB local host instance and port in env file in your local device. Default port is 4000 Sample uri is given below.

    PORT=3000
    DATABASE_URL="http://localhost:21713/foods"
    EMAIL="The email from which forgot the password email will be sent"
    MAILPASS="password for the email ( app password )"

    STEP TO GENERATE APP PASSWORD

    1) Enable 2-step verification if not In https://myaccount.google.com/security, do you see 2-step verification set to ON

    2) Generate APP PASSWORD by clicking on below link https://myaccount.google.com/apppasswords?rapt=AEjHL4PAhcbtFEpLwfNtVix3bfiGe71GdrW_Naiuvp_NVnMZyTd0UR07M2mVnEyWzkw9kB99YVhhfEVtjxTi3QWSZ39biK-zGwnghm0u778vwmlh6TFbmh4

  6. Start the Backend Server (in the terminal within the /server directory):
    In the terminal where you navigated to the /server directory, run the following command to start the backend server:

    nodemon server.js
  7. Start the React App (with Backend Running):
    After navigating run the following command to start the React app with the backend server running successfully:

    npm start

    With these steps, you'll have both the backend server and the React app up and running, ready for development or testing.

This project was bootstrapped with Create React App.

Runs the app in the development mode.\

Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.\ You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.\ See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.\ It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\ Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single-build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point, you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However, we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation. .

🀠 Project Admin

image

✴️ Contribution-Guide

Part of GSSoC24

Our Contributors ❀️

Thank you for being a part of this project!

![Contributors](https://contrib.rocks/image?repo=VanshKing30/FoodiesWeb)

(Back to top)