Code Monkey home page Code Monkey logo

agriproduct's Introduction

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

agriproduct's People

Contributors

gauravkrsah avatar gauravsah21 avatar diwashbhattarai999 avatar

Stargazers

 avatar  avatar Vipul Singh avatar Dipesh khaiju avatar

Watchers

 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.