Ter o node com o postgres e o redis instalados rendo opcional usar o docker junto com o docker compose
BACKEND_URL="http://localhost"
BACKEND_PORT=3000
JWT_SECRET="SECRET"
POSTGRES_HOST=localhost
POSTGRES_USER=user
POSTGRES_PASSWORD=pass
POSTGRES_DB=db
POSTGRES_PORT=5432
REDIS_HOST=localhost:3000
REDIS_PORT=6379
REDIS_PASSWORD=pass
npm install
docker compose up -d
$ npm run build
$ npm run start