Skip to content

wyncode/c39_med_me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MedMe_c39

Purpose

  • To facilitate communication between users and pharmacies with app. Provide faster access to everyday healthcare needs.

Setup

  • git clone this repo
  • cd into it.
  • yarn install
  • cd client && yarn install
  • cp .env.sample .env

Available build commands

  • yarn dev: Runs BOTH your Express.JS and React developer environment locally at the same time. Any logs coming from Express will be prefaced with [0], any logs from create-react-app will be prefaced with [1].
  • yarn server: Runs JUST your Express.JS server.
  • yarn client: Runs JUST your front-end React app.

Open http://localhost:3000 to view your local React app in the browser. The page will reload if you make edits.

To deploy

NOTE: Heroku specifically runs npm start, so don't remove that from your package.json file.

  • heroku create your-app-name
  • heroku config:set MONGODB_URL=<insertYourAtlasDbUri>
  • git push heroku master