🧪 BETA 🧪
This is a Globus-powered research data portal generator
created using Next.js.
generator
or using this code to start a self-managed project. If you want to deploy a data portal, copy our template-data-portal and modify the static.json
file to suit your needs.
This is a Next.js project bootstrapped with create-next-app
.
- The
static.json
file is the main configuration file for the data portal. - The
utils/static.ts
file is used to enforce a TypeScript type on this file. - All pages and components that source information from the user-provided
static.json
should useutils/static.ts
and its available helpers. - Typedoc is configured to generate documentation from
utils/static.ts
.
The included static.json
in this repository is configured toward local development, using a non-production Globus environment (sandbox
).
MDX support has been added to the project.
For simple pages, e.g. "Terms and Conditions" and "Privacy Policy" .mdx
is used to simplify these files being overwritten by end consumers using a overrides
or content
directory.
An end-user provided content
directory can be defined to provide Markdown (or MDX) files that will be added as pages
in the Next.js project. This allows for the end-user to provide custom pages without modifying the core project (via overrides
). This also allows us to provide backwards compatibility should we decide to move away from Next.js in the future.