Qwik City Node middleware allows you to connect Qwik City to a Nodejs server which uses the common middleware functionality. Some Node servers include:
To integrate the
node adaptor, use the
npm run qwik add express
To build the application for production, use the
build command, this command will automatically run
npm run build.server and
npm run build.client:
npm run build
To deploy the application for development:
npm run deploy
Since you are choosing Node, here you are in your own, after running
npm run build:
distfolder will be created including all the static files.
serverfolder will be created including all node server files.
In order to deploy the server, you need to run the
server/entry.express.js file in the server of your choice.