Table of Contents
There are a few doctors in the office and several patients. Project has scheduling system for creating appointments which are meetings between a single doctor and a single patient. There is also pharmacy that needs to fill prescriptions which are authorized by a single doctor for a single patient as well.
* A doctor may have several appointments scheduled and should be able to see them in order. * A patient may only have one single appointment scheduled at a time and should be able to see their upcoming appointment details. * A doctor may also create a zero or more prescriptions for a patient and should be able to see al the prescriptions that they have currently authorized for all their patients. * A patient should be able to view their current prescriptions.Backend is powered with Java-based Spring Boot framework and Hibernate as its ORM. The front-end is written using modern server-side Java template engine Thymeleaf.
This section will help you install the software needed to run Java code if you don’t have it installed:
- Visit jdk.java.net
- Alternatively, AWS provides an easy-to-install JDK known as Amazon Corretto
- Click on the largest version in “Ready for use”
- Click on your preferred OS (Mac, Windows, or Linux) and continue installation depending on your OS
- Download the file and unzip into Program Files directory/folder
- Copy path to the unzipped program
- In Windows Settings app, search for env, and click Edit System Environment Variables
- Under System variables click New
- Variable name =
JAVA_HOME
, value = path you pasted to jdk unzip, then click OK
Update existing variable- PATH
- Find
PATH
in list, click edit - Click New
- Paste path to jdk such as
C:\Program Files\jdk-17.0.1
- Add
\bin
Follow the instructions for Amazon Corretto
Then in ~/.bash_profile, execute the following:
export PATH=$HOME/Library/Java/JavaVirtualMachines/jdk-16.jdk/bin:$PATH
export JAVA_HOME=$HOME/Library/Java/JavaVirtualMachines/jdk-16.jdk/bin
and then…
$ source .bash_profile
Run the following command to verify your install:
$ java --version
- Copy the URL for the repository
- Open Terminal
- Change the current working directory to the location where you want the cloned directory.
- Type git clone, and then paste the URL you copied earlier.
git clone https://github.com/ileanahi/doctors-office.git
- Press Enter to create your local clone.
$ git clone https://github.com/ileanahi/doctors-office.git
> Cloning into `CoolProject`...
> remote: Counting objects: 52, done.
> remote: Compressing objects: 100% (50/50), done.
> remove: Total 10 (delta 1), reused 10 (delta 1)
> Unpacking objects: 100% (52/52), done.