Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit 10b5e66

Browse files
committed
Merge branch 'main' of github.com:DIPSAS/hello-open-dips
2 parents 31171b3 + 13457fa commit 10b5e66

2 files changed

Lines changed: 30 additions & 24 deletions

File tree

README.md

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,42 @@
1-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
1+
# Hello Open DIPS React App
22

3-
## Getting Started
3+
Thanks for checking out our Hello World SMART on FHIR app that connects to our
4+
DIPS sandbox, [Open DIPS](https://open.dips.no)! In short this application
5+
showcases how you can build a SMART on FHIR app that works with DIPS Arena.
6+
It's a patient-specific app which fetches some basic information about the
7+
patient, e.g. their date of birth and a list of documents in the EHR.
48

5-
First, run the development server:
9+
![Screenshot of the app](public/screenshot.png)
610

7-
```bash
8-
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
# or
14-
bun dev
15-
```
16-
17-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
11+
# Try the app
1812

19-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
13+
If you'd only like to see how the app looks, go to
14+
[hello.open.dips.no](https://hello.open.dips.no). When asked for credentials you
15+
can use `OPENDIPS` as both username and password. You can see more information
16+
about valid data to test with on [open.dips.no/data](https://open.dips.no/data)
2017

21-
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
18+
# Run the app yourself
2219

23-
## Learn More
20+
To run this app yourself,
2421

25-
To learn more about Next.js, take a look at the following resources:
22+
1. Clone down the repository
2623

27-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
24+
```
25+
$ git clone https://github ...
26+
```
2927

30-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
28+
2. Go to open.dips.no/profile and grab the subscription key to our APIs. The
29+
app needs the subscription key to be able to call our APIs.
30+
3. Replace the subscription key in the `.env` file.
31+
4. Build and run the app with `npm`. PS: You'll need to download and install [Node.js](https://nodejs.org/en/) first!
3132

32-
## Deploy on Vercel
33+
```
34+
$ npm install
35+
$ npm run build
36+
$ npm run start
37+
```
3338

34-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
39+
# Questions?
3540

36-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
41+
If you have any questions or issues [please submit a new Issue!](https://github.com/DIPSAS/hello-open-dips/issues/new/choose)
42+
If you want to contribute to the app, or have any changes, feel free to submit a pull request.

public/screenshot.png

82 KB
Loading

0 commit comments

Comments
 (0)