Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

coriandar/BrokeBites

Repository files navigation

BrokeBites

We understand that cooking your own meals might not always be feasible due to time constraints or lack of cooking facilities. That's why we've curated a selection of smart and pocket-friendly takeaway options from various restaurants that cater to students on a budget. Now you can enjoy a diverse range of flavors without the hassle of cooking!

Join the food-loving community and elevate your restaurant discovery experience. Download our app today and savor every moment of your culinary exploration. Your next delicious adventure is just a click away!

Team project using SCRUM methodlogies for COMP602 Software Development Practice.

Features

  • Account Signup: Unlock a world of culinary delights with a few taps. Create your personal account and get ready to embark on a gastronomic journey.
  • Interactive Restaurant Map: Explore your city like never before. Our interactive map reveals the best restaurants in your area, putting their locations at your fingertips.
  • Search and Save: Finding the perfect dining spot is a breeze. Use our powerful search tools to filter restaurants by cuisine, price, and more. Save your favorites to make your next dining experience even more effortless.
  • Reviews Restaurants: Share your culinary adventures with the world. Write and read insightful restaurant reviews from fellow foodies. Your opinions matter!
  • Social Media Features: Connect, engage, and share your foodie experiences with the community. With direct messaging, follows, and easy sharing, your food journey becomes a social adventure.
  • Premium-Only Features: Elevate your dining experience. Upgrade to our premium subscription for an ad-free journey through the world of flavors. Enjoy a seamless, distraction-free exploration of restaurants and cuisines.

Contents


Getting Started

Required

  • Node.js ^18.17.1 LTS

Required accounts

API Keys

  • Place API keys into .env.local file
NEXT_PUBLIC_FB_API_KEY=""
NEXT_PUBLIC_FB_AUTH_DOMAIN=""
NEXT_PUBLIC_FB_PROJECT_ID=""
NEXT_PUBLIC_FB_STORAGE_BUCKET=""
NEXT_PUBLIC_FB_MESSAGING_SENDER_ID=""
NEXT_PUBLIC_FB_APP_ID=""
NEXT_PUBLIC_FB_MEASUREMENT_ID=""
NEXT_PUBLIC_STRIPE_PUBLIC_KEY=""
NEXT_PUBLIC_STRIPE_SECRET_KEY=""

Firestore Database

directMessageDB
reportDB
restaurantDB
reviewDB
userDB
userFeedDB

Firestore Storage

avatar/

Scraping restaurant data

  • Use Apify Google Maps Scraper.
  • Filter and clean data as appropriate.

Usage

Installation

npm i

Run devevlopment server

npm run dev

Run production server

npm run build
npm run start

Run tests

npm test // run test suite
npm test -t "testName" // run specific test

Access

http://localhost:3000

Contributing (Current devs only)

  • Pull requests are required.
  • Please make sure to follow code formatting.
  • Please make sure to update tests as appropriate.
  • Development of this project will end at the end of semester.

VSCode Setup

  1. Install Prettier.
  2. Install Tailwind CSS IntelliSense.
  3. ctrl + shift + p, "User Settings (JSON)".
  4. Replace everything in settings.json with:
{
    "workbench.colorTheme": "Default Dark Modern",
    "workbench.startupEditor": "none",
    "prettier.tabWidth": 4,
    "editor.formatOnSave": true,
    "[javascriptreact]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    }
}

Team

Name GitHub Role
Jamie C Jarcino Developer
Jamie L lleejamiee Scrum Master / Developer
Michael S mnymkz Developer
Will B nhh8869 Developer
Tony Y coriandar Product Owner / Developer

License