Commit Graph
11 Commits
Author SHA1 Message Date
Rotimi Best f3f3f2e599 fix: courseapp failing due to typescript eslint 2025-07-17 12:02:20 +01:00
Adeyemi AdetunjiandRotimi Best 8f26399741 feat: cloudflare browser rendering for pdf generation (#562)
* feat: cloudflare browser rendering for pdf generation

* feat: sync env

* fix: imports correction & remove puppeteer

* update return type

* update dependencies

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2025-06-23 08:55:34 +01:00
Rotimi BestandIniubong Obonguko 82be557a42 chore: move backend to hono + typescript (#558)
* feat: setup secure presigned uploads and downloads

* clean up

* update lock

* Get presigned url finally working

* 557: Migrate backend to hono + ts

* chore: update Dockerfile and package.json for backend configuration

* add dev command

* remove unused packages

* Enhance backend API and frontend components for course management

- Updated CORS configuration in the backend to allow specific methods and headers.
- Refactored lesson download endpoint to use a new route for PDF downloads.
- Removed unused certificate download functionality from the lesson router.
- Updated frontend components to reflect changes in API endpoints and improve video upload functionality.
- Introduced new video upload component and adjusted video handling in lesson materials.
- Cleaned up unnecessary imports and optimized component structure for better performance.

* PR cleanups

* Enhance email configuration by adding SMTP_SENDER environment variable

- Updated docker-compose.yaml to include SMTP_SENDER.
- Modified Dockerfile to accept SMTP_SENDER as an argument.
- Updated environment schema in env.ts to define SMTP_SENDER as optional.
- Adjusted mail service to use SMTP_SENDER for the email 'from' field.
- Updated documentation to reflect the new SMTP_SENDER variable.

* Remove debug log statement from sendEmail function

---------

Co-authored-by: Iniubong Obonguko <iniubongobonguko2018@gmail.com>
2025-06-09 01:38:57 +01:00
Adeyemi AdetunjiandRotimi Best 2413120e95 feat: Integrate Sentry to backend (#270)
* feat: Integrate Sentry to backend

* update lock

* update .env

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-09-30 01:49:59 +01:00
Rotimi Best 25b010ebf2 chore: disable puppeteer 2024-09-22 16:28:54 +01:00
Rotimi Best a742b1af43 feat: move transaction emails to zeptomail 2024-08-10 09:58:33 +01:00
Em_DevandRotimi Best 3fe15e6633 feat: remove defer (#243)
* working on moving the email logic to the backend

* Moved nodemailer to the backend

* uninstall defer

* updated relative import path in tsconfig

* working on the zod validation

* Merge branch 'main' into send-email

* fixed the zod import issue

* fixed the zod import issue

* updated the env example files

* docs: update README.md (#249)

* fix: handle catex error

* chore: remove fly.io github action

* Update README.md

Updated the Readme to reflect changes made to the emailing flow

---------

Co-authored-by: Rotimi Best <best@classroomio.com>

* chore: wrapp up email sending

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-04-12 04:57:19 +01:00
Rotimi Best c14f73a47c feat: add math equation support in Tinymce (#233) 2024-04-02 15:21:49 +01:00
Rotimi Best 62a32a6204 feat: make video upload speed down to 5min for <500mb (#209)
* feat: make video upload down to 5min for <500mb

* update to 15 minutes timeout
2024-03-16 17:35:23 +01:00
Rotimi Best 4893950fd2 feat: video upload - disable muse upload + upgrade server (#207)
* fix: only upload to cloudflare

* feat: ci/cd for apps/backend
2024-03-16 06:27:09 +01:00
Adeyemi AdetunjiandRotimi Best 3a22a73380 feat: add classroomio's server to the monorepo (#168)
* add classroomio server to apps

* ReadME upadte

* Update README.md

* rename project to backend

* fix lock file

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-02-28 03:25:25 +01:00