Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 1.32 KB

file-structure.md

File metadata and controls

15 lines (14 loc) · 1.32 KB

File structure

  • /public contains static assets like the HTML page we're planning to deploy to, or images. You can delete any file in this folder apart from index.html.
  • /src contains our JS and CSS code. index.js is the entry-point for our file, and is mandatory.
    • /components - 'Dumb-components' / presentational. Read More →
    • /constants - App-wide variables
    • /containers - 'Smart-components' that connect business logic to presentation Read More →
    • /images - ...
    • /lib - Utils and custom libraries
    • /models - Rematch models combining actions, reducers and state. Read More →
    • /routes- wire up the router with any & all screens Read More →
    • /store- Redux Store - hooks up the stores and provides initial/template states Read More →
    • /styles- all the SCSS you could dream of
    • /tests contains all of our tests, where the test file matches the resptive file from /src
    • index.js - The starting place for our app