/StarWiki

Star Wars wiki app

Primary LanguageTypeScript

StarWiki

Star Wars wiki app using Swapi

Table of Contents

  1. Getting Started
  2. Development
  3. Testing

image

image

Getting started

Installing Dependencies:

$ yarn

Running the app:

$ yarn start

For starting the app on a specific OS:

$ yarn ios | yarn android

‍Development

  • Eslint is used in the project to enforce code style and should be configured in your editor.

  • Prettier is also used and applied automatically by eslint

  • Typescript is used in the project for type-checking and should be configured in your editor.

You can check this manually by running:

$ yarn lint

You can ask eslint to fix issues by running:

$ yarn lint:fix

Testing

Use the following command to run unit tests with coverage:

$ yarn test

Use the following to update unit tests

$ yarn test -u

Use the following to run unit tests in watch mode while developing:

$ yarn test --watch