nicktu12 / swapi-box

This project focuses on displaying data from the Star Wars api using nested API calls, and is build with React utilizing reusable, modular components.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SWAPIbox

This project focuses on displaying data from the Star Wars api using nested API calls, and is build with React utilizing reusable, modular components.

swapi

Getting Started

Install npm on your local machine and obtain an API key from the Star Wars API. Clone down this repository to get started.

Installing

Install dependencies using the following command:

npm install

Start the application on localhost:3000 with the following command:

npm start

Running the tests

To run the test suite (powered by Jest and Enzyme), enter the following command:

npm run test

The test suite verifies that data is displayed properly on the virtual DOM, and unit tests for javascript functionality.

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Extensions

  • Utilize fetchMock() for testing nested API calls.

About

This project focuses on displaying data from the Star Wars api using nested API calls, and is build with React utilizing reusable, modular components.

License:MIT License


Languages

Language:JavaScript 83.8%Language:CSS 12.1%Language:HTML 4.0%