freedomcombination / monorepo

Freedom Combination Monorepo
https://ui.wsvvrijheid.nl
4 stars 1 forks source link
chakra-ui monorepo nextjs storybook turborepo typescript

Freedom Combination Turborepo

What's inside?

This Turborepo includes the following packages/apps:

Apps

Packages

Each package/app is 100% TypeScript.

Postgres

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

Install

corepack enable or npm i -g yarn

Start Project

# Install frontend and backend dependencies
yarn setup

# Seed database
yarn import

# Start frontend apps
yarn dev

# Start Individual App
yarn dashboard
yarn foundation
yarn kunsthalte
yarn trend-rights

# Start backend
yarn api

Alternatively you can update NEXT_PUBLIC_API_URL env variable to the staging URL if you don't need to adjust any backend code.

Component Testing

yarn storybook

E2E Testing

npx playwright install
yarn test --ui

Scripts

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

Install Packages

yarn add <package-name>

See i18n-help for command-line translation tool usage details.