Skip to content

pagopa/pagopa-api-config-fe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Config - FrontEnd

The project is useful to create and verify some configuration for the pagoPA platform.

Prerequisites

  • Install yarn
  • Install lib dependencies

Available Scripts

In the project directory, you can run:

yarn 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 generate

It generates the client API scripts able to interact with the backend APIs according to its Swagger.
See here for more details about.

  • On MacOSX use macosx:generate:api script.

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
It should be something like the following image

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

yarn test

Launches the test created using Jest.