Skip to content
This repository has been archived by the owner on Mar 5, 2018. It is now read-only.

TheFourFifths/consus-client

Repository files navigation

Consus Client

Build Status codecov devDependency Status

Developing

Getting Started

Note: You will need a local consus server running while using this application.

# Clone the repository
git clone git@github.com:TheFourFifths/consus-client.git
# Enter the project directory
cd consus-client
# Install dependencies
npm install
# Build the project
npm run build
# Start the application
npm start

Development Scripts

  • npm test: Run the test suite
  • npm run lint: Run the linter
  • npm run integration-test: Run the integration tests (requires server listening on port 8081)
  • npm run lintless-test: Run the test suite without linting
  • npm run build: Build the usable .dist directory
  • npm run coverage: Generate a code coverage report

Project File Structure

  • src: The project's source code
    • lib: Miscellaneous library modules
    • store: Flux stores which contain state and consume actions
    • styles: Styles built with Stylus
    • views: Visual components built with React
      • components: Smaller components
      • pages: Entire pages
  • test: The project's tests
    • functional: Functional tests
    • test-cases: Test case values
    • unit: Unit tests
    • util: Testing utilities