crabfit/api/adaptors/sql
2025-05-06 09:24:35 -04:00
..
src Add ability to read secrets from files 2025-05-06 09:24:35 -04:00
Cargo.toml Add ability to read secrets from files 2025-05-06 09:24:35 -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"