Environments and Permissions - NIAID-Data-Ecosystem/nde-strapi GitHub Wiki

Environment Routes

The following table lists the URLs for accessing the Strapi Admin Panel and the associated API base URLs for each environment.

NIAID Data Ecosystem Environment Admin Panel URL API Base URL Corresponding nde-strapi branch
Production strapi.nde.biothings.io data.niaid.nih.gov/strapi/api main
Staging strapi.nde.biothings.io data-staging.niaid.nih.gov/strapi/api main
Development strapi.nde-dev.biothings.io nde-dev.biothings.io/strapi/api dev

Additional configuration information for the NIAID Data Ecosystem can be found here.

📝 The staging and production environments of the NIAID Data Ecosystem share the same Strapi application and database, both managed by the main branch. As a result, any changes merged into the main branch will affect both the staging and production environments of the portal. As a best practice, only items marked as Published should appear on the production portal, while development and staging environments of the portal can display both Draft and Published items. Read more about Publication States

📈 Check system health: Refer to this table for health check endpoints for each environment.

API Routes

For a full list of API routes, see content-types.

Permissions

Strapi automatically provides an API to query your data but must be enabled by navigating to Settings > Roles - (under Users & Permissions Plugin) > Public (for public routes) and Settings > Roles - (under Users & Permissions Plugin) > Authenticated (for routes that require authentication) that you wish to enable.

Example of permissions list


📖 Relevant Strapi Documentation