-
Application where users notify each other upon medication compliance and track the history
-
Available in any device; mobile, tablet, and PC.
-
versions: Ruby 2.7.5, Rails 6.1.4.4, Node v16.13.1(M1) || v14.15.0(non-M1), Bundler 2.3.0
mobile views: mypage & mypage(easymode) & popup
mobile views: search page & bond page & history
- Front-end: React.js;
- Back-end: Rails
- Web-socket: ActionCable
- Database: PostgreSQL
- APIs: Twilio for text & Recharts for graph
To run this project:
- Create
.env
by using.env.example
cp .env.example .env
- Insert your Twilio information and number in
.env
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_NUMBER=
CONNOR_NUMBER=
JEFF_NUMBER=
AARON_NUMBER=
- Install server dependencies:
# in root dir
$ bundle install
- Create postgreSQL database for rails server:
# in root dir
$ rails db:create
$ rails db:reset
- Install client dependencies:
# in root dir
$ cd client
$ npm install
- Run server and client in a separate terminal
# in root dir
$ rails s # to run server
# move into client dir
$ cd client
$ npm start # to run client