https://github.com/arcatdmz/now-v2-nodejs-typescript
A very simple example of ZEIT now web application written in TypeScript
https://github.com/arcatdmz/now-v2-nodejs-typescript
now typescript zeit-now
Last synced: about 14 hours ago
JSON representation
A very simple example of ZEIT now web application written in TypeScript
- Host: GitHub
- URL: https://github.com/arcatdmz/now-v2-nodejs-typescript
- Owner: arcatdmz
- License: mit
- Created: 2019-01-14T13:28:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-14T13:45:36.000Z (over 6 years ago)
- Last Synced: 2025-02-28T18:50:35.339Z (7 months ago)
- Topics: now, typescript, zeit-now
- Language: TypeScript
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# now-v2-nodejs-typescript
A very simple example of ZEIT now web application written in TypeScript.## now
> ZEIT [now](https://zeit.co/now) makes serverless application deployment easy.
After installing the now CLI, type `now` in this directory.
```sh
$ 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]
```## code
- `tsconfig.json`: compiles `src/*.ts` and save results in `dist/`
- `now.json`: uses `@now/node-server@canary` for the latest [`ncc`](https://github.com/zeit/ncc)
- `src/index.ts`: a web server that returns a simple JSON response to any request---
https://github.com/arcatdmz/now-v2-nodejs-typescript