Skip to content
forked from Raghu150999/BESit

A Web Application platform for buying, exchanging and selling of second-hand items. Aimed for college students of BITS Pilani Hyderabad Campus.

Notifications You must be signed in to change notification settings

keydanger/BESit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BESit

A MERN application for Buy, Exchange, Sell of items. Aimed for a college environment where physical communication is very easy between sellers and buyers. Hence, can be used very effectively. For example, exchange of novels, buying second-hand books from seniors etc.

Features

Seller

  • upload items
    • add description
    • add single or multiple images for the item
    • specify expected price
  • manage uploaded items
  • view interested buyers
  • remove items / update status of items

Buyer

  • search for items
  • show interest on items, which are then notified to the seller
  • add requirements (specific items that buyers may require)

Others

  • commenting on uploaded items
  • notifications for item status update, buyer interest etc

Usage

To run the code on localhost,

Install requirements

 npm install 

File structure

The project is divided into two parts. One is the server side code (Nodejs) and other is the client side server (React). client and server folder contain the code for client and server side respectively.

.env file

Create a .env file in the root directory with,

JWT_SECRET="your_secret_key"
MONGODB_URI="your_mongodb_localhost_uri"

your_secret_key can be any string. This is used to create secure JWT tokens. your_mongodb_localhost_uri will be your mongo localhost URI. Usually it is like this: mongodb://localhost/<your_db_name>

Start Node server

From the root directory of the project run.

 node app.js 

Start React server

Now, move to the client directory and run.

 npm start 

This initiates a script to run the React server on the localhost:3000.

Open browser and go to http://localhost:3000 to view the application.

Technologies used

  • MongoDB for database management
  • Express and Nodejs for server side
  • React for client side

Visit

About

A Web Application platform for buying, exchanging and selling of second-hand items. Aimed for college students of BITS Pilani Hyderabad Campus.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.8%
  • CSS 7.7%
  • HTML 1.5%