Skip to content

grantongrant/westbuena

Repository files navigation

West Buena

This project is a West Elm clone. West Buena is the street where I live, in the neighborhood of Buena Park in Chicago, IL. West Buena is a site where users can shop for garden-related products, add those products to their personal shopping cart, checkout, and then track their orders. West Buena is a fullstack application.

westbuena Splash

Technologies

  • Frontend: Javascript, React, Redux, HTML, CSS
  • Backend: Python, SQLAlchemy
  • Cloud Image Hosting: Amazon S3
  • Hosting: Heroku, Docker
  • Control System: GIT

Features

Users can:

  • Create an account, sign in, or log in as a demo user
  • Shopping cart
    • Add to shopping cart (Create)
    • View shopping cart (Read)
    • Update items in shopping cart (Update)
    • Delete items in shopping cart (Delete)
  • Track Orders
    • Create an order by checking out (Create)
    • View details of the order (Read)
    • Return an item on the order (Update)
    • Cancel an order (Delete)
  • Favorites
    • Favorite a product by clicking on a white heart (Create)
    • View your favorites by navigating to Favorites (Read)
      • A favorite product also appears on the site with a red heart
    • Remove a favorite by clicking on a red heart (Delete)
      • In Favorites, this product will no longer appear
  • Search
    • Use a keyword to search for products
  • Upcoming features
    • Save for Later
    • Account details

Screenshots

  • Product Page

westbuena Product Page

  • Shopping Cart

westbuena Shopping Cart

  • Track Your Order

westbuena Track Order

  • Favorites

westbuena Favorites

  • Products

westbuena Products

Setup

  1. Clone this repository

    git clone https://github.com/grantongrant/westbuena.git
  2. Install backend dependencies in root folder westbuena:

    pipenv install --dev -r dev-requirements.txt && pipenv install -r requirements.txt
  3. Install frontend dependencies in folder react-app:

    npm install
  4. Create an .env file with the following variables:

FLASK_APP=app
FLASK_ENV=development
SECRET_KEY=<secret here>
DATABASE_URL=<set url>
SEED_PASSWORD=<set password>
S3_BUCKET=<your bucket name>
S3_KEY=<Access key Id>
S3_SECRET=<Secret access key>
  1. Setup your PostgreSQL user, password and database and make sure it matches your .env file

  2. Get into your pipenv from the main directory, migrate your database, seed your database, and run your flask app

    pipenv shell
    flask db upgrade
    flask seed all
    flask run
  3. In the frontend folder react-app run the app

    npm start

About

This project is a West Elm clone. West Buena is the street where I live, in the neighborhood of Buena Park in Chicago, IL. West Buena is a site where users can shop for garden-related products, add those products to their personal shopping cart, checkout, and then track their orders. West Buena is a full stack application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages