How to setup a REST API with TypeScript, Express, and Deno, pt. 1

Описание к видео How to setup a REST API with TypeScript, Express, and Deno, pt. 1

(Tim was sporting a cold while recording some of the live portions, thanks for bearing with us.)

This is the first video in our short series of how to get a REST API up and running quickly with TypeScript & Express using Deno. In part one, we set up our local dev environment, implement a logging function using middleware, and get simple and dynamic routes established with a mock data store.

Note in the video, the import statement did not include the version. We recommend including the version when importing, like this:

```
import express, { NextFunction, Request, Response } from "npm:[email protected]";
```

Companion repository: https://github.com/tinkertim/deno-exp...

00:04 - Introduction
00:43 - Project Setup
03:21 - Hello, World!
08:34 - Logging Middleware
12:47 - Simple & Dynamic Routing / Mock Data
17:50 - Wrapping Up
18:45 - Social Follow & Discord Links

Part 2 will land in a few days, and focus on writing some tests and benchmarks.

Please report any issues or feedback by creating an issue here: https://github.com/denoland/deno/issues

Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.

Website: https://deno.land
GitHub: https://github.com/denoland
Discord:   / discord  
Twitter:   / deno_land  

Комментарии

Информация по комментариям в разработке