Skip to main content
Skip to main content
🚧 Work in Progress

Deno Getting Started

Deno ↗ is an asynchronous event-driven JavaScript runtime, which is designed to build scalable network applications.

Tip

Have you got any additional question? Join our Discord community to get help from our team and other members.

As said, there is no need for coding yet, we have created a Github repository ↗, a recipe, containing the most simple Deno web application. The repo will be used as a source from which the app will be built.

🚀No Fuss, Just Deploy with Speed!

This is the most bare-bones example of Deno app running on Zerops — as few libraries as possible, just a simple endpoint with connect, read and write to a Zerops PostgreSQL database.

  1. Log in/sign up to Zerops GUI ↗

  2. In the Projects box click on Import a project and paste in the following yml config (source ↗):

project:
name: recipe-deno
tags:
- zerops-recipe

services:
- hostname: api
type: deno@1
buildFromGit: https://github.com/zeropsio/recipe-deno
enableSubdomainAccess: true

- hostname: db
type: postgresql@16
mode: NON_HA
priority: 1
  1. Click on Import project and wait until all pipelines have finished.

That's it, your application is now up and running! Let's check it works:

  1. A subdomain should have been enabled and visible in the project's IP addressed & Public Routing Overview box. Its format should look similar to this https://api-7f6-8000.prg1.zerops.app.
  2. Click or the subdomain URL to open it in a browser and you should see
{"message":"This is a simple, basic Deno / Oak application running on Zerops.io,\n      each request adds an entry to the PostgreSQL database and returns a count.\n      See the source repository (https://github.com/zeropsio/recipe-deno) for more information.","newEntry":"274b0cc1-5b6d-4351-b8ec-53cf82bd9d0f","count":1}
Tip

Do you have any questions? Check the step-by-step tutorial, browse the documentation and join our Discord community to get help from our team and other members.

How to start

It doesn't matter whether it's your first curious introduction to Zerops, you have already mastered the basics and are looking for a tiny detail or inspiration. Below, choose a section that fits your needs:

Feature Highlights

When in doubt, reach out

Don't know how to start or got stuck during the process? You might not be the first one, visit the FAQ section to find out.

In case you haven't found an answer (and also if you have), we and our community are looking forward to hearing from you on Discord.

Have you build something that others might find useful? Don't hesitate to share your knowledge!