Web app for university students to discuss courses, created as a hobby project. The idea for this project was influenced by Jodel, which lets its users send anonymous messages to threads visible to everyone.
App is currently hosted at course-forum.herokuapp.com but only a small number of courses from University of Oulu Computer Science and Engineering degree programme is included.
View all courses available for discussion
View and create message threads under courses.
Browse and send messages to threads. To prevent spam, each user can send one message every 3 minutes.
Tech stack used to create Course Forum:
Component | What was used? |
---|---|
Frontend | React, CSS |
Backend | ExpressJS |
Database | MongoDB Atlas |
Data from these endpoints is returned as JSON objects
- /api/courses
- Get all available courses in database
- Returns
{id: String, name: String}
- /api/courses/{course_id}
- Get threads in course specified by
course_id
- Returns
{id: String, name: String}
- Get threads in course specified by
- /api/courses/{course_id}/{thread_id}
- Get messages in thread specified by
thread_id
located in coursecourse_id
- Also checks if user can participate in discussion and returns the result of this check in
canParticipate
- Returns
{topic: String, canParticipate: boolean, messages: Array}
- Get messages in thread specified by
- /api/courses/{course_id}
- Start a new thread in specified course
- Body expected:
{threadName: String}
- /api/courses/{course_id}/{thread_id}
- Post a new message to a thread
- Body expected:
{message: String}