/langolier-api

API for Langolier, a personal digital garden and AI assistant.

Primary LanguageRustApache License 2.0Apache-2.0

langolier-api

API for Langolier, a personal digital garden and AI assistant.

Build

To build the project, run:

cargo build

Container

To build the container, run:

docker build -t langolier-api .

Run

To run the project, run:

docker compose up

NATS

This project uses NATS for messaging. To run NATS locally, use the following command:

docker compose up -d nats

Dependencies

To find outdated dependencies, run:

cargo outdated -R

References

Here are reference docs for the crates used in this project:

  • axum docs - web framework that focuses on ergonomics and modularity.
  • sqlx docs - an async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
  • tracing docs - a framework for instrumenting Rust programs to collect structured, event-based diagnostic information.
  • serde docs - framework for serializing and deserializing Rust data structures efficiently and generically.