sandikbarr / swapi-react-redux

swapi.co in react redux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SWAPI React Redux

This is a sample React Redux project using the Star Wars API at https://swapi.co

Installation

Prerequisites:

You must have Node installed

Usage

UI

To run the application (in development mode), assuming you are currently in the project root directory, run the following commands:

> npm install
> npm start

The application can be accessed from http://localhost:8080/

Unit Tests

Karma and Jasmine are being used to run our unit tests for the application. You can run the test suite by running the following command:

> npm run test

This will launch a Chrome window to run the specs as well as a headless PhantomJS instance. From the Chrome window, you can click the "Debug" to see an HTML report for the test suite.

About

swapi.co in react redux


Languages

Language:JavaScript 96.3%Language:HTML 3.7%