keioka / fastify-hello-world

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

This is the Fastify Hello world example on Render.

The app in this repo is deployed at https://fastify.onrender.com.

Note: Fastify's .listen method default binding uses localhost (127.0.0.1), whereas Render requires 0.0.0.0.

Deployment

See https://render.com/docs/deploy-node-fastify-app or follow the steps below:

Create a new web service with the following values:

  • Build Command: npm install
  • Start Command: node app.js

Or simply click:

Deploy to Render

That's it! Your web service will be live on your Render URL as soon as the build finishes.

About

License:MIT License


Languages

Language:JavaScript 100.0%