Skip to content
/ Agriproduct Public template

Agricultural Product Website made for the college project "BCA 4th semester" Made with MERN stack and seamless Khalti payment option

Notifications You must be signed in to change notification settings

GauravSah21/Agriproduct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. Clone repo

$ git clone https://github.com/GauravSah21/Agriproduct.git
$ cd AgriProduct

2. Create .env File

<<<<<<< HEAD

  • created to .env in backend an frontend and =======
  • create .env in backend and frontend folder the veriable
Backend .env

JWT_SECRET=
MONGODB_URI=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_URL=
CLOUDINARY_API_SECRET=
GOOGLE_API_KEY=
MAILGUN_DOMIAN=
MAILGUN_API_KEY=

Frontend .env
REACT_APP_KHALTI_PUBLIC_KEY=
REACT_APP_KHALTI_SECRET_KEY=

3. Setup MongoDB

  • Local MongoDB
    • Install it from here
    • In .env file update MONGODB_URI=mongodb://localhost/AgriProduct
  • OR Atlas Cloud MongoDB

4. Run Backend

$ cd backend
$ npm install
$ npm start

5. Run Frontend

# open new terminal
$ cd frontend
$ npm install
$ npm start

6. Seed Users and Products

7. Admin Login

About

Agricultural Product Website made for the college project "BCA 4th semester" Made with MERN stack and seamless Khalti payment option

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •