Skip to content

Nexters/Bottles_Web

Repository files navigation

bottle_logo

This is an official repository for @bottlesteam web


What's inside?

This Turborepo includes the following packages/apps:

Apps and Packages

  • bottle: a Next.js project for web view inside the Bottle native app
  • demo: a Next.js project for demo usage on the browser
  • web: a Next.js project for a promotional website
  • admin: a React project for the admin panel managing the Bottle app
  • @bottlesteam/ui: a stub React component library shared by services located in apps/**
  • @bottlesteam/utils: a React, Next.js util library shared by services located in apps/**
  • @bottlesteam/eslint-config: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • @bottlesteam/typescript-config: tsconfig.jsons used throughout the monorepo
  • @bottlesteam/vitest-config: vitest.configs used throughout the monorepo
  • @bottlesteam/e2e: a package that runs e2e tests for each services

Each package/app is 100% TypeScript.

Install Dependencies

To install dependencies for all apps and packages, run the following command:

pnpm install

Build

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

pnpx turbo run build

Develop

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

pnpx turbo run dev

Test

To test apps, run the following command:

pnpx turbo run test
pnpx turbo run test:e2e