Railway Instructions

Note: These instructions replace the use of Heroku or any other database provider. Follow these instructions as an alternative to the Heroku instructions in the course.

Background

Since Heroku has deprecated its free resources, Railway can be used as an alternative. Follow the instructions below to setup a PostgreSQL database to use with the Spotify application.

Setup Instructions

  1. Visit https://railway.app/ and click Login to create an account

Railway home page

  1. After logging in, click Start a New Project. Railway home page after login

  2. Click Provision PostgreSQL Railway new project page

  3. Once the PostgreSQL Database is provisioned, select the instance and click on Connect to view the connection details Railway PostgreSQL information page

  4. Use the Postgres Connection URL in your .env file.