title | description | tags | |||
---|---|---|---|---|---|
Elixir Phoenix |
A Phoenix application that connects to a PostgreSQL database |
|
Elixir Phoenix Example
This example is a Phoenix application that connects to a Railway Postgres database.
✨ Features
- Elixir
- Phoenix
- Postgres
💁♀️ How to use
- 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
📝 Notes
This example was generated by running mix phx.new
.
Read more about Phoenix at their official documentation.