Menu

ONLYOFFICE Docs API Sample: Scaffold a Next.js Integration with Create App in One Command
πŸ“°

ONLYOFFICE Docs API Sample: Scaffold a Next.js Integration with Create App in One Command

DEV Community: nextjsΒ·Kseniya FedorukΒ·6 days ago
#8ertOlk4
#devtonextjs#devto#dev#onlyoffice#docs
Long article (1313 words) β€” no AI summary yet.
Reading 0:00
15s threshold

Want to see how ONLYOFFICE Docs fits into a modern web app without wiring every callback by hand? The new Create App integration sample on the ONLYOFFICE API site walks you through @onlyoffice/create-app , a CLI that scaffolds a complete Next.js integration in one command, much like create-next-app does for a site.

Here's what's inside:

One command to generate a Next.js + React + TypeScript file manager wired to ONLYOFFICE Docs

Three .env variables to connect it to your Docs server

JWT in both directions : a signed editor config and a verified save callback

Real save flow : edited files are written back to disk through the callback handler

🧩 What the sample does

The Create App integration sample generates a small file manager.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.