Skip to content

shahshubh/medEasy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f0d7fe3 · Sep 15, 2020
Apr 11, 2020
May 14, 2020
Apr 15, 2020
Apr 14, 2020
Apr 17, 2020
Apr 15, 2020
Apr 22, 2020
Feb 29, 2020
Sep 15, 2020
Apr 15, 2020
May 14, 2020
Mar 9, 2020
Apr 12, 2020
Apr 14, 2020

Repository files navigation

medEasy

An Online E-commerce website for medicines.

Deployed at

https://medeasyy.herokuapp.com

  • For admin side

      Login using
      `email: [email protected]`  `password: admin`
    

    or

      on signup enter admin code = `"secretcode"`
    
  • For user side

      signup using your valid email-id to recieve order confirmation email.
    

Demo

USER SIDE


Home Page




Shopping Cart




Orders




Order Details



ADMIN SIDE


Dashboard




All Orders




Pending Orders



To run the project locally

  • clone this Repository by git clone https://github.com/shahshubh/medEasy.git.
  • Inside root directory create a .env file and add these
    • DATABASEURL=mongodb+srv://shubh:[email protected]/test?retryWrites=true&w=majority
    • MAILPASS=your_mail_pass
      • Also change user field to your email id in routes/shoppingcart.js file on Line 177 and Line 250 .
    • CAPTCHASECRETKEY=your_secret_key
    • CAPTCHASITEKEY=your_site_key
      • This is required for google recaptcha on signup page. You need to get your secret key and site key from here
      • If you don't want to do this then leave these two env variables. Only recaptcha won't appear rest application would work fine.
  • Now in the terminal run:
    • npm install
    • node app.js
  • Open your browser and enter url http://localhost:3000

Tech Stack of this Project

  • Frontend: Html, Css, JavaScript, Bootstrap
  • Backend: Nodejs
  • Framework: Expressjs
  • Database: MongoDB

Developers