Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/next/README.md
1447 views

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.