crabfit/api/adaptors/sql
D. Scott Boggs 29d7c283e5
Some checks failed
API Checks / clippy (push) Has been cancelled
Deploy API / Deploy to Fly.io (push) Has been cancelled
Add ability to read database password from a file
2025-05-05 07:35:13 -04:00
..
src Add ability to read database password from a file 2025-05-05 07:35:13 -04:00
Cargo.toml Add ability to read database password from a file 2025-05-05 07:35:13 -04:00
README.md Include documentation for API and subcrates 2023-05-15 23:51:12 +10:00

SQL Adaptor

This adaptor works with Postgres, MySQL or SQLite databases.

Environment

To use this adaptor, make sure you have the DATABASE_URL environment variable set to the database url for your chosen database.

Example:

DATABASE_URL="postgresql://username:password@localhost:5432/crabfit"