├── .babelrc ├── .env-sample ├── .eslintrc.js ├── .github └── workflows │ └── build.yml ├── .gitignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── FAQ.md ├── LICENSE ├── LICENSE.md ├── README.md ├── SETUP.md ├── TODO.md ├── docker-compose.yml ├── jest.config.js ├── next-auth.d.ts ├── next-env.d.ts ├── next.config.mjs ├── package.json ├── postcss.config.js ├── prettier.config.js ├── prisma ├── migrations │ ├── 20220929040146_initial_migration │ │ └── migration.sql │ ├── 20220930052342_due_date │ │ └── migration.sql │ ├── 20220930054657_assignment_number │ │ └── migration.sql │ ├── 20221001051123_adding_attachments │ │ └── migration.sql │ ├── 20221001195243_content_type │ │ └── migration.sql │ ├── 20221001195500_remove_content_type │ │ └── migration.sql │ ├── 20221003003119_cascade_delete_assignments │ │ └── migration.sql │ ├── 20221003003321_more_cascade │ │ └── migration.sql │ ├── 20221004033120_add_display_name │ │ └── migration.sql │ ├── 20221006120202_adding_submissions │ │ └── migration.sql │ ├── 20221006122844_adding_a_rating_model │ │ └── migration.sql │ ├── 20221013005150_add_grade │ │ └── migration.sql │ └── migration_lock.toml ├── schema.prisma └── seed.ts ├── public └── favicon.ico ├── src ├── assets │ ├── assignments.svg │ ├── headlessui-select-react.png │ ├── profile.jpeg │ ├── richard-feynman.jpeg │ ├── student.jpeg │ ├── teacher.svg │ └── wdj-icon.jpg ├── components │ ├── common │ │ ├── Alert.tsx │ │ ├── Badge.tsx │ │ ├── Button │ │ │ ├── Button.tsx │ │ │ └── LinkButton.tsx │ │ ├── Card.tsx │ │ ├── EmptyStateWrapper.tsx │ │ ├── Footer │ │ │ └── Footer.tsx │ │ ├── Form │ │ │ └── FormGroup │ │ │ │ └── FormGroup.tsx │ │ ├── Header │ │ │ ├── Header.tsx │ │ │ ├── components │ │ │ │ ├── AccountMenu.tsx │ │ │ │ ├── LoggedInLinks.tsx │ │ │ │ ├── LoggedInSection.tsx │ │ │ │ ├── LoggedOutLinks.tsx │ │ │ │ ├── LoggedOutSection.tsx │ │ │ │ ├── Logo.tsx │ │ │ │ ├── MobileMenu.tsx │ │ │ │ ├── MobileMenuButton.tsx │ │ │ │ └── ThemeButton.tsx │ │ │ └── hooks │ │ │ │ └── useClickOutside.ts │ │ ├── Icons │ │ │ ├── BellIcon.tsx │ │ │ ├── DownloadIcon.tsx │ │ │ ├── EyeIcon.tsx │ │ │ ├── Icon.tsx │ │ │ ├── MoonIcon.tsx │ │ │ ├── PaperCheckIcon.tsx │ │ │ ├── PencilSquare.tsx │ │ │ ├── PeopleIcon.tsx │ │ │ ├── Spinner.tsx │ │ │ ├── SunIcon.tsx │ │ │ ├── TrashIcon.tsx │ │ │ └── UploadIcon.tsx │ │ ├── MainHeading.tsx │ │ ├── Modal.tsx │ │ ├── PageFooter.tsx │ │ └── Table │ │ │ └── Table.tsx │ └── screens │ │ ├── assignments │ │ └── AssignmentScreen.tsx │ │ ├── browse-classrooms │ │ └── BrowseClassroomsScreen.tsx │ │ ├── classroom-overview │ │ └── ClassroomOverviewScreen.tsx │ │ ├── classroom │ │ ├── ClassroomScreen.tsx │ │ ├── CreateAssignmentModal.tsx │ │ ├── EditClassroomModal.tsx │ │ ├── NoAssignments.tsx │ │ ├── NoStudents.tsx │ │ ├── SideNavigation.tsx │ │ ├── StudentAssignments.tsx │ │ ├── Students.tsx │ │ ├── StudentsSection.tsx │ │ ├── SubmissionsSection.tsx │ │ ├── TeacherAssignments.tsx │ │ └── hooks │ │ │ ├── useCreateAssignment.ts │ │ │ └── useEditClassroom.ts │ │ ├── classrooms │ │ ├── ClassroomCard.tsx │ │ ├── ClassroomsList.tsx │ │ ├── ClassroomsScreen.tsx │ │ ├── CreateClassroomModal.tsx │ │ └── EmptyStateClassrooms.tsx │ │ ├── dashboard │ │ ├── DashboardScreen.tsx │ │ ├── EmptyStateDashboard.tsx │ │ ├── EnrolledCard.tsx │ │ └── EnrolledList.tsx │ │ ├── edit-assignments │ │ ├── AttachmentsTable.tsx │ │ ├── EditAssignmentScreen.tsx │ │ ├── EditDateModal.tsx │ │ ├── EmptyStateAttachments.tsx │ │ └── hooks │ │ │ └── useFileUpload.tsx │ │ ├── home │ │ ├── FeatureSection.tsx │ │ ├── HeroSection.tsx │ │ └── HomeScreen.tsx │ │ └── profile │ │ └── ProfileScreen.tsx ├── hooks │ └── useIsClassAdmin.ts ├── layouts │ └── HeaderLayout.tsx ├── libs │ ├── aws.ts │ ├── mockUser.ts │ ├── unstable_getServerSession.ts │ └── useSession.ts ├── pages │ ├── _app.tsx │ ├── _document.tsx │ ├── api │ │ ├── auth │ │ │ └── [...nextauth].ts │ │ ├── download-attachment.ts │ │ ├── download-submission.ts │ │ ├── mock-role.ts │ │ └── trpc │ │ │ └── [trpc].ts │ ├── browse-classrooms.tsx │ ├── classrooms │ │ ├── [classroomId] │ │ │ ├── assignments │ │ │ │ └── [assignmentId] │ │ │ │ │ ├── edit.tsx │ │ │ │ │ └── index.tsx │ │ │ ├── index.tsx │ │ │ └── overview.tsx │ │ └── index.tsx │ ├── dashboard.tsx │ ├── index.tsx │ ├── profile.tsx │ └── welcome.tsx ├── server │ ├── db │ │ └── client.ts │ ├── env-schema.mjs │ ├── env.mjs │ ├── router │ │ ├── assignmentRouter.ts │ │ ├── auth.ts │ │ ├── classroomRouter.ts │ │ ├── context.ts │ │ ├── index.ts │ │ ├── studentRouter.ts │ │ ├── submissionRouter.ts │ │ └── userRouter.ts │ └── utils │ │ ├── assertIsAssignmentAdmin.ts │ │ ├── assertIsClassroomAdmin.ts │ │ ├── assertIsStudent.ts │ │ ├── assertIsTeacher.ts │ │ └── constants.ts ├── styles │ └── globals.css └── utils │ ├── reloadSession.ts │ └── trpc.ts ├── tailwind.config.js └── tsconfig.json /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/.babelrc -------------------------------------------------------------------------------- /.env-sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/.env-sample -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /FAQ.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/FAQ.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/README.md -------------------------------------------------------------------------------- /SETUP.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/TODO.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/jest.config.js -------------------------------------------------------------------------------- /next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/next-auth.d.ts -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/postcss.config.js -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prettier.config.js -------------------------------------------------------------------------------- /prisma/migrations/20220929040146_initial_migration/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/20220929040146_initial_migration/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20220930052342_due_date/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/20220930052342_due_date/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20220930054657_assignment_number/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/20220930054657_assignment_number/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20221001051123_adding_attachments/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/20221001051123_adding_attachments/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20221001195243_content_type/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/20221001195243_content_type/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20221001195500_remove_content_type/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/20221001195500_remove_content_type/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20221003003119_cascade_delete_assignments/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/20221003003119_cascade_delete_assignments/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20221003003321_more_cascade/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/20221003003321_more_cascade/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20221004033120_add_display_name/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/20221004033120_add_display_name/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20221006120202_adding_submissions/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/20221006120202_adding_submissions/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20221006122844_adding_a_rating_model/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/20221006122844_adding_a_rating_model/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20221013005150_add_grade/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/20221013005150_add_grade/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /prisma/seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/prisma/seed.ts -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/assets/assignments.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/assets/assignments.svg -------------------------------------------------------------------------------- /src/assets/headlessui-select-react.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/assets/headlessui-select-react.png -------------------------------------------------------------------------------- /src/assets/profile.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/assets/profile.jpeg -------------------------------------------------------------------------------- /src/assets/richard-feynman.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/assets/richard-feynman.jpeg -------------------------------------------------------------------------------- /src/assets/student.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/assets/student.jpeg -------------------------------------------------------------------------------- /src/assets/teacher.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/assets/teacher.svg -------------------------------------------------------------------------------- /src/assets/wdj-icon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/assets/wdj-icon.jpg -------------------------------------------------------------------------------- /src/components/common/Alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Alert.tsx -------------------------------------------------------------------------------- /src/components/common/Badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Badge.tsx -------------------------------------------------------------------------------- /src/components/common/Button/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Button/Button.tsx -------------------------------------------------------------------------------- /src/components/common/Button/LinkButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Button/LinkButton.tsx -------------------------------------------------------------------------------- /src/components/common/Card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Card.tsx -------------------------------------------------------------------------------- /src/components/common/EmptyStateWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/EmptyStateWrapper.tsx -------------------------------------------------------------------------------- /src/components/common/Footer/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Footer/Footer.tsx -------------------------------------------------------------------------------- /src/components/common/Form/FormGroup/FormGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Form/FormGroup/FormGroup.tsx -------------------------------------------------------------------------------- /src/components/common/Header/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Header/Header.tsx -------------------------------------------------------------------------------- /src/components/common/Header/components/AccountMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Header/components/AccountMenu.tsx -------------------------------------------------------------------------------- /src/components/common/Header/components/LoggedInLinks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Header/components/LoggedInLinks.tsx -------------------------------------------------------------------------------- /src/components/common/Header/components/LoggedInSection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Header/components/LoggedInSection.tsx -------------------------------------------------------------------------------- /src/components/common/Header/components/LoggedOutLinks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Header/components/LoggedOutLinks.tsx -------------------------------------------------------------------------------- /src/components/common/Header/components/LoggedOutSection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Header/components/LoggedOutSection.tsx -------------------------------------------------------------------------------- /src/components/common/Header/components/Logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Header/components/Logo.tsx -------------------------------------------------------------------------------- /src/components/common/Header/components/MobileMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Header/components/MobileMenu.tsx -------------------------------------------------------------------------------- /src/components/common/Header/components/MobileMenuButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Header/components/MobileMenuButton.tsx -------------------------------------------------------------------------------- /src/components/common/Header/components/ThemeButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Header/components/ThemeButton.tsx -------------------------------------------------------------------------------- /src/components/common/Header/hooks/useClickOutside.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Header/hooks/useClickOutside.ts -------------------------------------------------------------------------------- /src/components/common/Icons/BellIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Icons/BellIcon.tsx -------------------------------------------------------------------------------- /src/components/common/Icons/DownloadIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Icons/DownloadIcon.tsx -------------------------------------------------------------------------------- /src/components/common/Icons/EyeIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Icons/EyeIcon.tsx -------------------------------------------------------------------------------- /src/components/common/Icons/Icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Icons/Icon.tsx -------------------------------------------------------------------------------- /src/components/common/Icons/MoonIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Icons/MoonIcon.tsx -------------------------------------------------------------------------------- /src/components/common/Icons/PaperCheckIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Icons/PaperCheckIcon.tsx -------------------------------------------------------------------------------- /src/components/common/Icons/PencilSquare.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Icons/PencilSquare.tsx -------------------------------------------------------------------------------- /src/components/common/Icons/PeopleIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Icons/PeopleIcon.tsx -------------------------------------------------------------------------------- /src/components/common/Icons/Spinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Icons/Spinner.tsx -------------------------------------------------------------------------------- /src/components/common/Icons/SunIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Icons/SunIcon.tsx -------------------------------------------------------------------------------- /src/components/common/Icons/TrashIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Icons/TrashIcon.tsx -------------------------------------------------------------------------------- /src/components/common/Icons/UploadIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Icons/UploadIcon.tsx -------------------------------------------------------------------------------- /src/components/common/MainHeading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/MainHeading.tsx -------------------------------------------------------------------------------- /src/components/common/Modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Modal.tsx -------------------------------------------------------------------------------- /src/components/common/PageFooter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/PageFooter.tsx -------------------------------------------------------------------------------- /src/components/common/Table/Table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/common/Table/Table.tsx -------------------------------------------------------------------------------- /src/components/screens/assignments/AssignmentScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/assignments/AssignmentScreen.tsx -------------------------------------------------------------------------------- /src/components/screens/browse-classrooms/BrowseClassroomsScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/browse-classrooms/BrowseClassroomsScreen.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom-overview/ClassroomOverviewScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom-overview/ClassroomOverviewScreen.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom/ClassroomScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/ClassroomScreen.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom/CreateAssignmentModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/CreateAssignmentModal.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom/EditClassroomModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/EditClassroomModal.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom/NoAssignments.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/NoAssignments.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom/NoStudents.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/NoStudents.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom/SideNavigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/SideNavigation.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom/StudentAssignments.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/StudentAssignments.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom/Students.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/Students.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom/StudentsSection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/StudentsSection.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom/SubmissionsSection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/SubmissionsSection.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom/TeacherAssignments.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/TeacherAssignments.tsx -------------------------------------------------------------------------------- /src/components/screens/classroom/hooks/useCreateAssignment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/hooks/useCreateAssignment.ts -------------------------------------------------------------------------------- /src/components/screens/classroom/hooks/useEditClassroom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classroom/hooks/useEditClassroom.ts -------------------------------------------------------------------------------- /src/components/screens/classrooms/ClassroomCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classrooms/ClassroomCard.tsx -------------------------------------------------------------------------------- /src/components/screens/classrooms/ClassroomsList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classrooms/ClassroomsList.tsx -------------------------------------------------------------------------------- /src/components/screens/classrooms/ClassroomsScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classrooms/ClassroomsScreen.tsx -------------------------------------------------------------------------------- /src/components/screens/classrooms/CreateClassroomModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classrooms/CreateClassroomModal.tsx -------------------------------------------------------------------------------- /src/components/screens/classrooms/EmptyStateClassrooms.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/classrooms/EmptyStateClassrooms.tsx -------------------------------------------------------------------------------- /src/components/screens/dashboard/DashboardScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/dashboard/DashboardScreen.tsx -------------------------------------------------------------------------------- /src/components/screens/dashboard/EmptyStateDashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/dashboard/EmptyStateDashboard.tsx -------------------------------------------------------------------------------- /src/components/screens/dashboard/EnrolledCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/dashboard/EnrolledCard.tsx -------------------------------------------------------------------------------- /src/components/screens/dashboard/EnrolledList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/dashboard/EnrolledList.tsx -------------------------------------------------------------------------------- /src/components/screens/edit-assignments/AttachmentsTable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/edit-assignments/AttachmentsTable.tsx -------------------------------------------------------------------------------- /src/components/screens/edit-assignments/EditAssignmentScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/edit-assignments/EditAssignmentScreen.tsx -------------------------------------------------------------------------------- /src/components/screens/edit-assignments/EditDateModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/edit-assignments/EditDateModal.tsx -------------------------------------------------------------------------------- /src/components/screens/edit-assignments/EmptyStateAttachments.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/edit-assignments/EmptyStateAttachments.tsx -------------------------------------------------------------------------------- /src/components/screens/edit-assignments/hooks/useFileUpload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/edit-assignments/hooks/useFileUpload.tsx -------------------------------------------------------------------------------- /src/components/screens/home/FeatureSection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/home/FeatureSection.tsx -------------------------------------------------------------------------------- /src/components/screens/home/HeroSection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/home/HeroSection.tsx -------------------------------------------------------------------------------- /src/components/screens/home/HomeScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/home/HomeScreen.tsx -------------------------------------------------------------------------------- /src/components/screens/profile/ProfileScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/components/screens/profile/ProfileScreen.tsx -------------------------------------------------------------------------------- /src/hooks/useIsClassAdmin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/hooks/useIsClassAdmin.ts -------------------------------------------------------------------------------- /src/layouts/HeaderLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/layouts/HeaderLayout.tsx -------------------------------------------------------------------------------- /src/libs/aws.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/libs/aws.ts -------------------------------------------------------------------------------- /src/libs/mockUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/libs/mockUser.ts -------------------------------------------------------------------------------- /src/libs/unstable_getServerSession.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/libs/unstable_getServerSession.ts -------------------------------------------------------------------------------- /src/libs/useSession.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/libs/useSession.ts -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/_document.tsx -------------------------------------------------------------------------------- /src/pages/api/auth/[...nextauth].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/api/auth/[...nextauth].ts -------------------------------------------------------------------------------- /src/pages/api/download-attachment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/api/download-attachment.ts -------------------------------------------------------------------------------- /src/pages/api/download-submission.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/api/download-submission.ts -------------------------------------------------------------------------------- /src/pages/api/mock-role.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/api/mock-role.ts -------------------------------------------------------------------------------- /src/pages/api/trpc/[trpc].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/api/trpc/[trpc].ts -------------------------------------------------------------------------------- /src/pages/browse-classrooms.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/browse-classrooms.tsx -------------------------------------------------------------------------------- /src/pages/classrooms/[classroomId]/assignments/[assignmentId]/edit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/classrooms/[classroomId]/assignments/[assignmentId]/edit.tsx -------------------------------------------------------------------------------- /src/pages/classrooms/[classroomId]/assignments/[assignmentId]/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/classrooms/[classroomId]/assignments/[assignmentId]/index.tsx -------------------------------------------------------------------------------- /src/pages/classrooms/[classroomId]/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/classrooms/[classroomId]/index.tsx -------------------------------------------------------------------------------- /src/pages/classrooms/[classroomId]/overview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/classrooms/[classroomId]/overview.tsx -------------------------------------------------------------------------------- /src/pages/classrooms/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/classrooms/index.tsx -------------------------------------------------------------------------------- /src/pages/dashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/dashboard.tsx -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/profile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/profile.tsx -------------------------------------------------------------------------------- /src/pages/welcome.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/pages/welcome.tsx -------------------------------------------------------------------------------- /src/server/db/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/db/client.ts -------------------------------------------------------------------------------- /src/server/env-schema.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/env-schema.mjs -------------------------------------------------------------------------------- /src/server/env.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/env.mjs -------------------------------------------------------------------------------- /src/server/router/assignmentRouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/router/assignmentRouter.ts -------------------------------------------------------------------------------- /src/server/router/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/router/auth.ts -------------------------------------------------------------------------------- /src/server/router/classroomRouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/router/classroomRouter.ts -------------------------------------------------------------------------------- /src/server/router/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/router/context.ts -------------------------------------------------------------------------------- /src/server/router/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/router/index.ts -------------------------------------------------------------------------------- /src/server/router/studentRouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/router/studentRouter.ts -------------------------------------------------------------------------------- /src/server/router/submissionRouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/router/submissionRouter.ts -------------------------------------------------------------------------------- /src/server/router/userRouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/router/userRouter.ts -------------------------------------------------------------------------------- /src/server/utils/assertIsAssignmentAdmin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/utils/assertIsAssignmentAdmin.ts -------------------------------------------------------------------------------- /src/server/utils/assertIsClassroomAdmin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/utils/assertIsClassroomAdmin.ts -------------------------------------------------------------------------------- /src/server/utils/assertIsStudent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/utils/assertIsStudent.ts -------------------------------------------------------------------------------- /src/server/utils/assertIsTeacher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/utils/assertIsTeacher.ts -------------------------------------------------------------------------------- /src/server/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/server/utils/constants.ts -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/utils/reloadSession.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/utils/reloadSession.ts -------------------------------------------------------------------------------- /src/utils/trpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/src/utils/trpc.ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codyseibert/online-classroom/HEAD/tsconfig.json --------------------------------------------------------------------------------