Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/code_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ jobs:
if: needs.release.outputs.part != 'patch'
runs-on: ubuntu-24.04-arm
permissions:
packages: write
contents: read
packages: write
actions: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
Expand Down Expand Up @@ -91,7 +92,7 @@ jobs:
ghcr.io/${{ github.repository }}/api:latest
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=min
build-args: |
VERSION=${{ needs.release.outputs.new_tag }}

Expand All @@ -107,6 +108,6 @@ jobs:
ghcr.io/${{ github.repository }}/app:latest
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=min
build-args: |
VERSION=${{ needs.release.outputs.new_tag }}
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
# 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. Made as a college project.
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](./.github/assets/high_level.svg)

![Flow Diagram](./.github/assets/flow.svg)
Expand Down Expand Up @@ -62,4 +71,4 @@ TODO

## License

Look at [LICENSE]()
Look at [LICENSE](./LICENSE)
Loading