Deploy a Node.js application from files | NodeFlux.eu Docs
Upload a small Node.js project, install its dependencies, and start it safely.
Steps
- Deploy a Node.js plan that fits the application resource requirements.
- Upload your project files through the panel file manager or the service SFTP connection.
- Include package.json and a lockfile when your project uses one; never upload node_modules unless support specifically asks for it.
- Install dependencies with the command or startup workflow available for the service, preferably using npm ci when a lockfile exists.
- Set the startup command to the project entry point, such as npm start or node server.js.
- Start the service and inspect logs for missing dependencies, syntax errors, or an incorrect startup command.
Notes
- Use a clear service name and keep the project root tidy so files are easy to identify later.
- Commit source code to a private Git repository or keep an independent local copy; the service is not a source code backup.
Warning
Never upload .env files containing production secrets to a public repository or attach them to a support ticket.
Related NodeFlux pages
- Run a small API service — Host a small Express/Fastify style HTTP service using the assigned port.
- Make a Node.js web app reachable — Bind an Express, Fastify, or similar app to the service port provided by the panel.
- Deploy a Node.js bot — Run lightweight Discord bots, automation scripts, or event workers.