Requirements
- Node.js installed locally
- Account on Vertra Cloud
Project Structure
Configuration
package.json
vertracloud.config
Complete Example
Deploy
- Exclude
node_modulesfrom the project - Compress into ZIP or connect via GitHub
- In the creation wizard, select Node.js as language
- Configure memory (256MB is enough for simple APIs)
- Set environment variables if needed
- Click “Create Application”
Available Versions
Connecting to a Database
- PostgreSQL
- MongoDB
- Redis
Create the database on Vertra Cloud and use the provided credentials as environment variables.
Notes
- For TypeScript applications, compile before deployment and point
MAINto the compiled.jsfile - Use environment variables for database configuration and secrets
- Enable auto-restart for production APIs
- Configure a
/healthendpoint for monitoring