Commit Graph
14 Commits
Author SHA1 Message Date
Rotimi Best 168866c81b feat: optimize docker compose for dashboard and api (#578)
* chore: use turbo for build

* fix docker compose file and remove backend

* chore: update .dockerignore to include additional files and directories for improved build management

* copy everything in both docke filed

* refactor: streamline Dockerfile to copy entire dashboard app and remove unnecessary node_modules references

* update api to use turbo to start

* run ls la for docker files

* update cmd commands

* update cmds to use node

* fix: add redis url to docker compose

* fix: reduce memory allocation for dashboard build in Dockerfile

* debug dashboard build

* update api docker file

* update dashboard

* add tsconfig

* chore: add echo to dockerfile

* fix: change echo to run

* chore: install pnpm before switching to non-root user in Dockerfile

* refactor: update start commands in package.json and Dockerfiles to use pnpm

* install turbo

* use turbo 1.10.16

* update turbo config

* fix: update CMD in Dockerfile to run the API directly using Node.js

* change

* add commands to turbo.json

* copy over turbo

* add workspace

* fix: update start commands in package.json to specify ports for dashboard and API

* publish docker images

* add dev branch

* update compose

* build only for amd64 platform

* refactor: update docker-compose to use pre-built images and remove build context

* coolify-dockertest

* point to latest

* chore: update docker-compose to use specific version tags for API and dashboard images

* remove envs for docker file

* 0.1.3

* use dynamic env

* 0.1.4

* add PUBLIC_IS_SELFHOSTED=true

* chore: update docker-compose to use version 0.1.5 for API and dashboard images

* use static for PUBLIC_IS_SELFHOSTED

* disable cache for tag

* use 0.1.7

* add PUBLIC_IS_SELFHOSTED=true

* comment out caching

* update docker-compose to use version 0.1.8 for API and dashboard images

* update api port

* use tag 0.1.9

* add cache

* use latest tag in compose file
2025-10-11 13:27:50 +01:00
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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