This repository contains a simple patient referral system consisting of a Vue web app and a .NET API. Currently most of its functionality does not exist - the Vue web app has no functionality and the API only has a single endpoint.
The repository includes a GitHub Codespaces configuration to avoid development environment setup. To create a codespace:
- Ensure you are signed in with a GitHub account (free GitHub accounts receive 120 monthly core hours of Codespaces usage)
- Click on the Code dropdown -> Codespaces -> Create codespace on main
- Wait whilst the codespace is created and the VS Code extensions are installed. This should only take a minute.
- Make sure to delete the codespace once done as closing the tab does not delete it. You may need to refresh the page before you can see the codespace to delete it.
To run the Vue app:
- In the terminal, change directory to
/frontend
- Run
npm install
to install the app's dependencies - Run
npm run dev
to start the app.
To run the .NET API:
- Open
Program.cs
- Click on the debug button in the top right of the screen to start the API. This should open a new tab with the address
https://<<YOUR CODEBASE AND PORT>>.app.github.dev
- Navigate to
https://<<YOUR CODEBASE AND PORT>>.app.github.dev/swagger
. From here, you should be able to test out the existing endpoint.