qmongjs is the code behind www.skde.no/kvalitetsregistre.
You can install the latest version of qmongjs from github.
This is done in two different terminal windows.
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.
Run qmongjs
git clone git@github.com:mong/qmongjs
cd qmongjs
yarn install
yarn start # starts at http://localhost:3000
In the project directory, you can run:
yarn installInstalls all the modules listed as dependencies in package.json.
yarn startRuns 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 buildBuilds 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 testLaunches the test runner in the interactive watch mode.
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