Skip to content

This is an Online Auction Platform built using the MERN Stack. It aims to provide a secure, scalable, and user-friendly platform for buyers and sellers to engage in various auction types with real-time updates and analytics.

Notifications You must be signed in to change notification settings

utkrishtsolanki97/online-auction-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Online Auction Platform

Objective

This application serves the requirement of an online auction platform, designed to revamp the current offline number plate auction system and make it convenient for end users.

Table of Contents

  • Objective
  • Technology Stack
  • Features
  • Project Setup
    • Backend (Server)
    • Online-auction-frontend (Frontend)
  • Usage
  • Authentication Flow
  • API Documentation
  • Contributing
  • License
  • Contact Information

Technology Stack

This is a MERN Stack Application which follows a 3-tier architecture:

  • User: React + Vite Application (Lightweight UI)
  • Server: Node.js + Express (Services and APIs)
  • Database: MongoDB

Features

  • User registration and authentication
  • Real-time bidding system
  • User profile management
  • Admin dashboard for managing auctions

Project Setup

Backend (Server)

  1. Clone the repository:

    git clone <repository-url>
    cd backend
  2. Install dependencies:

    npm install
    
  3. Start the server:

    npm start
    

Online-auction-frontend (Frontend)

  1. Clone the repository:
    git clone <repository-url>
    cd online-auction-frontend
    
  2. Install dependencies:
    npm install
    
  3. Start the server:
    npm run dev
    

Usage

After setting up the project, you can start the backend and frontend servers. Edit the .env files for your desired endpoints and access the application at the ports defined in the .env files for the frontend and backend.

Authentication Flow

Register Screen

image

Login Screen

image

Reset Password

image

View Profile

image

API Documentation

  1. Register User
  • Endpoint: POST /api/auth/register
  • Description: Registration of a user
  • Request Body:
{
  "name": "",
  "email": "",
  "countryCode": "",
  "mobile": "",
  "address": "",
  "password": ""
}
  1. Login User
  • Endpoint: POST /api/auth/login
  • Description: User login
  • Request Body:
{
  "email": "",
  "password": ""
}
  1. Complete Registration
  • Endpoint: POST /api/auth/register-complete
  • Request Body:
{
  "email": "utkrishtsolanki97gmail.com",
  "otp": "789456"
}
  1. Request Password Reset
  • Endpoint: POST /api/auth/request-password-reset
  • Request Body:
{
  "email": "utkrishtsolanki97@gmail.com"
}
  1. Reset Password
  • Endpoint: POST /api/auth/reset-password
  • Request Body:
{
  "email": "utkrishtsolanki97@gmail.com",
  "otp": "557559",
  "newPassword": "Microsoft1#"
}
  1. Get User Profile
  • Endpoint: GET /api/auth/profile
  • Request Body:
{
  "email": "utkrishtsolanki97@gmail.com"
}

Contributing

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Make your changes
  4. Commit your changes (git commit -m 'Add some feature')
  5. Push to the branch (git push origin feature-branch)
  6. Open a pull request

License

This project is licensed under the MIT License.

Contact Information

For any questions or feedback, please contact utkrishtsolanki97@gmail.com.

About

This is an Online Auction Platform built using the MERN Stack. It aims to provide a secure, scalable, and user-friendly platform for buyers and sellers to engage in various auction types with real-time updates and analytics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published