Health Base

Setup

Prerequisites

The setups steps expect following tools installed on the system.

  • Ruby 2.6.6
  • Rails 6.1.1
  • Yarn or NPM

Check out the repository

git clone git@github.com:anjoseb121/health-base.git

Create database config file

cp config/database.test.yml config/database.yml

Create and setup the database

Run the following commands to create and setup the database.

bin/setup

You should be able to run the server or run the seeds file

rails s
rails db:seed

Tests

You should be able to run the test suit with

rspec spec

Information

Domain model

Domain model image