/pyymenta-marvel-spa

[WIP] A simple SPA made with React, using the Official Marvel API

Primary LanguageJavaScriptMIT LicenseMIT

Marvel API SPA

YourActionName Actions Status

A simple Single Page Application made with React, using the Official Marvel API.

Demo

Marvel App Demo

You can try it by yourself here

Setup

Pre requirements

  • Yarn
  • Marvel API KEYS(public and private)

First, install the dependencies

yarn install

then, you need to setup the .env file:

  1. Rename the .env-example file to .env
  2. Fill the variables with your own private and public api key

Run the project locally

yarn start

Storybook

You could also develop components individually using Storybook:

yarn storybook

Production Build

yarn build-storybook

Tests

To run the unit test, just run

yarn test

Application build

yarn build

Workflow

The project is already configured to run prettier and lint on every commit. If you want, you can also run these commands individually

Prettier - code formatter

yarn format

Lint

yarn lint

License

Copyright (c) 2020 pyymenta

Marvel API SPA is licensed under the MIT license.