Skip to content

Latest commit

 

History

History
74 lines (39 loc) · 977 Bytes

File metadata and controls

74 lines (39 loc) · 977 Bytes

Secure authorization system

An authorization REST API server featuring RLS database queries, JWT cookies and RBAC. The client implementation includes server-side rendering and navigation guards.

Note

Developed as a college project to demonstrate cookie exchange and end-to-end security patterns in web apps.

About

Architecture

API - Rust, Axum, diesel

APP - TypeScript, NuxtJS

Database - CockroachDB Cluster

High Level Diagram

Flow Diagram

Features

Login flow

Development

use devcontainer

api - localhost 3000

cargo run

app - localhost 3001

npm install npm run dev

port forwarding

deployment

cargo build

npm run build

releases

compose

API

rust, axum, diesel

todo

register, email, totp, mfa

rbac resource check

refresh token flow refresh token revocation

APP

typescript, nodejs, nuxtjs

Contributing

TODO

License

Look at LICENSE