Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Backend for arkham.build. Very work-in-progress.

NotificationsYou must be signed in to change notification settings

arkham-build/api.arkham.build

Repository files navigation

Backend forarkham.build.

Overview

  • The app is a Node.js HTTP API written inTypescript using theHono framework.
  • Data is ingested from several upstream sources with a daily cron job, stored in aPostgres database and accessed viakysely. Database migrations are handled withdbmate.
  • Kamal is used to deploy the app to aDigital Ocean droplet previously prepared with anAnsible playbook.
  • Integration tests useVitest, andTestcontainers to work against a real database.

Acknowledgements

The original recommendation logic was contributed bySy Brand / TartanLlama in aseparate project and has since been ported over.

Develop

It is assumed thatnodejs (22+) anddocker compose are installed.

# install tooling dependenciesnpm i# start docker compose databasesnpm run db:up# run migrationsnpm run dbmate up# ingest datanpm run ingest# start servicenpm run dev
# run testsnpmtest# auto-format codenpm run fmt# lint codenpm run lint# check typesnpm run check

You can find a pre-configuredYaak workspace in./config/yaak.

Deploy

Refer to availableKamal commands and the additionalaliases in thedeploy.yml file.

About

Backend for arkham.build. Very work-in-progress.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp