/react-medals

Medal Count Widget

Primary LanguageJavaScript

npm install in roor folder

Run the app:

npm start

Serve static build:

npm install -g serve

serve -s build

The GET call is via axios since fetch is not considered best practice in production. Although for these task requirements fetch would have worked just fine.

The AWS URL returns a CORS error on my mac but not my PC. I placed a URL to the JSON on a different AWS bucket with the correct headers.

Boilerplate: create react app