Skip to content

A generic React questionnaire web application was inspired by TypeForm

License

Notifications You must be signed in to change notification settings

MagtonHub/questionnaire

Repository files navigation

Introduction

A generic React questionnaire web application was inspired by TypeForm.

This React project is initialized with create-umi. Follow is the quick guide for how to use.

Features

  • GroupRadio items
  • Multichoice items
  • Text (single/multilines)
  • Jumps

Screenshot

React Questionnaire App

React Questionnaire App

Environment Prepare

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

Accessing questionnaire

you can access the questionnaire by identifier querying:

http://localhost:8000/:id (e.g. http://localhost:8000/ewBzTS).

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

Disclaimer

The logos used for in this project is for demonstration purpose. All logos are trademarks™ or registered® trademarks of their respective holders. The use of them does not imply any affiliation with or endorsement by them.