veryfront build and veryfront serve run your app on your own machine or server with Node.js 22.3 or later.
Before you start
You need a project on your machine. See Work locally.
Build and serve
- In your project's folder, build it. The output goes to
dist, or the folder-onames:Shellnpx veryfront build - Start the production server. It listens on port 3000 and every interface by default:
Shell
npx veryfront serve --port 8787 - Request the home page. You should now see the answer
200:Shellcurl -o /dev/null -w "%{http_code}\n" http://localhost:8787/
Try it in a sandbox
The project on your machine
Build it
Start the production server
Wait until it answers
Check it