Petsy is is a Flask - React fullstack clone of Etsy, the ecommerce website. It was built to act as a marketplace where animals could buy and sell products they make to each other.
- Open Petsy: Petsy
- Javascript
- React
- Redux
- PostgreSQL
- Python
- Flask
- SQLAlchemy
-
Clone this repository (only this branch)
-
Install dependencies
pipenv install -r requirements.txt
-
Create a .env file based on the example with proper settings for your development environment
-
Setup your PostgreSQL credentials and database according to the variables set in .env.
-
This starter organizes all tables inside the
flask_schema
schema, defined by theSCHEMA
environment variable. Replace the value forSCHEMA
with a unique name, making sure you use the snake_case convention. -
Get into your pipenv, migrate your database, seed your database, and run your Flask app
pipenv shell
flask db upgrade
flask seed all
flask run
-
To run the React App in development, checkout the README inside the
react-app
directory. -
The application will now be running at http://localhost:3000/.
In Petsy, users can:
-
Authenticate:
- Sign up, log in, use a Demo User feature, and log out.
-
Products:
- View, create, edit, and delete products and product listings. A search and organization features have also been implemented.
-
Reviews:
- View, add, edit, and delete reviews for products that the authenticated user purchased.
-
Shoppping Cart:
- View all products added to cart, as well as add more products, remove products, and edit quantity in the cart. Transactions can be successfully completed.
-
Favorites:
- View list of favorites, and add and delete product favorites from list.
This site is still being updated and completed. Future features will include:
- Stripe payment API
- More comprehensive listing management page