Simple schedule-based Markdown note taking app for students and teachers built using Create-T3-App
: Next.js
, NextAuth
, TypeScript
, tRPC
and Prisma
.
- Use the
Create-T3-App
boilerplate - Using new
Next.js
middleware to handle auth redirects / routes protection - Setting up multiple OAuth providers with
NextAuth
- Use
Railway
forpostgresql
hosting - Render markdown content using
react-markdown
and@tailwindcss/typography
- User able to login via OAuth with
Google
,GitHub
,Twitter
,Twitch
andSpotify
providers. - User can create courses and set the duration for the courses
- For example, students/teachers can create multiple courses and set the duration for 1 semester (6 months or so)
- Then they can create the weekly schedules for the courses. For example, a student has Mathematics course and the course is from 8AM - 10AM from Monday - Friday. So they can set 5 schedules as the Mathematics course's weekly schedules, which are from Monday - Friday, 8AM - 10AM
- User can view their weekly schedules in the
Schedule
tab. User will also be able to select the specific weekly schedules that they want to see (by selecting the date) - From the weekly schedule card, user can add the notes for the schedule. The note is rendered in
Markdown
- For example, the student add note for the Monday's Mathematics class for that specific week
- In the
Search
tab, user can find their notes based on the tags that they created in the note
- Clone or fork this repository
- To clone:
git clone https://github.com/amirfakhrullah/sched.git
-
Set up
.env
vars (refer.env.sample
) -
Install the dependencies. I'm using
npm
here, so:
npm i
- Running locally
npm run dev
License under the MIT License