Skip to main content
Koyeb banner

Prerequisites

Before you start, make sure you:
1

Retrieve database credentials

You will need an existing database to continue. If you don’t have one, create one.Get the database URL:
turso db show --url <database-name>
Get the database authentication token:
turso db tokens create <database-name>
Assign credentials to the environment variables inside .env.
TURSO_DATABASE_URL=
TURSO_AUTH_TOKEN=
You will want to store these as environment variables.
2
Fork one of the following embedded replica project from GitHub

My Expenses Tracker - (Elysia + Bun)

See the full source code

Web Traffic API - (Rust)

See the full source code
Or, you can:

Deploy to Koyeb with a single-click

3

Add a new Koyeb app

  1. Create a new app in the Koyeb control panel.
  2. Select GitHub as the deployment option.
  3. Import the GitHub project to Koyeb.
4

Fill in the environment variables on Koyeb's deploy page

Koyeb deploy page - environment variables
5

Deploy

Click the Deploy button at the bottom to deploy your web service.