A template to create a back-end project workspace (a.k.a. "monorepo") for the specific technology stack.
Caution
๐ง Under construction
Below is the list for the shared dependencies used in the project.
- Zod - schema validation with static type inference
- [TypeScript] - superset of JavaScript that compiles to clean JavaScript output
Below is a quick navigation on how to navigate this project workspace root directories.
.
โโโ [1] .husky
โโโ [2] apps
โโโ [3] coverage
โโโ [4] docs
โโโ [5] packages
โโโ [6] types
Where as:
[1] .husky
-> Git hooks setup for this project powered by husky[2] apps
-> binary packages (applications)[3] coverage
-> auto-generated (by Vitest) tests coverage (ignored by default via.gitignore
)[4] docs
-> auto-generated (by TypeDoc) documentation site (ignored by default via.gitignore
)[5] packages
-> library packages[6] types
-> types for the workspace
This section shows how to setup this project on your device.
- Node.js LTS
- pnpm
- Docker or Orb
-
Install the workspace dependencies:
pnpm install
-
Setup environment variables:
pnpm setup:env
-
Build the packages (both binaries and libraries):
pnpm build
-
Setup the database:
pnpm setup:db