Skip to content

Conversation

erikbsa
Copy link
Member

@erikbsa erikbsa commented Oct 8, 2026

What changed

  • Added the Node.js and TypeScript setup for the GraphQL backend.
  • Added PostgreSQL connectivity through DATABASE_URL.
  • Added server/package-lock.json and npm instructions for the team and the VM.
  • Documented the VM configuration, local testing through an SSH tunnel, and database migrations.

Verification

  • The GraphQL health query returned ok.
  • databaseStatus returned connected during local testing through an SSH tunnel.

Note

The domain schema and database tables are not included. They should be added once we have agreed on the data model. Automatic deployment to the VM is not set up yet.

Closes #36

@erikbsa erikbsa requested a review from a team as a code owner October 8, 2026 14:24
Copy link
Member

@alekskjo alekskjo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ser bra ut! Dette gir oss et ryddig grunnoppsett for GraphQL og PostgreSQL, med tydelig håndtering av miljøvariabler og gode instruksjoner for lokal kjøring og VM-en. Det er helt greit at datamodell, migrasjoner, tester og det faktiske Tapfinder-API-et kommer i senere PR-er.

Installasjon og TypeScript-build passerer lokalt. Godkjent ✅

@alekskjo alekskjo merged commit ebf5ece into main Oct 9, 2026
@alekskjo alekskjo deleted the feat/backend-database-setup branch October 9, 2026 10:00
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sett opp grunnstruktur for GraphQL-backend og PostgreSQL
2 participants