Best of DenoNovember 2024

  1. 1
    Video
    Avatar of denoDeno·1y

    Build a Real-Time WebSocket Application

    Many internet requests use HTTP, but for real-time data, WebSockets are essential. The Dino web standard API supports WebSockets to create a real-time web application. The process involves setting up a server to accept WebSocket connections and creating a client to connect and interact with this server. This guide provides a step-by-step approach to implement and test a simple WebSocket application.

  2. 2
    Article
    Avatar of denoDeno·1y

    Build a Database App with Drizzle ORM and Deno

    This tutorial guides you through setting up Drizzle ORM with Deno and PostgreSQL to manage dinosaur data. It covers installing dependencies, configuring Drizzle ORM, defining schemas, and interacting with the database using helper functions. The post concludes with suggestions for enhancing your application with complex database relationships, REST API implementation, validation, and error handling.

  3. 3
    Article
    Avatar of denoDeno·1y

    Self-contained Executable Programs with Deno Compile

    Deno compile allows developers to turn JavaScript and TypeScript programs into self-contained, cross-platform binaries, eliminating the need for a runtime or dependencies. Deno 2 has introduced improvements such as support for npm packages, smaller binary sizes, and code signing. The process simplifies deployment, improves startup times, and offers enhanced security through preserveable permission flags. Examples include creating a single executable, cross-compiling for different OS, code signing, and even compiling npm packages for performance boosts.