Coder Social home page Coder Social logo

vidhigoyal619 / besit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raghu150999/besit

0.0 0.0 0.0 9.99 MB

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

JavaScript 90.72% CSS 7.73% HTML 1.55%

besit's Introduction

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

besit's People

Contributors

ankit-shibu avatar mpradhan24 avatar nihaljn avatar poosarladivakar avatar raghu150999 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.