Skip to content

Kombobill/phase-4-project

Repository files navigation

Phase-4-Project

Live page Frontend

   https://hospitali.vercel.app

Backend

  https://quikhealth-l66y.onrender.com

Description

  • This is a client and API repository for a hospital management application.

Getting Started

In order to use this repository, you need to have the following installed:

  • An OS [either: Windows 10+, Linux or MacOS]

  • Ruby - 3.0 or later.

Installation

To use this repository on your machine follow these steps.

Alternative One

  • Open a terminal / command line interface on your computer

  • Clone the repo by running the following command:

git clone git@github.com:Kombobill/phase-4-project.git
  • Change directory to the repo folder:
cd phase-4-project
  • Open it in Visual Studio Code
code .

(Alternate Option) Open it in any editor of your choice.

Alternative Two

  • On the top right corner of this page there is a button labelled Fork.

  • Click on that button to fork the repo to your own account.

  • Take on the process in Alternative One above.

  • Remember to replace your username when cloning.

git@github.com:<your_username>/phase-4-password-protection-lab.git

Project SetUp

  • Run and install our dependency gems in the Gemfile in the terminal:
bundle install
  • Run the migrations:
rails db:migrate
  • Seed the database data:
rails db:seed
  • Run the server:
rails s

React Set-up

  • To set up the React frontend, install the dependencies:
npm install --prefix client
  • Run the server:
npm start --prefix client

User Stories

A user of the site is able to:

  1. View the homepage
  2. Register a patient with a nurse of their choice
  3. Login after signing up
  4. Display a list of all patient's appointments
  5. Book an appointment with a preferred practitioner
  6. Delete a listed appointment
  7. Logout of the session

Technologies used

  • Ruby on Rails
  • React
  • CSS

Authors

MIT License (ISC)

License: ICL

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published