Skip to content

ahmed-naeem2/AuctionApp

Β 
Β 

Repository files navigation

πŸ›’ Auction Web System – Final Year Project

A full-featured online auction platform built with ASP.NET Core MVC. The system supports secure registration, auction creation, real-time bidding, and complete admin control β€” simulating a professional auction environment with enforced rules and validations.


πŸ“Έ Project Screenshots

Feature Screenshot
Login Page Image
Registration Page Image
Browse Auctions Image
Auction Details Image
My Bids Image
Bidders Image
My Auctions Image
Won Auctions Image
Admin Dashboard Image
Admin Pending Auctions Image
Admin Sell Approval Image
All Users Image

πŸ” Authentication & Identity

  • Role-based system using ASP.NET Core Identity
  • Two roles: User and Admin
  • Secure login and registration forms with validation
  • Blocked users cannot log in until unblocked by an admin

🧭 User Features

βœ… Register & Login

  • Two factory methods for account creation (user & admin)
  • Strong password enforcement
  • Phone number entry during registration
  • Role-based redirection (Admins β†’ Admin Dashboard, Users β†’ Auction Home)

🏷️ Browse Auctions

  • Lists all approved & unsold auctions
  • Search by auction name
  • Displayed in a modern card layout with badges and timestamps

πŸ” Auction Details

  • Full item info: title, price, end time, owner email
  • Uploaded images shown (max 3)
  • Users can place bids on active auctions

🧺 My Auctions

  • Shows all user's auctions with status: Pending, Approved, Rejected, Sold
  • Auctions can be edited or deleted only before approval
  • Full bid list and image management per auction

πŸ† Won Auctions

  • Displays auctions the user has won
  • Owner can click Sell to Bidder for a manual sale
  • If no action is taken, system auto-sells to the highest bidder and requests admin approval

πŸ›’ Selling to Bidder

  • Owners can sell ended auctions to the top bidder
  • Admin must approve before status changes to Sold
  • If owner does not sell manually, system auto-selects top bidder
  • Ensures accountability and delivery validation

πŸ§‘β€πŸ’Ό Admin Features

πŸ”Ž Auction Management

  • View Pending auctions
  • Approve, Reject, or Cancel auctions
  • Full access to auction and user details

πŸ› οΈ User Management

  • Block or Unblock users
  • Blocked users lose access to login and system features

πŸ“œ Admin Logs

  • Logs all admin actions:
    • Action type (approve, reject, block, etc.)
    • Affected auction or user
    • Timestamp
  • Enables system transparency and traceability

βœ… Approve Sales

  • Admin verifies and approves final sale
  • Marks auction as officially Sold

πŸ’Έ Bidding System

  • Users can place bids on approved, active auctions
  • Bids must be higher than both the starting price and current highest
  • Bids stored with amount, timestamp, and bidder identity
  • Once auction ends:
    • Further bids are blocked
    • Top bidder becomes winner
    • Auction appears in their Won Auctions

πŸ” System Rules & Validations

The application enforces critical rules for fairness, security, and data integrity:

  • βœ… Two factory methods for registration: user and admin
  • 🚫 Blocked users cannot access the system
  • πŸ” Strong authorization: users cannot access admin routes or manipulate URLs
  • πŸ”‘ Password strength: weak passwords are rejected
  • πŸ“ž Phone number is required at registration
  • πŸ–ΌοΈ Max 3 uploaded images, each ≀ 3MB
  • πŸ—“οΈ Auction end date must be in the future
  • πŸ’΅ Bids must be higher than both the original and current highest price
  • ⏳ If owner doesn't sell manually after auction ends, the system:
    • Auto-sells to top bidder
    • Sends for admin approval

🧱 Tech Stack

  • ASP.NET Core MVC
  • Entity Framework Core
  • SQL Server
  • ASP.NET Identity
  • Bootstrap 5 / Razor Views

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 60.8%
  • HTML 38.1%
  • Other 1.1%