Skip to content

Final project from the Web Developer Bootcamp from Colt Steele in Udemy translated into Python using Flask.

License

Notifications You must be signed in to change notification settings

mkmenta/yelp-camp-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YelpCamp Python

Final project from the Web Developer Bootcamp from Colt Steele in Udemy translated into Python using Flask.

Run the app with:

export FLASK_APP=app
export FLASK_ENV=development
export FLASK_DEBUG=1
flask run

and open https://127.0.0.1:5000/

Installation

I recommend using a virtual environment:

python3 -m virtualenv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt

Setup

Before running the app, configure the following APIs:

  • Register to MongoDB atlas and set the following environment variables:
export MONGOURI="mongodb+srv://rw:¿?@¿?.mongodb.net/yelpCamp?retryWrites=true&w=majority"
  • Register at cloudinary.com and set the following environment variables:
export CLOUDINARY_NAME="¿?"
export CLOUDINARY_KEY="¿?"
export CLOUDINARY_SECRET="¿?"
  • Register at mapbox and set the following environment variables:
export MAPBOX_ACCESS_TOKEN="¿?"
  • Set a secret for the app:
export YELP_CAMP_SECRET="¿?"

Seeding

Fill the database with fake data:

python3 -m seeds.main

References

About

Final project from the Web Developer Bootcamp from Colt Steele in Udemy translated into Python using Flask.

Resources

License

Stars

Watchers

Forks