Deployment

Deployment

Thanks to Firebase Genkit (opens in a new tab), deploying your chat endpoints is as simple as running a single command.

You can deploy your QvikChat project to any Node.js platform that can serve an Express.js (opens in a new tab) app, whether it is a cloud service or your own server.

When you are ready to deploy the server to serve your defined chat endpoints, simply build the project and execute the start command.

npm run build
npm run start

QvikChat Sarter Template

If you are using the QvikChat Starter Template (opens in a new tab), you can also run the commands for linting and code formatting before deploying the server.

npm run lint
npm run format

If you've configured the tests correctly, you can also run the tests before deploying the server.

npm run test