No description
  • Rust 86%
  • HTML 12.5%
  • Dockerfile 1.2%
  • Shell 0.3%
Find a file
Tim Nebel 5e3c6e0864 Merge branch 'renovate/serde_json-1.x-lockfile' into 'main'
chore(deps): update rust crate serde_json to v1.0.140

See merge request perditum/account-rs!15
2025-05-21 11:46:45 +00:00
.cargo feat(ci): make executable static and make final image be from scratch to make container as small as possible 2025-03-07 17:19:47 +01:00
.sqlx prepare sqlx 2025-05-15 22:30:05 +02:00
grpc-protobufs@405fe9b47b feat(nex-servers): add nex token get stub and start working on grpc server 2025-03-07 15:14:43 +01:00
mii chore(deps): update rust crate reqwest to v0.12.15 2025-05-21 11:08:35 +00:00
res chore: remove .DS_Store 2025-04-26 13:38:39 +02:00
src remove graphQL context from main.rs 2025-05-15 22:02:17 +02:00
.env.example add a bit of docs 2025-05-08 09:58:25 +02:00
.gitignore chore: remove .DS_Store 2025-04-26 13:38:39 +02:00
.gitlab-ci.yml Edit .gitlab-ci.yml 2025-05-08 08:08:47 +00:00
.gitmodules feat(nex-servers): add nex token get stub and start working on grpc server 2025-03-07 15:14:43 +01:00
build.rs feat(nex-servers): add nex token get stub and start working on grpc server 2025-03-07 15:14:43 +01:00
Cargo.lock Merge branch 'renovate/serde_json-1.x-lockfile' into 'main' 2025-05-21 11:46:45 +00:00
Cargo.toml feat(sentry): add sentry 2025-05-10 11:24:27 +02:00
Dockerfile Edit Dockerfile 2025-05-08 08:25:34 +00:00
LICENSE add license 2025-04-08 11:26:32 +00:00
README.md add a bit of docs 2025-05-08 09:58:25 +02:00
renovate.json Add renovate.json 2025-05-21 09:46:22 +00:00

account.rs

Reimplementation of the Nintendo Network Account System (NNAS) in Rust.

Requirements

  • Rust (rustup recommended)
  • A PostgreSQL database
  • An S3 bucket
  • An SMTP server

For more info on configuring the server, check the .env.example file, it has comments that should help.

Building

This step shouldn't be required once we start making official releases, but for now you need to build it yourself. You will need to set your database's connection URL in the environment variable DATABASE_URL with export. Without it, the server will not build.

export DATABASE_URL=postgresql://your-user:your-password@your-postgresql-server:5432/your-db

Once you have that set up, you should just be able to run cargo build and it will build to target/account-server-rust.