Skip to content

medicaach/midata-quasar-starter-app

 
 

Repository files navigation

Midata Quasar Starter Application

A starter/demo application created with the Quasar CLI and UI Framework. It provides an introduction to web development and shows what MIDATA is and how to set up an application on the MIDATA test server. It also includes a small MIDATA application that showcases the OAuth 2.0 authentication process and implements basic functionality of the npm package JSonFhir.

This starter/demo application is aimed at students and interested parties who are planning to develop a web application with MIDATA. It should give a first insight into the subjects.

Setup

Node and npm have to be installed on your machine. The nodejs package includes both node and npm executables.

Node

  • Node installation on Windows

    Go to the official Node.js website and download the installer. Also, be sure to have git available in your PATH, npm might need it (You can find git here).

  • Node installation on Ubuntu

    You can install nodejs and npm with apt install, using the following commands.

sudo apt install nodejs
sudo apt install npm

If the installation was successful, you should be able to run the following command.

node --version
v14.17.5

npm --version
7.24.2

If you need to update npm, you can update using npm.

npm install npm -g

Repository

To download the repo from github, use git clone https://github.com/i4mi/midata-quasar-starter-app.git in your terminal.

Install the dependencies

Then change the directory with cd midata-quasar-starter-app and install the dependencies.

npm i

Start the app in development mode (hot-code reloading, error reporting, etc.)

Make sure that port 8080 isn't already in use. You need to be running the webapp on http://localhost:8080, otherwise the MIDATA demo won't work (due to OAuth2 redirect url mismatch).

npx quasar dev

Lint the files

npm run lint

Build the app for production

npx quasar build

Customize the configuration

See Configuring quasar.conf.js.

About

Starter app with connection to MIDATA using Quasar framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 67.9%
  • TypeScript 21.5%
  • JavaScript 9.1%
  • Other 1.5%