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
Javascript Python Flask PostgresQL HTML5 CSS3 React/Redux Github
-
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
-
Make sure the SQLite3 database connection URL is in the .env file
-
Replace the value for
SCHEMAwith 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-appdirectory.
- 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
- 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
- Users can Bid on Auctions
- Users can refill their wallets to fund bids/auctions
- With enough money in their account wallets, users can bid in auctions
- 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')
- GET all users (GET '/')
- GET user by Id (GET '/:userId')
- 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.
- 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.
- 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

