Setup Backend/Devenv for Backend Developement #35

Closed
opened 2026-06-22 13:42:54 +00:00 by gostmeaper · 1 comment
gostmeaper commented 2026-06-22 13:42:54 +00:00 (Migrated from codeberg.org)

Overall Objective

Currently, the backend folder is an empty folder which isn't at all ready for any of our issues to start auth or drizzle etc. This issue sets up devenv using kennel docs enabling the features backend services, auth services, and database services (refer to Ryan or Anish for clarifications). This issue also installs deno and the requisite packages that is needed for our backend (aka drizzle orm, elysia, swagger, etc.).

Suggested Approach

You'll want to sort of walk your way through the kennel docs on deploying until you get to "3. Declare what to deploy" where it explains a little how deploying these services work. Specifically we'll want to declare the following services:

  1. Backend Service
  2. Auth Service
  3. Postgres Database Service

After you finish with the devenv, you'll need to go setup the actual backend package manager and packages. You can visit the websites for these products, but we'll need the following packages:

  1. Elysia
  2. Swagger
  3. Drizzle Orm
  4. OAuth

Use these commands in the backend folder to setup

# Initialize Deno project
deno init

# Elysia (via npm specifier)
deno add npm:elysia

# OAuth
deno add npm:arctic

# Drizzle + postgres
deno add npm:drizzle-orm npm:postgres
deno add --dev npm:drizzle-kit

# Swagger
deno add npm:@elysiajs/swagger

Help & Resources

### Overall Objective Currently, the backend folder is an empty folder which isn't at all ready for any of our issues to start auth or drizzle etc. This issue sets up devenv using [kennel docs](https://docs.kennel.scottylabs.org/overview.html) enabling the features backend services, auth services, and database services (refer to Ryan or Anish for clarifications). This issue also installs deno and the requisite packages that is needed for our backend (aka drizzle orm, elysia, swagger, etc.). ### Suggested Approach You'll want to sort of walk your way through the [kennel docs on deploying](https://docs.kennel.scottylabs.org/guides/deploying.html) until you get to "3. Declare what to deploy" where it explains a little how deploying these services work. Specifically we'll want to declare the following services: 1. Backend Service 2. Auth Service 3. Postgres Database Service After you finish with the devenv, you'll need to go setup the actual backend package manager and packages. You can visit the websites for these products, but we'll need the following packages: 1. Elysia 2. Swagger 3. Drizzle Orm 4. OAuth Use these commands in the backend folder to setup ```bash # Initialize Deno project deno init # Elysia (via npm specifier) deno add npm:elysia # OAuth deno add npm:arctic # Drizzle + postgres deno add npm:drizzle-orm npm:postgres deno add --dev npm:drizzle-kit # Swagger deno add npm:@elysiajs/swagger ``` ### Help & Resources - [README](../../ScottyLabs/housing/src/branch/main/README.md) - [Contributing Guidelines](../../ScottyLabs/housing/src/branch/main/docs/CONTRIBUTING.md)
gostmeaper commented 2026-06-30 00:32:04 +00:00 (Migrated from codeberg.org)

closed by #39

closed by #39
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/housing#35
No description provided.