ehr-building-project-file-ui
v0.13.2
Published
Previously known as either: ehr-minu-menetlused-ui or ehr-my-views-ui
Downloads
1,324
Readme
Description
Previously known as either: ehr-minu-menetlused-ui or ehr-my-views-ui
This is a UI project for eehitus-my-proceeding-api. Previously known as ehr-minu-menetlused-api
How to run?
to start the project on local. First do yarn install and yarn start in root folder. Second thing is to open up another terminal with the first on running and cd in to example folder. There also do yarn install and yarn run.
Available Scripts
In the project directory, you can run:
yarn start
Runs the app in the development mode. Open http://localhost:3000 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 test
Launches the test runner in the interactive watch mode.
Generating OpenApi API
openapi-generator version = 6.6.0
version 6 is required for axios 0.x
$ openapi-generator-cli version-manager set 6
$ openapi-generator-cli generate -i http://localhost:9090/v3/api-docs -g typescript-axios --additional-properties=modelPropertyNaming=original --type-mappings=DateTime=Date --type-mappings=object=any
Form Validation
Validation with YUP, using a custom hook useYupValidation.ts.