Petsy, a fullstack clone of Etsy, is an online marketplace where people sell, buy, and collect unique pet items. Contributors: Andrew Murray, Lucas Monteiro, Whit Minson, Yanelys Mena.
- Backend: Python, Flask
- Frontend: JavaScript, React/Redux, AJAX, WTForms
- Database: PostgresSQL
- Image hosting: AWS/S3
- Design and Styling: HTML/CSS
- External APIs: boto3, botocore
- Clone this repo
git clone [email protected]:AndrewPMurray/Petsy.git
- Install dependencies for backend
pipenv install
- Install dependencies for frontend
cd react-app
npm install
- Create PostgreSQL user
CREATE USER petsy_user WITH CREATEDB PASSWORD '<password>'
- Create PostgreSQL database
CREATE DATABASE petsy_db WITH OWNER <user name>
- Create a
.env
file in the root directory based on the.env.example
file - In
.env
file: - Flask Migrate and Seed your database in root directory
pipenv shell
flask db upgrade
flask seed all
- Start backend server in root directory
flask run
- Start frontend server in
react-app
directorynpm start
- In your browser go to
localhost:3000
- You may use the Demo user or create a new user by clicking on the
Log In
button. Then you can search, look at products, leave reviews, add items to cart, purchase items, etc..
- Purchases
- A user can view their past purchases' information and create/edit reviews on each purchase.
- 404 page