Monorepo for Elegant Projects
What's inside?
This Turborepo includes the following packages/apps:
Apps and Packages
/apps
web
: another Next.js app with Tailwind CSSapi
: a api server using express and TypeScript
/packages
eslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)eslint-config-custom-server
:eslint
configurations for server-side code (includeseslint-config
andjest
)tsconfig
:tsconfig.json
s used throughout the monorepojest-presets
:jest
presets used throughout the monorepotailwind-config
:tailwind.config.js
used throughout the monorepologger
: a logger package used throughout the monorepoui
: a stub React component library with Tailwind CSS shared by bothweb
anddocs
applications
Each package/app is 100% TypeScript.
Utilities
This Turborepo has some additional tools already setup for you:
- Tailwind CSS for styles
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
Getting Started
Prerequisites
Installation
pnpm install
Running the development server
pnpm dev
Build for production
pnpm build
Running with docker compose
# create network
docker network create -d bridge elegant_network
docker-compose up