qmongjs

Version CodeQL Deploy app to AWS Node.js CI Codecov test coverage GitHub open issues License: GPL v3

qmongjs is the code behind www.skde.no/kvalitetsregistre.

Installation

You can install the latest version of qmongjs from github.

Run it locally

This is done in two different terminal windows.

Terminal 1

Start a mysql server, so mong-api will get data

sudo systemctl start mysqld

If this is the first time or if you want to update data, follow these instructions.

Run mong-api

git clone git@github.com:mong/mong-api
cd mong-api
yarn install
yarn start # starts at http://localhost:4000

The data in database can be manipulated by using for instance mysql-workbench.

Terminal 2

Run qmongjs

git clone git@github.com:mong/qmongjs
cd qmongjs
yarn install
yarn start # starts at http://localhost:3000

Available Scripts

In the project directory, you can run:

yarn install

Installs all the modules listed as dependencies in package.json.

yarn start

Runs the app in the development mode.
Open http://localhost:3000/kvalitetsregistre to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

yarn test

Launches the test runner in the interactive watch mode.

Ethics

Please note that the 'qmongjs' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Generated using TypeDoc