Skip to content

eralpkaraduman/unity-frontend-developer-assignment

Repository files navigation

Unity Frontend Developer Assignment

Build Status

Generates interstitial ad units to /assets folder

  • 1-interstitial-ad-unit.html
    Ad unit built from static mock ad data.
  • 2-dynamic-interstitial-ad-unit.html
    Ad unit built by fetching a real app data. ( app id is configured in config.json )
  • 3-dynamic-carousel-interstitial-ad-unit.html
    Ad unit with real app data same as previous but with image carousel.

Example result of generated html assets are here in the releases;

Project Boilerplate was generated by: typescript-starter

Prerequisites

  • Tell nvm to set up the configured node version
    $ nvm use

  • Install dependencies
    $ npm install

Start

$ npm run start

  • Generate all assets to /assets

Start in development mode

$ npm run watch

  • Generates all assets to /assets
  • Runs tests in watch mode
  • Recompiles typescript in watch mode
  • Starts a web server for re-generating assets when requested (port is configured in config.json)