Best of Deno โ€” November 2024

  1. 1
    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.

  2. 2
    Article
    Avatar of devsquadDev Squadยท1y

    ๐Ÿš€ Automate Your PostgreSQL Backups with Ease! ๐Ÿณ

    Simplify database management with a robust system for backup and restore using Deno, Docker, and Cloudflare R2. Features include automated backups via cron or on-demand, seamless restores from local files or R2, and easy cloud integration. To get started, clone the appropriate repo, configure your environment file, and run the specified Deno tasks.

  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.

  4. 4
    Video
    Avatar of denoDenoยท1y

    Build a Database App in 3 Minutes

    Building a database application with Deno 2 and Drizzle ORM has been made easier with npm compatibility. The post guides you through installing necessary dependencies, setting up configurations, and defining schemas for a PostgreSQL database. It covers both inferring existing tables and creating new ones, and explains how to use Drizzle to manage data with TypeScript types. The tutorial concludes with performing CRUD operations on the database.

  5. 5
    Article
    Avatar of supabaseSupabaseยท1y

    Executing Dynamic JavaScript Code on Supabase with Edge Functions

    Supabase allows developers to execute dynamic JavaScript code in Edge Functions, enhancing flexibility and reducing the need for redeployments. Edge Functions execute at the edge for faster response times. Users can modify and run JavaScript code on the fly, supported by SQL scripts and helper functions like `edge.http_request`, `edge_wrapper`, and `edge.get_secret`. This setup increases the versatility of applications, enabling tasks like generating embeddings or creating users via the admin API.