Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

binxhealth/force-vue-awakens

Repository files navigation

force-vue-awakens

Every generation has a story

Contributing

  • Select an issue to work on (or open your own) and comment to let others know that you are working on it.
  • Fork the repository, commit to master, add #<issue number> to commit messages, and create a pull request.
  • Add Jest and/or WebdriverIO tests where appropriate.
  • Code style: StandardJS
  • Use comments thoughtfully.

Setup

  1. Clone the repository.
  2. Run yarn.
  3. Run yarn start.
  4. Navigate to http://localhost:8080

Resources

Here are some software projects / technologies that are used in this application:

  1. VueJS: JavaScript framework.
  2. Vue Router: VueJS routing library for Single Page Applications (SPA).
  3. Vuex: State management library.
  4. Fetch API: HTTP request API that is polyfilled by Unfetch.
  5. Bootstrap: Style toolkit.
  6. Jest: JavaScript testing framework.
  7. WebdriverIO: WebDriver testing framework.

Testing

Run all tests:

yarn test

Run only Jest tests:

yarn unit

Run a sepcific Jest test:

yarn unit test/home.test.js

Update the snapshots of Jest snapshot tests:

yarn unit -u

Run only WebdriverIO tests:

yarn e2e

Troubleshooting

If you're having problems with The Star Wars API erroring or being slow, you can clone @binxhealth/swapi and run it locally with yarn start. Then all you would have to do is swap the URLs, e.g. https://swapi.co/api/people to http://localhost:8181/api/people.

Acknowledgement