Commit Graph
13 Commits
Author SHA1 Message Date
Rotimi Best 6d68351a46 feat: end to end api type safety with redis rate limiting (#573)
* feat: support hono rpc

* add wrangler file

* update name of wrangler file

* add wrangler as a dependency

* add compatibility_flags

* trigger ci

* core: add health check to docker file

* expose port 80

* update custom healthcheck

* feat: implement openapi

* install dependencies in root

* debug yml

* update yml

* update port

* update dockerfile with envs

* completely move away from apiClient

* rename backend to api

* refactor: update server descriptions and comment out local spec saving

* update lock file

* use api.classroomio.com

* add support for redis

* fix: add missing line break in WelcomeModal.svelte

* refactor: remove wrangler configuration and update Vite config for API integration
2025-09-21 19:35:41 +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
Rotimi Best 830759d125 fix: stop auto removal of imports in md files 2025-05-20 18:56:22 +01:00
Rotimi Best cbdb846a92 fix: disable formating of imports in mdx 2025-05-20 12:35:20 +01:00
Rotimi Best 9aeefc9f4f feat: Finally support a docker compose files that works (#555) 2025-05-20 01:37:58 +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 91bd9d4414 docs: self-hosting guide v1 (#481)
* feat: selfhosting guide v1 #238

* use public env on frontend

* add docker desclaimer
2024-09-30 01:20:19 +01:00
Melanie Eureka NgomeandRotimi Best 57219acc2a docs: Improve sign-up documentation for ClassroomIO (#173)
* docs: Improve sign-up documentation for ClassroomIO

This commit includes improvements to the sign-up documentation for ClassroomIO, enhancing clarity, completeness, and user guidance. 

Notable additions include:
- A note about signing up being disabled on production with alternatives provided.
- Links to relevant resources, such as the ClassroomIO features and booking a demo, for easier navigation.
- Detailed onboarding process to provide clarity.
- Guidance on what to expect upon reaching the dashboard and what actions to take next.

The changes ensure that users have all the information they need to successfully navigate the sign-up process and get started with ClassroomIO.

* docs: Enhance sign-up documentation for ClassroomIO

Added a callout to emphasize disabled sign-up.

* Updated signup.mdx

Due to feedback, I've reduced the paragraphs length while retaining the information to reduce cognitive load.

* format code

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-03-01 19:15:57 +01:00
Ugochukwu Egeonu 4d312cab18 docs: spelling corrections in docs (#176) 2024-02-21 18:11:41 +01:00
Rotimi Best c6620708dc fix: final fix of images on docs 2024-02-10 18:09:00 +01:00
Rotimi Best ee3e446db7 fix: another try at images in next.js 2024-02-07 21:29:07 +01:00
Rotimi Best 50b9389514 docs: add docs for student dashboard + signup images 2023-12-14 10:34:28 +03:00
Rotimi Best e4cc31a17c feat: setup documentation structure (#61) 2023-11-30 15:23:11 +03:00