Challenge Frontend React

Introduction

This is a Challenge for a Frontend React Developer position. The instructions for this challenge are here.

The time estimated to complete this challenge is about 3-4 hours.

Getting started

Install dependencies

yarn install

Set environment variables

Copy .env.sample to .env file and set the following variables with your own values:

  • REACT_APP_GOOGLE_OAUTH_ID => Google OAuth Client ID generated from here
  • REACT_APP_HASH_VERSION => A random hash to use it for caching the current version state

Start in development mode

yarn dev

Build for production

yarn build

Serve build files

yarn serve

Run tests

yarn test