An open API service indexing awesome lists of open source software.

https://github.com/sfatihk/marvel

Marvel Box πŸ¦Έβ€β™‚οΈπŸ¦Έβ€β™€οΈπŸ¦Ήβ€β™‚οΈπŸ¦Ήβ€β™€οΈ
https://github.com/sfatihk/marvel

marvel react reactjs redux redux-toolkit sass typescript

Last synced: 8 months ago
JSON representation

Marvel Box πŸ¦Έβ€β™‚οΈπŸ¦Έβ€β™€οΈπŸ¦Ήβ€β™‚οΈπŸ¦Ήβ€β™€οΈ

Awesome Lists containing this project

README

          

# MARVEL BOX πŸ¦Έβ€β™‚οΈπŸ¦Έβ€β™€οΈ

Website using marvel APIs. It lists Marvel's characters & their comics.

### πŸ‘‰ [Live Preview](https://marvelbox.netlify.app)

## Specification

#### System Specification

- Node: 14.17.6
- npm: 7.22.0

#### .env Variables

You need to Marvel Developer Account (https://developer.marvel.com)

- `REACT_APP_MARVEL_SERVER_URL` : Marvel api gateway url (https://gateway.marvel.com/v1/public)
- `REACT_APP_MARVEL_PUBLIC_KEY` : Marvel developer account public key
- `REACT_APP_MARVEL_PRIVATE_KEY` : Marvel developer account private key

## Setup Steps

Install package with `yarn`

Copy example environment `cp .env.example .env`

Fill blank fields on `.env`

Start the project with `yarn start`

Test the project `yarn test`

## Structure

β”œβ”€β”€β”€β”€β”€β”€ **assets** : images & styles resources

β”œβ”€β”€β”€β”€β”€β”€ **components** : pure components

β”œβ”€β”€β”€β”€β”€β”€ **config** : api configurations

β”œβ”€β”€β”€β”€β”€β”€ **containers** : complex components with store access

β”œβ”€β”€β”€β”€β”€β”€ **layout** : layout components & template

β”œβ”€β”€β”€β”€β”€β”€ **screens** : main screens

β”œβ”€β”€β”€β”€β”€β”€ **services** : requests and api services

β”œβ”€β”€β”€β”€β”€β”€ **store** : store, reducers & state management config

β”œβ”€β”€β”€β”€β”€β”€ **types** : typescript type definition

β”œβ”€β”€β”€β”€β”€β”€ **utils** : other utilized functions