No Description

bic e2f1d246ec some conf for release 3 months ago
migrations 0c633f4e32 small refactor 5 months ago
src e2f1d246ec some conf for release 3 months ago
tests 1c8aaa0b92 Drop fetch-all 5 months ago
.gitignore 4452cfa676 Add basic diesel support 5 months ago
Cargo.lock cef45f69fd cargo upgrade 3 months ago
Cargo.toml cef45f69fd cargo upgrade 3 months ago
Readme.md fe4bd90618 bump toolchain to current nightly 3 months ago

Readme.md

TrSeek Service

Features

Seems working

Api

ENDPOINT: api/v1 POST insert GET fetch/<infoash> GET search/<query>

Database

It's not clear, but it works

Todo

  • search api
  • review database structure
  • extension support
  • search test (breacking, regex, etc)
  • multithread tasks

Setup

cargo build
cargo test
diesel migration run
cargo run

Test

echo DATABASE_URL=postgres://postgres:password@localhost/diesel_demo > .env
docker run -p 5432:5432 --name postgres -e POSTGRES_PASSWORD=password -d postgres
cargo test