Configure your backend API connection
.nvmrc
file which specifies Node.js version 18.18.2.
You can either: - Use this version by running nvm use
to automatically
switch to 18.18.2 - Or modify the .nvmrc
file to use your preferred Node.js
version (must be ≥18.18.2).env
using the following command:
.env
file should look like this:
http://0.0.0.0:3000/hello
in your web browser. You should see a JSON response like this:
fly auth signup
if you don’t have an accountfly auth login
to login to your fly.io accountfly launch
to launch the API servicefly deploy
.