Skip to content

fidelman/ataccama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ataccama Test

DEMO

Contents

Development

Install Dependencies

npm i

P.S Use NPM instead of yarn. Heroku supports only one lock file, which was chosen package-lock from NPM. Thank you for understanding.

Commands

  • Run dev server npm start
  • Run Unit tests npm t
  • Run e2e tests in browser npm run cypress
  • Run e2e in console npm run e2e

File Structure

The boilerplate was extended from create-react-app

  • cypress - Files for Testing with Cypress.io
  • .circleci - Setting for Circle CI
  • public/db.json - local copy of the data base
  • src - Source code of the App
    • components
      • common - Reusable Components
      • pages - Components for Pages (It is only one in the current case)
      • ... - specific gourped components
    • ducks - Action Creators / Reducers and so on. Following Redux Ducks
    • redux - Setting Redux store
    • services - Services like API connection
    • utilities - helper functions
    • App.js - Root Component
    • config.js - Setting for App
    • index.js - Entry point

CICD

  • There is pre-commit hook, which runs prettier.
  • Master branch is connected to the PROD env via Heroku.
  • Circle CI is set for pull requests, which checks e2e tests.

About

Ataccama Test App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors