Skip to content

Backend + Frontend Rewrite#457

Merged
KavikaPalletenne merged 230 commits intomainfrom
CHAOS-224-KHAOS-rewrite
Mar 28, 2026
Merged

Backend + Frontend Rewrite#457
KavikaPalletenne merged 230 commits intomainfrom
CHAOS-224-KHAOS-rewrite

Conversation

@KavikaPalletenne
Copy link
Copy Markdown
Contributor

@KavikaPalletenne KavikaPalletenne commented Feb 11, 2024

Completely rewritten backend:

  • Rocket -> Axum
  • Diesel ORM -> SQLx
  • Diesel Migrations -> SQLx Migrations

Completely rewritten frontend:

  • Next.js
  • React Query
  • Tailwind
  • Shadcn UI

@KavikaPalletenne KavikaPalletenne changed the title Backend Rewrite [WIP] Backend Rewrite Feb 11, 2024
* start implementing authorisation

* feat(backend): implement extractor for AuthUser (user id)

* feat(backend): implement extractor for SuperUser (user id + authZ)

---------

Co-authored-by: kappamalone <uzman.zawahir1@gmail.com>
@KavikaPalletenne KavikaPalletenne changed the title [WIP] Backend Rewrite [WIP] feat(backend): Backend Rewrite Feb 11, 2024
* start implementing authorisation

* feat(backend): implement extractor for AuthUser (user id)

* feat(backend): implement extractor for SuperUser (user id + authZ)

* feat(backend): get existing or create new user for Google login

* feat(backend): get name from Google user profile

* feat(backend): update schema.prisma to include lowercase table names + updated_at default time for users

---------

Co-authored-by: kappamalone <uzman.zawahir1@gmail.com>
@KavikaPalletenne KavikaPalletenne added the A: Backend Backend related issues label Feb 17, 2024
@devsoc-unsw devsoc-unsw locked and limited conversation to collaborators Feb 17, 2024
@devsoc-unsw devsoc-unsw unlocked this conversation Feb 17, 2024
@KavikaPalletenne KavikaPalletenne marked this pull request as draft March 23, 2024 10:33
* feat(ci): add postgres and migration to actions workflow

* fix(ci): fix incorrect working directory
* feat(ci): add postgres and migration to actions workflow

* fix(ci): fix incorrect working directory

* fix(ci): ran cargo fmt and fix build errors
* feat(ci): add postgres and migration to actions workflow

* fix(ci): fix incorrect working directory

* fix(ci): ran cargo fmt and fix build errors

* fix(ci): Incorrect working directory for cargo fmt

* fix(ci): rust-cache keys
* feat(ci): add postgres and migration to actions workflow

* fix(ci): fix incorrect working directory

* fix(ci): ran cargo fmt and fix build errors

* fix(ci): Incorrect working directory for cargo fmt

* fix(ci): rust-cache keys

* fix(ci): add workspaces to rust-cache
* feat(ci): add postgres and migration to actions workflow

* fix(ci): fix incorrect working directory

* fix(ci): ran cargo fmt and fix build errors

* fix(ci): Incorrect working directory for cargo fmt

* fix(ci): rust-cache keys

* fix(ci): add workspaces to rust-cache

* fix(ci): cargo fmt remove manifest-path arg
* fix(ci): run CI on rewrite branch pull request

* feat(docs): added endpoint docs for org and users
* feat(docs): updates to user and organisation api spec

* feat(docs): draft spec for campaign api

* fix(ci): update rust workflow to use actions/cache
* feat(backend): create sql migrations

* feat(backend): remove prisma schema

* fix(ci): change from prisma migration to sql

* fix(ci): no default sqlx-cli features

* fix(backend): remove duplicate primary key for applications

* fix(backend): rename migrations to prepend 'create'

* fix(ci): check for cached sqlx before installing with cargo

* fix(ci): remove ci run on specific paths
@KavikaPalletenne KavikaPalletenne changed the title [WIP] feat(backend): Backend Rewrite [WIP] Backend Rewrite Apr 7, 2024
@KavikaPalletenne KavikaPalletenne added this to the Backend Rewrite milestone Apr 7, 2024
Plebbaroni and others added 13 commits March 24, 2026 01:54
- Introduced `docker-compose.local.yml` for managing local services including PostgreSQL, backend, and frontend. Dockerfile.dev for both FE and BE.
- Added scripts for database setup and reset (`setup-admin-db-dev.sh`, `reset-db-dev.sh`). Also, change the original setup script to make it suits our current docker orientation.
…this branch and do testing.

- I WILL REVERT THESE FILES BEFORE MERGING.
…re-send-email

Chaos 702 create offers before send email
…g-setup

Add Docker setup (db, FE and BE) for local development
…odule-migration

feat: interview module migration w/ more constraints
Copy link
Copy Markdown
Contributor

@gyoumi gyoumi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@Plebbaroni
Copy link
Copy Markdown
Contributor

LGTM, I reckon we rewrite in prismaORM + TS #lol #originaljoke #funny #brandnew

@AlexMIaoPU
Copy link
Copy Markdown
Contributor

Pls FIX YOUR CHINESE TRANSLATION!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A: Backend Backend related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.