This repo will contain 2 backend services and possible future frontend consumers for one of those services, and an administration panel.
The ultimate aim is provide a backend to power different consumers for creating apps that train the user against different verb sets.
- auth
- graphQL
- Vite type checking, or maybe ARK
If you are working in VSCode, install the Deno VS Code Extension Pack. This will quiet type errors and allow you to cache dependencies.
- Clone this repository
- Run
pnpm install
This project uses pnpm
and nx
for monorepo management. To run any nx
command, prefix the standard command with pnpm
. For example:
pnpm nx build global-types
It is often useful to build the module and watch them while developing apps. This is an example of how to run and watch a module:
pnpm nx build global-types --watch
To build and watch multiple modules:
pnpm nx run-many -t build -p global-types german-types --watch
- pull a branch off of
main
- make changes (small changes are the best changes, except for deleting)
- stage your changes
- use
pnpm cz
to trigger a commitzen to commit. - push to origin
pnpm add <internal workspace package> --filter <target workspace> --workspace
To run a single test in an app, use the following command:
npx jest <relative path to `test`> --config=<relative path to `jest.config.ts`>
This will trigger the tsc compiler and properly translate any path aliasing in the node applications.
To run test suites, all test
commands have a type appended such as test:unit
. Verify which suite you want to test and then run
pnpm nx <test type> target
for example:
pnpm nx test:unit db_management