Skip to content

freedomcombination/monorepo

Repository files navigation

Freedom Combination Turborepo

What's inside?

This Turborepo includes the following packages/apps:

Apps

Packages

  • config: @fc/config Menus, Seo, Theme, Constants
  • context: @fc/context AuthContext
  • eslint-config-fc: Eslint
  • lib: @fc/lib Fetchers
  • mocks: @fc/mocks Strapi Mock Data
  • stripe: @fc/stripe Stripe
  • secrets: @fc/secrets Secret Env Variables
  • services: @fc/services Queries, Mutations, Fetch Functions
  • tsconfig: Tsconfig
  • types: @fc/types All Strapi Model Types
  • ui: @fc/ui Components, Storybook
  • utils: @fc/utils Utility Functions

Each package/app is 100% TypeScript.

Postgres

You need to have a running PostgreSQL server locally on port 5432

Start Project

yarn install
# Start all apps
yarn dev

# Start Individual App
yarn dashboard
yarn foundation
yarn kunsthalte
yarn trend-rights
yarn storybook
# The backend (api) will always be accessible via localhost:1337 for dev mode.

Scripts

yarn lint # Checks lint issues
yarn clean # Deletes node_module and build folders
yarn format # Formats all files

Install Packages

yarn add -W <package-name>