Skip to content

A complete React/Relay Modern boilerplate with styled-components.

License

Notifications You must be signed in to change notification settings

pt-br/relay-modern-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

relay-modern-boilerplate

Detailed docs coming soon.

You can combine this boilerplate with my GraphQL Server (using Mongoose).

Project Structure

│-- Root
    │-- .babelrc
    │-- .editorconfig
    │-- .gitignore
    │-- LICENSE
    │-- README.md
    │-- package.json
    │-- yarn.lock
    │-- config
    │   │-- webpack.config.js
    │   │-- webpack.production.config.js
    │-- public
    │   │-- index.html
    │   │-- schema.json
    │-- src
        │-- index.js
        │-- pages
        │   │-- anotherPage
        │   │   │-- AnotherPage.js
        │   │-- home
        │       │-- Home.js
        │       │-- Home.test.js
        │       │-- _snapshots_
        │           │-- Header.test.js.snap
        │       │-- components
        │           │-- phones
        │               │-- Phone.js
        │               │-- Phones.js
        │-- router
        │   │-- Environment.js
        │   │-- Router.js
        │   │-- Routes.js
        │-- sharedComponents
            │-- header
                │-- Header.js
                │-- components
                    │-- HeaderTitle.js