The Flask server and REACT frontend code for the LineWaiter app
Table of Contents
Welcome to Line Waiter! With this web app, you can post a listing if you would like to pay someone to come wait in line for you (think those long food truck lines)! On the flip side, if you want to make some extra cash, come here for an easy, low-effort way to do so.
- First clone and unzip the repository
- Next open in your preferred IDE (we used Pycharm)
- Add the .env file with the database and email server passwords to LineWaiter (next to app.py)
- Open the terminal and run the following command
cd LineWaiter
- Install the necessary packages for Flask
pip install -r requirements.txt
- Go to the REACT directory
cd line-waiter
- Install the necessary packages for REACT
npm install
- Email notifications of accepted listings/bids/service/ready
- Create/delete listings
- Bidding on listings
- Changing status (borders)
- Login/signup/logout
- Accept listings
- Open another terminal or use another method to run app.py in the background
python3 app.py
- In the original terminal which is inside of LineWaiter/line-waiter run the REACT frontend
npm start
- If everything was ran correctly a browser page should automatically open
- Selena : worked on fullstack; features: create listing, displaying listings, delete listing, accept/unaccept listing, logout, login/signup
- Brandon: worked on frontend; mostly on .css files and styling/scaling website, aligning search bar. creating backgrounds for web pages
- Pranav: worked on frontend, mostly on building functionality in webpages, built home page and listings class to display to users, also created login and signup page
- Nathaniel: worked on: sending emails, setting up google app integration for email sending, backend for everything to do with bidding, backend for readying a listing, all of db.py, setting up MongoDB and pymongo, and .env file loading
- Athena: worked on backend, mostly on Flask and MongoDB; features: create listing, unaccept listing, send email