web-planer
web-planer copied to clipboard
refactor: move backend to elysia
wersja backendu w elysiajs
[!IMPORTANT] Refactor backend to Elysia framework, update frontend for new backend structure, and configure CI, Docker, and environment settings.
- Backend Refactor:
- Migrated backend to Elysia framework (
src/index.ts,controllers/*,routes/*).- Added JWT authentication setup in
setups/jwt.ts.- Implemented controllers for
auth,courses,departments,groups,registrations,schedules,shared, anduser.- Configured Prisma ORM with
prisma/schema.prismaandlib/db.ts.- Added email functionality using
nodemailerinlib/email.ts.- Added USOS client for OAuth in
lib/usos/usos-client.ts.- Added CI workflow in
.github/workflows/backend_v2_ci.yaml.- Frontend Updates:
- Updated
authfunction inlib/auth/index.tsto support Elysia.- Modified actions in
actions/plans.tsandactions/user.tsto use Elysia authentication.- Updated
package.jsondependencies for both backend and frontend.- Miscellaneous:
- Added Docker support with
Dockerfileand.dockerignore.- Configured environment variables in
.env.example.- Added Prettier configuration in
.prettierrc.- Updated
.gitignorefor backend.This description was created by
for 20d20a579a96787649529b97d917137ca1d63531. It will automatically update as commits are pushed.
The preview deployment is ready. 🟢
Open Preview | Open Build Logs
Last updated at: 2025-03-18 18:08:07 CET