Server backend for gorb, the chat app https://gorb.app/
Find a file
Radical 324137ce8b refactor: rewrite entire codebase in axum instead of actix
Replaces actix with axum for web, allows us to use socket.io and gives us access to the tower ecosystem of middleware

breaks compatibility with our current websocket implementation, needs to be reimplemented for socket.io
2025-07-16 16:36:22 +02:00
.woodpecker ci: add proper cross compiling! 2025-06-01 21:56:47 +02:00
migrations fix: make (user_uuid, guild_uuid) unique in members 2025-07-13 18:03:28 +02:00
src refactor: rewrite entire codebase in axum instead of actix 2025-07-16 16:36:22 +02:00
.gitignore chore: add config.toml to gitignore 2025-04-30 11:10:02 +00:00
build.rs style: cargo clippy & cargo fmt 2025-07-02 20:47:59 +02:00
Cargo.toml refactor: rewrite entire codebase in axum instead of actix 2025-07-16 16:36:22 +02:00
compose.dev.yml style: rename url to frontend_url 2025-05-29 20:29:45 +02:00
compose.yml style: rename url to frontend_url 2025-05-29 20:29:45 +02:00
diesel.toml feat: use diesel-cli instead of hand writing tables 2025-05-21 21:49:01 +02:00
Dockerfile ci: add proper cross compiling! 2025-06-01 21:56:47 +02:00
entrypoint.sh style: rename url to frontend_url 2025-05-29 20:29:45 +02:00
LICENSE Update LICENSE 2025-04-28 18:27:46 +00:00
README.md feat: use a logging library 2025-05-02 01:18:13 +02:00
run-dev.sh fix: make container work properly 2025-05-25 19:20:02 +02:00

backend

You can run and test the latest backend by using the docker image based on main

docker compose file

version: '3.5'
volumes:
  gorb-backend:
  gorb-database:
networks:
  gorb:
services:
  backend:
    image: git.gorb.app/gorb/backend:main
    restart: always
    ports:
      - 8080:8080
    networks:
      - gorb
    volumes:
      - gorb-backend:/gorb
    environment:
      #- RUST_LOG=debug
      - DATABASE_USERNAME=gorb
      - DATABASE_PASSWORD=gorb
      - DATABASE=gorb
      - DATABASE_HOST=database
      - DATABASE_PORT=5432
  database:
    image: postgres:16
    restart: always
    networks:
      - gorb
    volumes:
      - gorb-database:/var/lib/postgresql/data
    environment:
      - POSTGRES_USER=gorb
      - POSTGRES_PASSWORD=gorb
      - POSTGRES_DB=gorb