johnjcsmith / app

A scaffold for Differential apps starting from scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A scaffold for Differential apps starting from scratch


Languages

Language:TypeScript 66.2%Language:Shell 22.7%Language:JavaScript 11.2%