CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/next/README.md
Views: 687

The Next.js Server

Overview

This is a next.js app, which is used as part of CoCalc to provide the landing page and the share server.

To develop this, mostly just edit code here and it will automatically reload (hot module refresh) without you having to refresh the page. As long as you're not changing basic configuration, you don't have to restart the server.

The Landing Page

The landing page is pages/index.tsx.

The Share Server

The paths for the share server are in pages/share. Also see lib/share and components/share for code specific to the share server.