| title | Elixir Phoenix | |||
|---|---|---|---|---|
| description | A Phoenix application that connects to a PostgreSQL database | |||
| tags |
|
This example is a Phoenix application that connects to a Railway Postgres database.
- Elixir
- Phoenix
- Postgres
- Create a Railway project with the Postgres plugin
- Connect to your Railway project with
railway link - Install dependencies with
railway run mix deps.get - Migrate the database
railway run mix ecto.migrate - Install node dependencies with
cd assets && npm install - Run the Phoenix app
railway run mix phx.server
This example was generated by running mix phx.new.
Read more about Phoenix at their official documentation.