This SeatSavvy repo includes the following:
web: a Next.js appapi: an HonoJS server@seatsavvy/ui: a React component library@seatsavvy/logger: PinoJS logger@seatsavvy/eslint-config: ESLint presets@seatsavvy/typescript-config: tsconfig.json's used throughout the monorepo@seatsavvy/jest-presets: Jest configurations
Each package/app is 100% TypeScript.
# set node version using nvm
nvm use
# Install dependencies
npm install
# To spin services locally (eg: db, mail, etc..,)
docker compose up
# To start all the apps in dev mode
npm run devOpen http://localhost:3000.
To shutdown all running containers:
# Stop all running containers
docker kill $(docker ps -q) && docker rm $(docker ps -a -q)This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Jest test runner for all things JavaScript
- Prettier for code formatting