Skip to content

IsmaelB83/marvel-random-hero-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marvel-random-hero-demo

This project is simple react app created as a demo for the npm module marvel-random-hero. Marvel-random-hero is my first npm package published. I created it for the Keepcoding Bootcamp Fullstack Web Development, which I am studying at the moment.

Install

git clone https://github.com/IsmaelB83/marvel-random-hero-demo.git
cd marvel-random-hero-demo
npm install 

Usage

I used create-react-app as the framework to create the react app, therefore starting this app is that easy as: this module generates the hash required by Marvel API

npm start

The only consideration is to have a proper .env file in the root directory. This .env file requires two variables, which are the public and private api keys provided by Marvel when registering to use their API. More information ]here

REACT_APP_PUBLIC=12345678900987654321
REACT_APP_PRIVATE=1234567890qwerty0987654321

About

Simple react app to work as a demo of my npm package marvel-random-hero

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published