A very simple example of ZEIT now web application written in TypeScript.
ZEIT now makes serverless application deployment easy.
After installing the now CLI, type now
in this directory.
$ now
> Deploying ~\Documents\Source\now-v2-nodejs-typescript under arch
> Synced 1 file (318B) [1s]
> https://hello-now-ts-h0zgsrpks.now.sh [v2] [1s]
┌ src/index.ts Ready [20s]
└── λ src/index.ts (3.7KB) [sfo1]
> Success! Deployment ready [24s]
tsconfig.json
: compilessrc/*.ts
and save results indist/
now.json
: uses@now/node-server@canary
for the latestncc
src/index.ts
: a web server that returns a simple JSON response to any request