Skip to content

ogbk/sort-table

Repository files navigation

sort-table

React SPA web page:

  • loads json data into a table
  • sorts data rows by selected field (uses helper function app/utils/sortAlphaNum.js)
  • highlights and displays selected row

Running locally

  • git clone or download this repository
  • cd sort-table or cd sort-table-master
  • npm install
  • run in dev mode: npm run dev
  • run in prod mode: npm run prod

Linting

  • ESLint npm run eslint
  • Sass lint npm run sass-lint

Static typechecking with Flow

  • Stop flow server npm run flow stop
  • Start flow server npm run flow start
  • Run flow npm run flow status

Testing with jest

  • test helper function (app/utils/sortAlphaNum.js): npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published