Skip to main content

Fastify

An efficient server implies a lower cost of the infrastructure, a better responsiveness under load and happy users. Check out their official documentation here

Deploy a Fastify App

  1. Fork/Clone this Hostless-Fastify-Example repo from github

  2. Click on 'Create New App'

  3. Choose a suitable app name

  4. Choose your github account

  5. Choose the forked github repo/the cloned remote repo

  6. Choose a build system

    1. 'Detect automatically with Nixpicks' - automatically detects the programming language and builds the app
    2. 'Docker' - looks for a Dockerfile in the root of the project and build based on the instructions
  7. Input a start command(optional) - By default uses yarn start

  8. The PORT environment variable is set by Hostless

  9. Set HOST to 0.0.0.0

Sample configuration

sample

Example project

An example project is hosted on https://hostless-fastify-example.hostless.app/