Skip to content

j1jlee/fbm-live-auction

Repository files navigation

Marketplace Live Auction

Marketplace Live Auction is a soft clone of FaceBook MarketPlace, and live auction sites such as AuctionZip.com

The idea is to bring the excitement of live sales and items to a marketplace of used goods and antiquesitemndex

Technologies Used

Javascript Python Flask PostgresQL HTML5 CSS3 React/Redux Github

Landing Page

https://raw.githubusercontent.com/j1jlee/fbm-live-auction/main/images/readme-landing-page.PNG

Items

https://raw.githubusercontent.com/j1jlee/fbm-live-auction/main/images/readme-items.PNG

Auction / Bids / Live Chat

image

Wallet

image

Getting started

  1. Clone this repository (only this branch)

  2. Install dependencies

    pipenv install -r requirements.txt
  3. Create a .env file based on the example with proper settings for your development environment

  4. Make sure the SQLite3 database connection URL is in the .env file

  5. Replace the value for SCHEMA with a unique name, making sure you use the snake_case convention.

  6. 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
  7. To run the React App in development, checkout the README inside the react-app directory.

Features

Items

  • Users can create an Item
  • Users can specify an image URL, or upload images from their computer to showcase the item
  • Users can read/view other users' items
  • Users can update their items
  • Users can delete teir items

Auctions

  • Users can create Auctions, with items they create/ win
  • Users can update/delete their own Auctions, up to five minutes before the auction begins
  • Users can view all auctions
  • Users can delete their own Auctions after closing

Bids

  • Users can Bid on Auctions

User Wallet

  • Users can refill their wallets to fund bids/auctions
  • With enough money in their account wallets, users can bid in auctions

Contact

LinkedIn

Endpoints

Frontend Routes

  • Login ('/login')
  • Signup ('/signup')
  • Auction List ('/')
  • Single Auction Page ('/auction/:auctionId')
  • Item List ('/items')
  • Item Details ('/items/:itemId')
  • About page ('/about')
  • How to Bid ('/howtobid')

Backend Routes

Users ('api/users')

  • GET all users (GET '/')
  • GET user by Id (GET '/:userId')

Auctions ('api/auctions')

  • GET all auctions (GET '/')
  • GET single auction (GET '/:auctionId')
  • Create new auction (POST '/new') - Takes user input and creates new Auction item
  • DELETE auction (DELETE '/:auctionId')
  • Close auction (PUT '/"auctionId/close") - Closes out current auction, sets auctionOpen attribute to False.
  • PUT auction (PUT '/auctionId') - Updates name, description, starting Bid amount, and start/end times, depending on user input.

Items ('api/items')

  • GET all items (GET '/')
  • GET single item (GET '/:itemId')
  • Create new item (POST '/new') - Takes user input and creates new Item entry
  • DELETE item (DELETE '/:itemId')
  • PUT item (PUT '/:itemId') - Updates name, description, imageUrl, depending on user input.
  • Trade item (PUT '/:itemId/trade') - Updates ownerId and lastKnownPriceCents based on Auction results.

Bids ('api/bids')

  • GET all bids (GET '/')
  • GET single bid (GET '/:bidId')
  • Create new bid (POST '/new')
  • DELETE bid (DELETE '/:bidId')
  • DELETE auction bids (DELETE '/auctions/:auctionId') - Deletes all bids associated with an Auction

About

App academy capstone project; Facebook Marketplace + Auctionzip live auction clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors