revamp: migrate Node.js (Express) backend API quickstart to new content model#996
revamp: migrate Node.js (Express) backend API quickstart to new content model#996arpit-jn wants to merge 3 commits into
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Summary
Redirects per inputRedirects in main/docs/quickstart/backend/nodejs/index.mdx
|
| AUTH0_AUDIENCE=YOUR_API_IDENTIFIER | ||
| ``` | ||
|
|
||
| <Warning> |
There was a problem hiding this comment.
The CLI tab uses to explain what the command does, while the Dashboard tab uses to remind users to replace placeholder values
A few things to fix here -
- should be on dashboard tab
- The placeholder reminder is missing from the CLI tab, even though both tabs show the same
.envwithYOUR_AUTH0_DOMAINandYOUR_API_IDENTIFIER, so basically the warning tag should be there for both CLI and dashboard tab, with Warning change to Note - The CLI (what the command does) sits after the
.envblock but describes the command, it should be move to right after
There was a problem hiding this comment.
Thanks. Fixed all three issues.
| "dependencies": { | ||
| "dotenv": "^16.3.1", | ||
| "express": "^4.21.0", | ||
| "express-oauth2-jwt-bearer": "^1.6.0" |
There was a problem hiding this comment.
Just a small suggestion, instead of showing the full package.json, we could show only the scripts block that needs to be added, since npm install already handles writing the dependencies. Also, if we do want to keep the full file, could we update express-oauth2-jwt-bearer to ^1.8.0 (current version)?
There was a problem hiding this comment.
Valid feedback, fixed.
…e to both tabs, change Warning to Note
…rve quickstart revamp
Description
Migrates the Node.js (Express) backend API quickstart from the old Recipe/Section multi-file format to the new single
index.mdxcontent model, matching the pattern established bybackend/fastify.What changed:
_index.mdx,index.mdx,interactive.mdx,02-using.mdx,03-troubleshooting.mdx) with a single consolidatedindex.mdxmode: wide, AI accordion (defaultOpen),<Steps>component,<Check>checkpoint,<AccordionGroup>troubleshooting, and<Accordion>advanced usage sectionsdocs.jsonnavigation fromnodejs/interactivetonodejs/index/docs/quickstart/backend/nodejs/interactive→/docs/quickstart/backend/nodejsReferences
main/docs/quickstart/backend/fastify/index.mdxinteractive.mdxcontent used as starting point)Testing
mint devat/docs/quickstart/backend/nodejs(HTTP 200)/interactiveURL redirects correctly (HTTP 307)Checklist
CONTRIBUTING.md.