aacanakin / space-challenge

a poc on atomic design, typescript, redux, ad-cli and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

space-challenge

This is a poc on how to atomic design, typescript, react-redux with ad-cli.

Getting Started

  • Clone the repo
git clone git@github.com:aacanakin/space-challenge.git
  • Install dependencies on repository root folder
cd space-challenge
npm install
  • Build
rm -rf coverage && npm run build
  • Serve the app
npm install -g serve
serve -s build

Tests

To run tests, perform the following command on repository root folder;

npm test
npm test -- --coverage # to see coverage report

Future Improvements

  • More tests
    • Generic resource store tests
  • LaunchDetailsPage & LaunchMissionDetailsPage should be unified with a mode option on container
  • Infinite scroll initially requests more than 1 request
    • offset: 0, count: 10,
    • offset: 10, count: 10
    • It should be only 1 request
  • LaunchImage
    • LaunchImage should lazily load images using an image loader library
  • Travis CI integration
    • Build badge
    • Code coverage badge
  • Componentize LaunchMissionList & LaunchMissionListItem

About

a poc on atomic design, typescript, redux, ad-cli and more

License:MIT License


Languages

Language:JavaScript 52.3%Language:TypeScript 45.8%Language:HTML 1.8%Language:CSS 0.1%