Skip to content

walgarch/marvel-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP proxy and in memory cache with simple React front end

Inkerz FullStack JS Coding Task

This is a simple HTTP proxy and in memory cache with simple React front end for Inkerz.

Installation

Clone repo locally:

$ cd marvel-react
$ npm install

API keys will need to be set up in keys/keys.json with the following structure:

{
  "keys": {
    "public": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "private": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  }
}

To run

$ npm run dev

This will start the front end server and the express api server.

Notable node packages used

body-parser express md5 node-cache react request node-env-run nodemon npm-run-all pino-colada

Research

Setting up a express server https://www.twilio.com/blog/react-app-with-node-js-server-proxy

Caching with node-cache https://medium.com/@danielsternlicht/caching-like-a-boss-in-nodejs-9bccbbc71b9b

Modern React course https://www.udemy.com/react-redux/

William Algar-Chuklin © 2019
Written in VS Code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published