This is a scaffold for a Differential app. It includes a few things:
- Install dependencies
git clone [email protected]:differentialhq/app.git my-app && \
cd my-app && \
npm run setup && \
npm i -g tsx
- Run the service
tsx src/run/hello-service.ts
- Call the service
tsx src/commands/greet.ts
npm test
See hello.test.ts for an example of how to write service tests. This example uses node:test
, but you can use any test runner you like.