Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 859 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 859 Bytes

Differential App

This is a scaffold for a Differential app. It includes a few things:

Running the app

  1. Install dependencies
git clone git@github.com:differentialhq/app.git my-app && \ 
cd my-app && \ 
npm run setup && \
npm i -g tsx
  1. Run the service
tsx src/run/hello-service.ts
  1. Call the service
tsx src/commands/greet.ts

Running the tests

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.