Build
Use npm ci && npm run build. Commit the lockfile and pin the runtime version so a rebuild installs the same dependency graph.
Review deployment docs →REST APIs, webhooks, server-rendered sites, middleware services, and WebSocket applications. Darwa AI connects the repository, runs npm ci && npm run build, deploys the result on node.js web server, and keeps domains, HTTPS, releases, logs, and billing in the same workspace.
These are operational requirements, not a generic framework feature list. Confirm them in the repository before the first release.
Use npm ci && npm run build. Commit the lockfile and pin the runtime version so a rebuild installs the same dependency graph.
Review deployment docs →Production start: npm start. The command must stay in the foreground and report a failed boot with a non-zero exit code.
Explore Web Services →Expected deployable output: Application source or compiled dist. Generated artifacts should come from the build rather than being edited after release.
Configure the build →Store secrets and environment-specific values in the service environment. Do not commit production credentials or bake them into frontend bundles.
Manage configuration →Expose a lightweight health endpoint, keep startup logs actionable, and verify the public endpoint after every release.
See runtime operations →Listen on process.env.PORT and 0.0.0.0, add a lightweight health route, and move request-independent jobs to a worker.
Check a workload with Darwa →A successful first deploy is not enough. The release must be reproducible, observable, reversible, and safe to scale.
Select the repository and production branch. Keep preview work isolated from the production service.
Confirm node.js web server, the build command, output, and production start command instead of relying on a lucky default.
Set secrets and public configuration with the correct build-time or runtime scope.
Watch the build, startup, and health checks; then exercise a real application path rather than only the homepage.
Point the domain after the generated endpoint is healthy. Managed HTTPS should complete before traffic is moved.
Keep the previous successful release available and make database changes backward-compatible before scaling replicas.
Yes. REST APIs, webhooks, server-rendered sites, middleware services, and WebSocket applications. The recommended starting product is Web Services, subject to the runtime boundary described on this page.
Start with npm ci && npm run build. Keep the dependency lockfile committed and test the same command in a clean environment before deployment.
Use npm start. A server deployment must listen on the assigned port, stay in the foreground, and exit when startup fails.
Yes. Deploy to the generated endpoint first, verify health, then connect the domain and wait for managed HTTPS before moving traffic.
Use the service environment and keep production secrets out of Git, build logs, browser bundles, and image layers.
Use health checks, backward-compatible data changes, a verified new release, and a retained previous release that can be restored quickly.