Run your Course37 student website on your own domain. Your courses, website pages, theme and student accounts come from your Course37 organization; the site's code is yours to change.
npx create-course37-app my-school-siteYou get a complete Next.js site that looks like your Course37 site from the first minute:
- home and custom pages;
- course catalog and course pages;
- sign-in, sign-up and password reset;
- the student dashboard, video lessons and profile.
Then make it yours: every page and component is plain React you can edit.
| Package | What it is |
|---|---|
create-course37-app |
Sets up a new student website: asks for your key, checks it, copies the starter. |
@course37/sdk |
TypeScript client for the Course37 public API (/v1): catalog, pages, student sign-in, enrollments, lessons and progress. No dependencies. Use it on its own in any JavaScript app. |
| Starter site | The Next.js website create-course37-app copies. |
@course37/sections |
The website sections Course37 sites are made of, used by the starter. Published from Course37's main codebase. |
In Course37 admin → Integrations → Developer API:
- Create a publishable key (
pk_live_…). - Under Allowed websites, add the addresses your site runs on (for example
http://localhost:3000andhttps://learn.your-school.com). - Set the student site to "Your own website" (Headless) so students can sign in and learn on your site.
import { createCourse37Client } from '@course37/sdk';
const course37 = createCourse37Client({ apiKey: 'pk_live_…' });
const { data: courses } = await course37.courses.list();See the SDK README for student sign-in, sessions and every call.
Issues and pull requests are welcome; see CONTRIBUTING.md. To report a security problem, follow SECURITY.md and don't open a public issue.