Skip to content

DeVuDeveloper/hospital

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

51 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mayo CLinic .

Diagram

Screenshot

Screenshot

Screenshot

Description πŸ—οΈ

Mayo Clinic is a Ruby on Rails application, for mobile and desktop devices. There are 3 different users with different privileges. Patients can list all doctors, choose General Practice doctors, choose categories of doctors, make appointments, and track appointments with a calendar. Doctors can list patients who created appointments, get patients' info, and after exams send recommendations. Admin can manage all.

(back to top)

Live Demo

(Live Preview)

Getting Started 🏁

Prerequisites and Dependencies πŸ“œ

You will be needing:

  • A terminal terminal

  • A code editor

  • Ruby (follow the instructions based on your OS)

    https://www.ruby-lang.org/en/documentation/installation/
  • Rails (follow the instructions based on your OS)

    https://guides.rubyonrails.org/getting_started.html#creating-a-new-rails-project-installing-rails
  • Postgresql (follow the instructions based on your OS)

    https://www.postgresql.org/download/

Setting Up PostgreSQL

  • The postgres installation doesn't setup a user for you, so you'll need to follow these steps to create a user with permission to create databases. You can skip this if this is not your first time using PostgreSQL

    sudo -u postgres createuser <Username>

Clone this repository

git clone https://github.com/VuDej/hospital.git

Move into the cloned directory with

cd hospital

Setup

Install gems with:

bundle install

Setup the database with:

rails db:create
OR
rake db:create

Run linter

rubocop .

Auto-correct

In auto-correct mode, RuboCop linters offenses will be automatically fixed:

For rubocop:

rubocop -A

OR

rubocop --auto-correct-all

Run Project

Start server with:

rails s
OR
rails server -p 3001 

This will start a server at:

localhost:3000

You can paste or type it on url bar

Run tests

Make sure you have installed gems with:

 bundle install

Then run all the tests with:

rspec spec

(back to top)

Roadmap

  • Set up the repository/repositories on GitHub and use Gitflow.
  • Set up Postgres for the database
  • Create models, controllers and views
  • Create unit tests
  • Create README

(back to top)

Built With πŸ”¨

Languages
RubyRuby on RailsPostgres
Tools πŸ› οΈ
Git GitHub Markdown Visual Studio Code

(back to top)

Authors ✍️

πŸ‘€ vudej
Github profile Linkedin profile Twitter profile

|

(back to top)

🀝 Contributors

Contributions, issues, and feature requests are greatly appreciated!

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "improvements".

  • Fork the Project
  • Create your Feature Branch (git checkout -b feature/yourfeaturename)
  • Commit your Changes (git commit -m 'Add suggested feature')
  • Push to the Branch (git push origin feature/AmazingFeature)
  • Open a Pull Request

Feel free to check the issues page.

(back to top)

πŸ“ License

This project is licensed by License: MIT

Show your support πŸ’ͺ

Give a ⭐️ if you like this project!

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published