Skip to content

PoliNetworkOrg/backend

Repository files navigation

Backend

Note

WIP

This is a rewrite currently WIP that will take time. Drink a coffee and join us if you would like to contribute.

Currently we are building a backend which can be reached by other services/repos with a tRPC client. If you are using another language than TS... then you might fulfill a PR and implement gRPC (are you sure u want pain?).

Quickstart

Requirements:

  • Bun installed
  • A Postgres database
  • An Azure App Registration

Note

You can skip Azure by making AZURE_* env vars optional in ./src/env.ts and by removing all Azure related auth in ./src/azure/

  1. Install packages
    bun install
  2. Setup environment variables in .env (use .env.example as template and see ./src/env.ts as source of truth)
  3. Run the DB migration
    bun db:migrate
  4. Run the server
    bun dev

About

THE backend (future)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 5