├── .browserslistrc ├── .gitignore ├── README.md ├── babel.config.js ├── jest.config.js ├── package-lock.json ├── package.json ├── public ├── favicon.ico └── index.html ├── screenshots ├── landingpage.png ├── order-button-page.png └── userdetailpage.png ├── src ├── App.vue ├── assets │ └── logo.png ├── components │ ├── Header.vue │ ├── UserDetail.vue │ └── steps │ │ ├── FormOne.vue │ │ ├── FormTwo.vue │ │ └── Intro.vue ├── main.js ├── router │ └── index.js ├── services │ └── GitHubApi.js ├── store │ └── index.js └── views │ └── Home.vue └── tests └── unit ├── Home.spec.js └── UserDetail.spec.js /.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | 6 | # local env files 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | pnpm-debug.log* 15 | 16 | # Editor directories and files 17 | .idea 18 | .vscode 19 | *.suo 20 | *.ntvs* 21 | *.njsproj 22 | *.sln 23 | *.sw? 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # multi-step form app 2 | 3 | [](https://app.netlify.com/sites/vue-multi-steps/deploys) 4 | 5 | DEMO: [https://vue-multi-steps.netlify.app/](https://vue-multi-steps.netlify.app/) 6 | 7 | This is a simple app that guides a user through a multi-step process to register into a community group. 8 | 9 | By filling up the form step-by-step, you will get more information from Github APIs at the end. 10 | 11 |  12 |  13 | 14 | ## Technologies 15 | 16 | - Vue.js 3 17 | - Vuex 4 18 | - [vee-validate 4](https://vee-validate.logaretm.com/v4/) with [yup](https://github.com/jquense/yup) 19 | - Axios 20 | - Jest 21 | 22 | ## Project setup 23 | 24 | To run this project, use the following commands in your terminal: 25 | 26 | ``` 27 | # clone the repository 28 | git clone git@github.com:peterchencc/vue-multi-steps.git 29 | 30 | # change the folder 31 | cd vue-multi-steps 32 | 33 | # install dependencies 34 | npm install 35 | 36 | # Compiles and hot-reloads for development 37 | npm run serve 38 | 39 | # Compiles and minifies for production 40 | npm run build 41 | 42 | # Run unit tests 43 | npm run test:unit 44 | ``` 45 | 46 | ## Project structure 47 | 48 | The home page contain two part, `