Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 4.19 KB

README.md

File metadata and controls

41 lines (33 loc) · 4.19 KB


C2C

Description

Consumer‑2‑Consumer is an online platform that enables individuals to borrow and lend items directly with each other for a specified period, without the need for intermediaries.

Features

• The website provides a user‑friendly interface for easy listing, searching, and communication between lenders and borrowers. • The website employs technologies like Multer for secure and reliable file uploads and Sharp for image processing, making it easy for users to list items with attractive visuals. • Additionally, the platform offers a secure payment system, ensuring reliable and safe transactions for all parties involved using Stripe API.

Screenshots

Tech Used

CSS3 JavaScript Heroku Netlify Chakra Express.js NodeJS NPM React Socket.io Redux React Router TailwindCSS MongoDB ESLint Babel Postman

How to Setup:

  • Step 1: Clone the repository
  • Step 2: install npm
  • Step 3: create an env file in the root folder
  • Step 4: Add the following api key in the api file
  • PORT=5000
  • MONGODB_URL=#########DATABASE URL
  • STRIPE_KEY_SERVER=##########STRIPE KEY FOR PAYMENT
  • SENDGRID_KEY=###########SENDGRID KEY FOR SENDING MAILS
  • NODE_ENV=production
  • BASE_URL=http://localhost:5000
  • CLIENT_URL=http://localhost:3000
  • Step 5: Now to run the server put the command "npm run server" in the terminal at the root directory
  • Step 6: To run the client go to client folder by typing "cd client" in the terminal
  • Step 7: Now put the command "npm start" to start the react
  • Step 8: Enjoy😃!!!

Links