Skip to content

koutyuke/mona-ca

Repository files navigation

mona-ca

mona-ca is an Application that shares information about a girl's period with her partner.

What's inside?

The project uses a mono-repo structure, with the main functions and modules organized in the following directories

📱 apps - application directory

  • 🌐 web: It contains the source code associated with the web application.
  • 📱 mobile: It contains the source code associated with the mobile application.
  • 🖥️ api: It contains the source code associated with the API server.

📦 packages - package directory

It includes packages and libraries that will be reused throughout the project.

  • ⚙️ core: It includes common packages related to business logic and data processing.
  • 🎨 ui: It includes common packages related to UI components and styling.

🛠️ tools - tool directory

It includes tools and settings related to development and operation.

Setup the Development Environment

1. clone git repository

git clone https://github.com/koutyuke/mona-ca.git && cd mona-ca

2. install runtime & package manager

We use proto as a version control tool.

proto use

3. set environment variables

See .env.example for each application

4. install dependencies

bun i

5. set git hook

bunx lefthook install

Development Tool Commands

Perform various checks on all files.

# build
bun run build

# static code check(lint, fmt, imports)
bun run check

# static code check(lint, fmt, imports) & fix
bun run check:fix

# type check
bun run typecheck

# test
bun run test

# Other
# See `scripts` field in `package.json`

CI in the local environment

Perform CI performed by Github Action in a local environment

Install act and Start Docker

# all CI
bun run ci

# app-build
bun run ci:app-build

# app-test
bun run ci:app-test

# app-static-check
bun run ci:app-static-check

Note

Note

Since Biome's VSCode extension does not support workspaces, all settings are rolled up and configured in root's biome.json.

Releases

No releases published

Packages

No packages published