.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
PORT
NODE_ENV
MONGO_URI
JWT_SECRET
secret
CORS_ORIGINS
brew install flyctl && fly launch --from https://github.com/lucast1574/portfolio-backend
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/lucast1574/portfolio-backend
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/lucast1574/portfolio-backend