| Crates.io | geddle |
| lib.rs | geddle |
| version | 0.2.1 |
| created_at | 2025-11-03 09:45:10.743892+00 |
| updated_at | 2025-11-03 10:07:37.663903+00 |
| description | Geddle is the AI & SaaS affiliate marketplace for creators. |
| homepage | https://geddle.com |
| repository | https://github.com/geddle/geddle-rust |
| max_upload_size | |
| id | 1914368 |
| size | 3,786 |
Geddle is the AI & SaaS affiliate marketplace for creators.
git clone https://github.com/geddle/geddle-rust.git
cd geddle-rust
.env file in the root directory with the following variables:DATABASE_URL=postgres://username:password@localhost/geddle
DATA_DATABASE_URL=postgres://username:password@localhost/geddle_data
STRIPE_SECRET_KEY=sk_test_...
sqlx database create
sqlx migrate run
cargo build
# Terminal 1: Run the API server
cargo run --bin geddle
# or use alias:
cargo dev # development mode
The API will be available at http://127.0.0.1:5001.
The database schema is defined in the migrations directory. To add new migrations:
$ sqlx migrate add migration_name
$ sqlx migrate run
$ sqlx migrate revert # to revert the last migration (run carefully!)
The database query code is generated using clorinde. After modifying SQL files in the queries directory, regenerate the code with:
$ cargo clean -p geddle-common # clean cache if necessary
$ cargo build -p geddle-common # build the common crate to generate geddle-db
Deployment is handled via GitHub Actions:
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)