/bbl-nx

homepage

Primary LanguageTypeScript

bbl-nx

build GitHub deployments CodeFactor All Contributors lastUpdated

blog & homepage project based on monorepo(nx)

  • bbl-nextjs
  • bbl-remix (working in progress)

Links

Feature

  • Framework: Next.js, Remix
  • Deployment: Vercel
  • Styling: Tailwind CSS
  • Tooling: Storybook
  • Build System: Nx.dev

πŸ“‚ Directory Structure

root
β”œβ”€β”€ apps
β”œβ”€β”€β”€β”€ bbl-nextjs
β”œβ”€β”€β”€β”€β”€β”€ src
β”œβ”€β”€β”€β”€β”€β”€β”€β”€ apis
β”œβ”€β”€β”€β”€β”€β”€β”€β”€ components   # components with next
β”œβ”€β”€β”€β”€β”€β”€β”€β”€ libs
β”œβ”€β”€β”€β”€β”€β”€β”€β”€ machines     # integrating machines with an api
β”œβ”€β”€β”€β”€β”€β”€β”€β”€ pages        # Pages
β”œβ”€β”€β”€β”€ bbl-remix        # (Working in progress)
β”œβ”€β”€β”€β”€β”€β”€ app
β”œβ”€β”€β”€β”€β”€β”€β”€β”€ apis
β”œβ”€β”€β”€β”€β”€β”€β”€β”€ components   # components with remix
β”œβ”€β”€β”€β”€β”€β”€β”€β”€ libs
β”œβ”€β”€β”€β”€β”€β”€β”€β”€ machines     # integrating machines with an api
β”œβ”€β”€β”€β”€β”€β”€β”€β”€ routes       # Routes = Pages
β”œβ”€β”€β”€β”€β”€β”€β”€β”€ styles
β”œβ”€β”€ libs
β”œβ”€β”€β”€β”€ features         # all of the code for a feature and putting it in one single place (ex) authentication - login, signup, user data...)
β”œβ”€β”€β”€β”€ apis             #
β”œβ”€β”€β”€β”€ constants        #
β”œβ”€β”€β”€β”€ hooks            # shared hooks
β”œβ”€β”€β”€β”€ images           # image assets
β”œβ”€β”€β”€β”€ libs             # third-party libraries (ex) fetch, axios, sentry...) - facade pattern을 ν†΅ν•œ κ΅¬ν˜„
β”œβ”€β”€β”€β”€ ui-components    # general small components, presentational components (atoms, molecules, organisms, templates)
β”œβ”€β”€β”€β”€ utils            # very small and simple functions, generally pure function (ex) uri, browser)
β”œβ”€β”€ posts              # MD posts directory
β”œβ”€β”€ tools
β”œβ”€β”€β”€β”€ generators       # plop-tempates μ €μž₯μ†Œ
└── README.md

Prerequisites

  • node version 16.13.2

Installing / Getting started

pnpm install
pnpm install --registry=https://registry.npmjs.org/

Setting up Dev

pnpm start

Tests

Running unit tests

pnpm test:affected

Deployment

Dependencies of Graph

pnpm nx graph

Generate UI-Components

pnpm ui-components:new

Supported browsers

  • defaults: Browserslist’s default browsers (> 0.5%, last 2 versions, Firefox ESR, not dead).

Document

Gitflow

  • git flow release start, finish 2.0.16
  • git flow hotfix start, finish 2.0.16-hotfix.0

Contributors


BoBeenLee

πŸ’¬ πŸ“ πŸ› πŸ’» 🎨 πŸ“– πŸ“‹ πŸ’‘ πŸ’΅ πŸ” πŸ€” πŸš‡ πŸ“¦ πŸ”Œ πŸ‘€ πŸ“’ ⚠️ πŸ”§ 🌍 βœ… πŸ“Ή