Skip to content

muhrusdi/cra-boilerplate

Repository files navigation

React Starter

Structure Folder

-- hyperion/
-- src/
    -- components/  // berisi component-compnent
    -- containers/ // berisi halaman-halaman web
    -- hocs/
    -- hooks/
    -- images/
    -- overmind/ // state management
    -- routes/  // route app
    -- utils/
        -- modify-vars
        -- themes
-- .env
-- config-override.js

Environment

.env:

HOST_PROD=https://example.com
HOST_BETA=https://dev.example.com
HOST_DEV=https://beta.example.com
PORT_DEV=3000
PORT_PROD=4000
PORT_BETA=5000