A step-by-step guide to configure your existing Node.js project for secure, serverless deployment with Deploxy.
Check Prerequisites
package.json
is configured for publishing with the correct name
, version
, files
, and main
properties.Configure Your Project
.npmrc
: Create a file named .npmrc
in your project root to authenticate with NPM. Using an environment variable for your token is a critical security practice..deploxy.json
: Create a file named .deploxy.json
to configure your deployment. The easiest way to create this file is by using the Project Creator on your dashboard, which provides a user-friendly interface to generate the configuration. Once generated, simply copy it into your project root.A minimal configuration looks like this:DEPLOXY_TOKEN
and NPM_TOKEN
environment variables in your shell. You can get your Deploxy token from the Tokens page.Deploy Your Project