Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 1.65 KB

README.md

File metadata and controls

80 lines (56 loc) · 1.65 KB

Table of Contents

Market-Hub

Description

  • This is a web application that allows users to search for products. Application allows sellers to post products for sale and buyers to search for products to purchase.

Installation

  • To install necessary dependencies, run the following command:
npm i
cd frontend
npm i

Usage

  • To run the application, run the following command:

DEVELOPMENT Make sure to create a .env file in the root directory and add the following variables

PORT=5000
NODE_ENV=development
MONGO_URI=YOUR_MONGO_URI
JWT_SECRET=YOUR_JWT_SECRET
npm run dev

PRODUCTION Make sure to create a .env file in the root directory and add the following variables

PORT=5000
NODE_ENV=production
MONGO_URI=YOUR_MONGO_URI
JWT_SECRET=YOUR_JWT_SECRET
npm run build
node backend/index.js

License

  • This project is licensed under the MIT license. [License: MIT]
  • For more information visit this link: MIT-license

Contributing

  • Contributions are welcome!
  • Fork the repo and submit a pull request.

Authors

Links

MADE WITH ❤️ AND React / Javascript