The Haphazard Hackers' project.
Installing Dependencies:
pip install -r requirements.txt
Setting Up App:
python setup.py
Running Flask App:
export FLASK_APP=api (Unix)
set FLASK_APP=api (Windows CMD)
export YELP_API_KEY=API_KEY_HERE (Unix)
set YELP_API_KEY=API_KEY_HERE (Windows CMD)
flask run
# Set flask to dev mode
export FLASK_ENV=development
or run run.bat
if you're on Windows
Make sure you are in the src/ folder
Installing Dependencies:
npm install
Running the Server:
npm run dev
After running both the frontend and the backend, you can connect to the app by going to http://localhost:3000