miguelmartinpas / github-search

App to search data in github

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coverage Status

github-search

App in typescript with webpack and jest (UT) to search data in github

I have used

Requirements.

NodeJS 10.

How to run in local.

npm install
npm start

App will run in localhost:8080

You can check app in https://miguelmartinpas.github.io/github-search/

Test.

npm run test

Coverage.

npm run test:coverage

Lint.

npm run lint

Mixin

check file src/components/molecules/DynamicTable/DynamicTable.styles.less

Structure.

  • src/
  • src/App.tsx -> main app
  • src/services
  • src/services/Api/Github.ts -> class to connect to github
  • src/components/molecules
  • src/components/molecules/Search
  • src/components/molecules/Search/Search.tsx -> search input component
  • src/components/molecules/Search/Search.test.ts -> UT for this component
  • src/components/molecules/DynamicTable
  • src/components/molecules/DynamicTable/DynamicTable.tsx -> table component
  • src/components/molecules/DynamicTable/DynamicTable.test.tsx -> table component
  • src/components/molecules/DynamicTable/DynamicTable.styles.less -> responsive styles for table
  • src/components/oraganisms/Dashboard/Dashboard.tsx -> table component
  • src/components/oraganisms/Dashboard/Dashboard.test.tsx -> table component
  • src/components/oraganisms/Dashboard/Dashboard.styles.less -> responsive styles for table

About

App to search data in github


Languages

Language:TypeScript 57.4%Language:JavaScript 24.9%Language:Less 16.9%Language:HTML 0.7%