feat(website): support the pretendo website API, PAPI for short

This commit is contained in:
Andrea Toska 2025-04-28 11:26:32 +02:00
commit 2168f6fec1
No known key found for this signature in database
GPG key ID: 5B3C83807CCBE9A2
7 changed files with 209 additions and 3 deletions

View file

@ -29,6 +29,7 @@ mod data_wrapper;
mod grpc;
mod graphql;
mod email;
mod papi;
type Pool = sqlx::Pool<Postgres>;
@ -167,6 +168,8 @@ async fn launch() -> _ {
nnid::provider::get_nex_token,
nnid::provider::get_service_token,
nnid::mapped_ids::mapped_ids,
papi::login::login,
papi::user::get_user,
//graphql
graphql::graphiql,
graphql::playground,