Skip to content

Latest commit

 

History

History
69 lines (43 loc) · 1.09 KB

README.md

File metadata and controls

69 lines (43 loc) · 1.09 KB

SPC19 - COVID-19 Parametric Insurance

Overview

Web application associated to SPC19 project.

Developed in React.js using Ant Design Pro.

Follow is the quick guide for how to use.

Environment Prepare

Use Node.js v14.21.3 (lts/fermium) to build and run.

Install node_modules:

npm install

or

yarn

Provided Scripts

Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test.

Scripts provided in package.json. It's safe to modify or add additional script:

Start project

npm start

Build project

npm run build

Check code style

npm run lint

You can also use script to auto fix some lint error:

npm run lint:fix

Test code

npm test

Operation consideration

Open http://localhost:8000 to enter in login page. You can use following demo users:

  • Insurer: insurer / pass
  • Hotel: taker / pass
  • Laboratory: lab / pass