No description
  • Rust 96.9%
  • HTML 3.1%
Find a file
2026-11-02 14:49:24 +01:00
.agents add AI agents rules and skills. Use responsibly 2026-10-02 19:47:10 +02:00
src split validation, clean ws logic (WIP), add channel creation logic 2026-11-02 14:49:24 +01:00
toasty - Migrated to Toasty ORM. 2026-08-23 19:55:02 +02:00
.gitignore - Migrated to Toasty ORM. 2026-08-23 19:55:02 +02:00
AGENTS.md update AGENTS.md 2026-10-04 12:33:56 +02:00
build.rs adding protobuf integration 2026-03-03 15:50:29 +01:00
Cargo.lock dependencies upgrade 2026-11-02 14:43:06 +01:00
Cargo.toml dependencies upgrade 2026-11-02 14:43:06 +01:00
example.env - Migrated to Toasty ORM. 2026-08-23 19:55:02 +02:00
README.md - Migrated to Toasty ORM. 2026-08-23 19:55:02 +02:00
skills-lock.json add AI agents rules and skills. Use responsibly 2026-10-02 19:47:10 +02:00
Toasty.toml - Migrated to Toasty ORM. 2026-08-23 19:55:02 +02:00

Navak Backend

Backend of Navak Chat Platform.

Clone the repository

To use the backend, you need to have the Protocol Buffer file. Clone both repositories in the same directory :

git clone https://git.nexlight.be/Navak/navak-backend
git clone https://git.nexlight.be/Navak/navak-proto

Configure the environment

You can copy the example.env to .env and edit it:

Variable Example value
DATABASE_CONNECTION_STRING postgresql://user:pass@domain:5432/navak_dev
SMTP_RELAY smtp-example.navak.dev
SMTP_USERNAME user
SMTP_PASSWORD pass
SMTP_SENDER_EMAIL example@navak.dev
NAVAK_HOST 0.0.0.0
NAVAK_PORT 3000
NAVAK_PUBLIC_URL http://localhost:3000

Run

Ensure the environment is correct and the database is reachable, then:

cargo run

Generate DB migrations

This project is entities-first: you update the entities, then generate SQL to update the database.

To generate a migration

cargo run --bin migrations_cli -- migration generate