Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 758 Bytes

File metadata and controls

35 lines (24 loc) · 758 Bytes

VetText API Server

This is an API for the VetText app, written in Rust with Actix-Web.

Dependencies

rust/cargo is required to run the server:

curl https://sh.rustup.rs -sSf | sh

Documentation

Running the Server

cargo run

The server will start on port 8080.

Running Tests

cargo test

Environment Variables

  • DATABASE_URL: PostgreSQL connection string
  • JWT_SECRET: Secret key for JWT tokens
  • GCS_BUCKET_NAME: Google Cloud Storage bucket name