Skip to content

Instantly share code, notes, and snippets.

@unlight
Last active February 9, 2024 20:16
Show Gist options
  • Save unlight/68a69ba19c06512f18f254ff702a9e38 to your computer and use it in GitHub Desktop.
Save unlight/68a69ba19c06512f18f254ff702a9e38 to your computer and use it in GitHub Desktop.
frontend architecture layers
  1. API
  2. Container Components
  3. Dumb components
  4. UI (reusable everywhere)

Suffixes for sub apps

  • portal (e.g. etm.portal)
  • frontend
  • web
  • api (graphql)

Resources

Notes

Folder structure (src)

  • main.tsx - main entry point
  • pages - top level page components
  • components - components
  • i18n - jsons localizations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment