Skip to content

AndrewPMurray/Petsy

Repository files navigation

Welcome to Petsy!

petsy home page

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.

Wiki Links

Technologies

  • Backend: Python, Flask
  • Frontend: JavaScript, React/Redux, AJAX, WTForms
  • Database: PostgresSQL
  • Image hosting: AWS/S3
  • Design and Styling: HTML/CSS
  • External APIs: boto3, botocore

Features

  • User login/signup signup window

  • Products product page - leopard gecko tent

edit listing


  • Shopping cart petsy cart

  • Reviews/Ratings product reviews list

  • Purchases purchases

  • Search bird search result

Install Instructions

  1. Clone this repo
  2. Install dependencies for backend
    • pipenv install
  3. Install dependencies for frontend
    • cd react-app
    • npm install
  4. Create PostgreSQL user
    • CREATE USER petsy_user WITH CREATEDB PASSWORD '<password>'
  5. Create PostgreSQL database
    • CREATE DATABASE petsy_db WITH OWNER <user name>
  6. Create a .env file in the root directory based on the .env.example file
  7. In .env file:
    • Replace 'password' in DATABASE_URL with your chosen password
    • Enter a secure combination of characters for you SECRET_KEY
    • Create your own S3 image bucket and AWS user and connect them, and enter in the information for S3_BUCKET, S3_KEY, and S3_SECRET.
  8. Flask Migrate and Seed your database in root directory
    • pipenv shell
    • flask db upgrade
    • flask seed all
  9. Start backend server in root directory
    • flask run
  10. Start frontend server in react-app directory
    • npm start
  11. In your browser go to localhost:3000
  12. 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..

Bonus Features

  • Purchases
    • A user can view their past purchases' information and create/edit reviews on each purchase.
  • 404 page

not found page gif


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages