/EVOX-Vehicle-Info

Vehicle info component with data from EVOX's API

Primary LanguageJavaScriptMIT LicenseMIT

EVOX-Vehicle-Info

This repo contains a mock vehicle information component utilizing data from EVOX's API.

User Story

  • As a user, I can view a vehicle image and information on page load.
  • As a user, I can view vehicle image from EVOX's API
  • As a user, I can request new vehicle base on vif number and product type ID.
  • As a user, I can view the updated vehicle image and information on a successful request.
  • As a user, I will be notified of an unsuccessful request.

Build and Run

  1. fork and clone the repo
  2. cd into the directory
cd EVOX-Vehicle-Info
  1. create a .env file in root directory. See example_env.
  2. install node modules
npm install
  1. install budo for LiveReload
npm install budo -g
  1. run build script. (bundle.js has been ignored to prevent injected environment variables from leaking)
npm run build

Demo Images

Initial Page Load Initial Page Load 1 Initial Page Load 2

On Successful Request On Success Request

On Unsuccessful Request On Unsuccessful Request