Deployment

Deployment Guide


Deployment Options

CodeNx apps are standard Node.js/SvelteKit apps that can be deployed anywhere.

Vercel


The best experience for SvelteKit. Simply push your code to GitHub and connect your repository to Vercel. CodeNx is optimized for Vercel's edge functions.

Railway


Perfect for database + app hosting. Use the Railway CLI or dashboard to deploy your app and a PostgreSQL database in one go.

Docker


For complete control and self-hosting. Every CodeNx project includes a production-ready Dockerfile.

Environment Variables


Ensure you set your DATABASE_URL`, `JWT_SECRET, and AI provider keys in your platform's dashboard.