title: Hasura
description: A Hasura instance with a PostgreSQL database
tags:
Hasura example
This example sets up a Hasura instance with a PostgreSQL database.
![Deploy on Railway](https://railway.app/button.svg)
✨ Features
💁♀️ How to use
- Click the
Deploy on Railway
button
- Set up a
HASURA_GRAPHQL_ADMIN_SECRET
to secure your endpoints and console.
- Visit your console after the deployment is complete
📝 Notes
- This starter automagically provisions a PostgreSQL database for you when you click the
Deploy on Railway
. The DATABASE_URL
enviroment variable used in the Dockerfile
is picked up from there.
- The Hasura console and dev mode are enabled by default for a better development experience. You may want to read the production checklist before going live with your app.