Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.27 KB

README.md

File metadata and controls

56 lines (37 loc) · 1.27 KB

Familiada

Familiada is a polish clone of Family Feud 🙂

What's inside?

This turborepo uses pnpm as a packages manager. It includes the following apps/packages:

  • api: a Fastify backend

  • web: a Next.js frontend

  • eslint-config-custom: eslint configurations (includes eslint-config-next and eslint-config-prettier)

  • tsconfig: tsconfig.jsons used through the monorepo

Each package/app is:

  • written in TypeScript and extends common config from packages/tsconfig,
  • linted by ESLint and extends common config from packages/eslint-config-custom,
  • pure ESM,
  • documented by local README.md

Get started

Develop locally

Run the following command to start the development environment:

$ dev

It will:

  1. Install all the required tools
  2. Install all dependencies pnpm i
  3. Copy .env.example => .env in each /apps
  4. Run docker-compose up
  5. Run migrations pnpm -w run migrate
  6. Run pnpm run dev
# api
http://localhost:3000/

# web
http://localhost:8080/

Production build

To build all apps and packages, run the following command:

pnpm run build