npm init -y
to create a package.json
file.npm install express redis
index.js
file in the project folder with the following content:fly init "your-app-name"
to initialize a new Fly.io application.fly.toml
file that was generated and add the following environment
variable under the [[services]]
section:your-upstash-redis-url
with the Redis URL from your Upstash instance.