百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
O

online-classroom

> 编程语言
开源

项目标题 WDJ 网络校园概述 该项目的目标是创建一个在线教学平台,教师和学生可以在该平台上进行教学和学习。

100 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

项目标题 WDJ 网络校园概述 该项目的目标是创建一个在线教学平台,教师和学生可以在该平台上进行教学和学习。

Project Title

WDJ Online Campus

Overview

The goal of this project is to create an online teaching platform. Where teachers and students can work together from almost any location online.

  • You will learn real world programming skills which are immediately applicable in today's competitive tech industry.
  • Our campus provides students with flexibile, focused and personalized courses for each student.

It's true, I love teaching! So let's hang out with on https://www.youtube.com/c/WebDevJunkie. I stream daily videos teaching you the skills that will help you be succesful. Glad to see you here!

Check out our Initial project goals below, expand for details!

Teachers will be able to create/manage:          - classes          - course materials          - announcements          - calendar events          - student communications

Students will be able to:          - view and enroll in classes.          - view, upload or download assignments and course materials.          - view grades, announcements and calendar events.          - communicate with teachers.

How to contribute

If you would like to contribute: fork this project and clone it to your local machine.

  1. https://github.com/codyseibert/online-classroom   - https://docs.github.com/en/get-started/quickstart/fork-a-repo
  2. Ask Cody (Web Dev Junkie) what you can work on in our discord found here: https://discord.gg/MAvSGb3KyK
  3. Please be sure to 1st send a message in the online-classroom channel found on our discord!

Contribution guidelines are located here

Setup

In your terminal

- npm i                         (install project dependencies locally.)
- cp .env-sample .env           (copies .env-sample file to a new local .env file.)
- npx prisma migrate dev        (updates prisma db and syncs data.)
- npm run dev                   (starts the project development server.)
- open http://localhost:3000    (cmd/ctrl + click the link in terminal output to open browser.)

Note: If app is not showing on port http://localhost:3000 Check terminal output
& verify port number. If port is already in use check http://localhost:3001 or 3002, etc...

In an additional terminal tab run Docker:

  • $ docker compose up

    https://docs.docker.com/engine/reference/commandline/compose_up/

In an additional terminal tab run Prisma Studio:

  • $ npx prisma studio

    https://www.prisma.io/studio

Mock User Setup

To test or development this project locally, various user roles are available. Set the following environment variable inside your .env file:

  • NEXT_PUBLIC_MOCK_NEXT_AUTH=true

Setting this env var will add buttons to the footer, allowing you use and s to switch users easily! Watch here to see implementation:

If you have questions or are unfamiliar with NEXTJS auth, please see the NEXT AUTH docs: https://next-auth.js.org/

Prisma

This project uses Prisma for database management.

https://www.prisma.io/docs/

To generate a new migration, run

$ npx prisma migrate dev --name

TRPC

This project uses TRPC for End-to-end typesafe APIs made easy.

  • To see how TRPC is used in this project follow this link: /src/server/router/index.ts
  • Individual routers can then be found in the same directory, eg: /src/server/router/assignmenRouter.tsx

NOTE: This project uses TRPC (version 9.26.2). Please make sure you referencing the correct docs version!

  • https://trpc.io/docs/v9/

Here are the docs for reference if you would like to contribute by migrating from v9 to v10, after v10 is officially released.

  • https://trpc.io/docs/v10/migrate-from-v9-to-v10

Version 10 docs in preparation of future migragration from v9 to v10.

  • https://trpc.io/docs/v10/

CSS Styling

This project uses Tailwind CSS & Headless UI for styles.

TailwindCSS:

TailwindCSS is a utility-first CSS framework, allowing you to apply styles quickly right in component tags.

The docs are great, simply search for the css style you are trying to apply.

Tip: Search using (cmd/ctrl + k) from anywhere in the docs.

https://tailwindcss.com/docs/

Headless UI:

Headless UI is a component library and was built to intergrate seemlessly with Tailwind CSS. It includes unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.These components are useful when you need a more complex accessible component but don't want to build it from scratch. Thank you in advance for helping us to keep accessibility a top priority!

Here is the reference for HeadlessUI: https://headlessui.com/

NOTE: Be sure to select the React tab when reviewing/using components.

Deploying project to Railway:

Recently I walked through deploying this project to Railway.app. Check out the video below.

  • YouTube Video walkthrough with Web Dev Junkie click here!

Changelog:

  • View the Changelog here

FAQs:

  • View the FAQs here

Issues· 8 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言