Skip to content
/ auth Public

Simple Rust server for authentication with Axum and PostgreSQL.

Notifications You must be signed in to change notification settings

sanstzu/auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth

Testing out simple Rust web-framework by creating an authentication service using Axum and Postgres.

Setup

  1. To begin, fill the necessary environment variables in the .env file.
  2. Run the Postgres database locally using Docker:
docker run --name postgres -e POSTGRES_PASSWORD=[your password] -p 5432:5432 -d postgres
  1. To perform the migration, install sqlx-cli:
cargo install sqlx-cli
  1. Run the migration:
sqlx migrate run
  1. Run the server:
cargo run

About

Simple Rust server for authentication with Axum and PostgreSQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages