@globus/static-data-portal v3.0.0
static-data-portal
🧪 BETA 🧪
This is a Globus-powered research data portal generator created using Next.js.
⚠️ IMPORTANT ⚠️ You only need to interact with this repository if you are improving the 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.
Developer Documentation
static.json
- The
static.jsonfile is the main configuration file for the data portal. - The
utils/static.tsfile is used to enforce a TypeScript type on this file. - All pages and components that source information from the user-provided
static.jsonshould useutils/static.tsand 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
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.
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.
12 months ago
7 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago