Skip to content
/ Pongo Public

An Application that Allows Users to Buy and Sell Items

Notifications You must be signed in to change notification settings

rhsu0268/Pongo

Repository files navigation

Pongo

Live URL

http://p4.rhsu.me

Description

As semester comes to a close, students are often rushing to clean out their dorms before heading home. Textbooks, leftover school supplies, and other bells and whistles are often tossed aside without much thought. This is a Laravel application that will allow users to post the items that they wish to sell, buy other items posted by other users, view a history of transactions, and get real-time emails of their purchases in the form of a sales receipt.

Demo

https://www.youtube.com/watch?v=rHJwL5YzBMs

Details for teaching team

  1. The 101 Dalmations cartoon/movie is one of my all time favorites and it served as an inspiration for the name of the site.
  2. The site requires user login credentials and the 2 required default ones are set up in the migrations:
  3. I did implement an email functionality with Mailgun. I haven't tried with "Mandrill".
  4. When users click the buy button to purchase the item, the sales receipt will be emailed to them. I created two test users for this feature since the default are not actual email addresses:
  5. Database: Consists of three tables in addition to users:
    • added_items: User's added_items.
    • public_items: Items public for sale.
    • transactions: Records all BUY and SELL tansactions.
  6. CRUD Operations - These are examples:
    • Create: Users can add items to their Added Items table.
    • Read: User's myspace page consists of their added items and their transactions.
    • Update: Users can make an item public. That will update the item in the added_items table.
    • Delete: Users can delete an item that they have added. This will also work after they made the item public.
  7. Server-Side Error Validation: This was done on the add items page with all the fields.
  8. Sales Tax: I used a 10% sales tax for all transactions which might be excessive but made the calculations easy for checking.

Outside code

About

An Application that Allows Users to Buy and Sell Items

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages