Skip to content

Messaging, Forums & Learning

This section covers three communication and knowledge-sharing features: direct messaging, community forums, and the learning/courses system for enrolled students.

RouteFileDescription
/messages(app)/messages/+page.svelteMessage inbox — all conversations
/messages/[chatId](app)/messages/[chatId]/+page.svelteSingle conversation thread
RouteFileDescription
/forums(app)/forums/+page.svelteForum directory
/forums/[forumSlug](app)/forums/[forumSlug]/+page.svelteForum topic list
/forums/[forumSlug]/[topicSlug](app)/forums/[forumSlug]/[topicSlug]/+page.svelteTopic thread
/forums/[forumSlug]/new(app)/forums/[forumSlug]/new/+page.svelteCreate new topic
RouteFileDescription
/learn/[slug](app)/learn/[slug]/+page.svelteCourse overview
/learn/[slug]/[itemId](app)/learn/[slug]/[itemId]/+page.svelteLesson content viewer
/learn/[slug]/quiz/[quizId](app)/learn/[slug]/quiz/[quizId]/+page.svelteTake a quiz
/learn/[slug]/quiz/[quizId]/results(app)/learn/[slug]/quiz/[quizId]/results/+page.svelteQuiz results overview
/learn/[slug]/quiz/[quizId]/results/[attemptId](app)/learn/[slug]/quiz/[quizId]/results/[attemptId]/+page.svelteSingle attempt results
/learn/[slug]/assignment/[assignmentId](app)/learn/[slug]/assignment/[assignmentId]/+page.svelteAssignment submission
RouteFileDescription
/courses(app)/courses/+page.svelteBrowse available courses
/courses/[slug](app)/courses/[slug]/+page.svelteCourse detail / enrollment

All routes are protected (authentication + onboarding required).


The messaging system provides one-on-one and group direct messaging, separate from the Honeycomb Hub community messages.

Displays all conversations sorted by most recent activity. Each conversation card shows the other participant(s), the last message preview, and an unread indicator.

The +page.server.ts loads conversations for the authenticated user. The API endpoint at (app)/api/messages/ handles sending messages and real-time updates.

The full conversation view with message history and a compose area. Messages load in reverse chronological order with infinite scroll for older messages.

  • [chatId] — The conversation’s UUID.

Forums provide threaded discussion boards organized by topic categories. Business owners create and manage forums through /business/apps/forums; users browse and participate through the consumer-facing /forums routes.

Lists all available forums the user can access, with descriptions and topic counts.

Displays all topics within a specific forum, sorted by latest activity. Each topic card shows the title, author, reply count, and last activity timestamp.

  • [forumSlug] — The forum’s URL slug.

Topic thread (/forums/[forumSlug]/[topicSlug])

Section titled “Topic thread (/forums/[forumSlug]/[topicSlug])”

The full discussion thread for a single topic. Shows the original post followed by all replies in chronological order, with a reply compose area at the bottom.

  • [forumSlug] — The forum’s URL slug.
  • [topicSlug] — The topic’s URL slug.

Form to create a new topic within a forum. Fields include title and body content.


The learning system is the student-facing counterpart to the course builder at /business/apps/courses. Students enroll in courses and consume content through these routes.

  • /courses — Browse all available courses with filtering and search.
  • /courses/[slug] — Course detail page showing description, syllabus, instructor info, and enroll button.

Once enrolled, students access course content through the /learn routes.

  • /learn/[slug] — Course overview with progress tracker, module list, and navigation to lessons.
  • /learn/[slug]/[itemId] — Individual lesson content (video, text, exercises). The [itemId] corresponds to a specific course item/lesson.

Students take quizzes associated with a course:

  • /learn/[slug]/quiz/[quizId] — The quiz-taking interface with questions and answer submission.
  • /learn/[slug]/quiz/[quizId]/results — Overview of all quiz attempts and scores.
  • /learn/[slug]/quiz/[quizId]/results/[attemptId] — Detailed results for a specific quiz attempt, showing correct/incorrect answers.
  • /learn/[slug]/assignment/[assignmentId] — View assignment instructions and submit work.
Student routeInstructor management route
/courses/business/apps/courses/list
/learn/[slug]/business/apps/courses/[id]
/learn/[slug]/[itemId]/business/apps/courses/[id]/edit
/learn/[slug]/quiz/[quizId]/business/apps/courses/[id]/quizzes/[quizId]
/learn/[slug]/assignment/[assignmentId]/business/apps/courses/[id]/assignments/[assignmentId]