Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 1.73 KB

README.md

File metadata and controls

65 lines (48 loc) · 1.73 KB

CoachMe Health Automated SMS Dashboard

Automated SMS dashboard with chatbot for automatically monitoring and tabulating patient data. Built Fall 2020 under Hack4Impact Penn.

Project Manager/Technical Lead: Ben Demers, Carol Li

Team Members:

  • Cindy Jiang
  • Jared Asch
  • Subin Lee
  • Alex Xu
  • Gautam Narayan
  • Grace Fujinaga
  • Matthew Dong

Setting Up

Recommended Tools Checklist

Installing Requirements

$ git clone https://github.com/Orang-utan/ts-boilerplate.git
$ cd ts-boilerplate
$ yarn setup
Configuring Enviromental Variable

Create file called ".env.development" in root directory, it should look like the following:

ATLAS_URI=mongodb-connection-string-placeholder
JWT_SECRET=my-secret-jwt-key-placeholder
TWILIO_ACCOUNT_SID = twilio-account-sid-placeholder
TWILIO_AUTH_TOKEN = twilio-auth-token-placeholder
TWILIO_PHONE_NUMBER = twilio-number-placeholder

Then, create another file called ".env" in "src/client", it should look like the following:

REACT_APP_API_URL="http://localhost:5000"

Running Project

$ # run both server and client
$ yarn dev
$ # run server only
$ yarn server
$ # run client only
$ yarn client

To Deploy

Deploying this project on Heroku is dead simple. Basically, go on Heroku and create a new Heroku app, connect your project Github to your new Heroku app, and hit Deploy. Note, that you will need to configure the enviromental variable under settings.