Skip to content

YYYWeee/PinThis

Repository files navigation

Welcome to PinThis!

PinThis is a Pinterest clone where users have full CRUD on Pin, Board, Comments and favorite functions. The backend of PinThis is built on Python with a PostgreSQL database. Frontend rendering is handled with React. Check out a live version of PinThis here

Technologies Used

JavaScript Flask Postgres NodeJS React Redux AWS

Getting started

  1. Clone this repository
  2. Install dependencies
  • Backend
      pipenv install
  • Frontend
      npm install
  1. Create a .env file based on the example with proper settings for your development environment, you should have these key in the .env file .

    • SECRET_KEY
    • DATABASE_URL
    • SCHEMA
    • S3_BUCKET
    • S3_KEY
    • S3_SECRET
  2. Make sure the SQLite3 database connection URL is in the .env file

  3. Set up your database with information from your .env and then run the following to create your database, migrate, and seed

 pipenv shell
pipenv db init
 flask db migrate
flask db upgrade
flask seed all
  1. Start the app for both backend and frontend using:
  • backend :
    • pipenv run flask run
  • frontend :
    • npm start

Landing Page

2023-08-05 23 44 04

Sign up & Log in

2023-08-05 23 32 35

Home Page

Screenshot 2023-08-05 at 11 37 14 PM

Pin detail page

2023-08-05 23 36 00

Create Pin page

2023-08-05 23 53 52

Create a board and invite collaborators

2023-08-06 00 14 18

Favorite a specific pin

2023-08-06 22 32 11

Features

Pins

  • Users should be able to view all posted Pins.
  • Users should be able to create new posts.
  • Users should be able to update their posts
  • Users should be able to delete their posts.

Boards

  • Users should be able to view all boards on a user's profile.
  • Users should be able to create new boards and add/remove Pins.
  • Users should be able to update their boards.
  • Users should be able to delete their boards.

Comments

  • Users should be able to view all comments on a pin.
  • Users should be able to create new comments on a pin.
  • Users should be able to delete their comment from a pin.

Favorites

  • Users should be able to see all Pins they favorited.
  • Users should be able to favorite Pins.
  • Users should be able to unfavorite Pins.

About

GroupProject

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages