Skip to content

katrotz/github-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Explorer

Monorepo managed using lerna, containing implementations of a code challenge task using several front-end frameworks

Live preview

Please note that the preview versions might have routing issues due to relative path they are served from. In case of issues, please consider running the local server as described below.

How to

It requires npm package lerna globally pre-installed. Tested with node@8, npm@5.

Install

Type the following command in the root directory of the monorepo. It will install the dependencies for all packages.

lerna bootstrap

Run

Run the local web server for a specific application and follow the shell instructions

    cd packages/{packageName}
    npm start 

Test

To test all the packages run

    lerna run test

which will execute npm test in each package. To test a specific package run

    cd packages/{packageName}
    npm test 

About

Angular

  • Written in TypeScript | ES2015
  • Linted using tslint
  • Tests basic functionality with jasmine
  • Uses the UI Library Clarity UI
  • Live preview can be found here

React

  • Written in JSX | ES2015
  • Unfortunately did not finish due to time constraints. Would have been linted using eslint.
  • Tests basic functionality with jest and enzyme
  • Uses the UI Library Ant Design
  • Live preview can be found here