A monorepo setup using Turbo.
- backend: Built with Hono and deployed on AWS Lambda.
- frontend: Built with Vite and React.
- deploy: Deploys to AWS using AWS CDK.
- database: Database schema, migrations, and database operations.
- model: Defines application data models.
- openapi: Provides API documentation using OpenAPI specifications.
- runtime-config: Frontend runtime configuration.
- typescript-config: Shared TypeScript configuration files.
- ui: Shared component library for frontend.
To set up the project for development:
./scripts/setup.sh
Use the following command to commit your changes:
npm run commit
To build the entire project:
npm run build
To start the development server:
npm run dev
To run code quality checks:
npm run check
To fix any code issues automatically:
npm run fix
To check for new versions of dependencies using npm-check-updates
:
npm run ncu
To upgrade dependencies to their latest versions using npm-check-updates
:
npm run ncu:apply
To build the Storybook:
npm run build-storybook
To open the storybook:
npm run storybook
To start the PostgreSQL database using Docker Compose:
docker compose up -d
To migrate the database in a development environment:
npm run migrate:dev -w packages/database