Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

F-Code-Club/rode-be-socket-f-code.tech

Repository files navigation

Rode socket backend

Run

  • Set up a postgresql database

  • Export database url, example (user, password, host, database can be changed to fit your postgresql instance)

export DATABASE_URL="postgres://user:password@host/database"
  • Init the database, example (user can be changed to fit your postgresql instance)
psql -d user -a -f ./schema.sql
  • Run code
cargo run

Test

cargo test