title | description | tags | ||||
---|---|---|---|---|---|---|
BlitzJS |
Example Blitz app that connects to a PostgreSQL database |
|
This example is a Blitz.js app that connects to a Railway Postgres database.
- Blitz.js
- Postgres
- TypeScript
- Create a Railway project with the Postgres plugin
- Connect to your Railway project with
railway link
- Migrate the database
railway run blitz prisma migrate
- Run the Blitz app
railway run yarn dev
This example was generated by running blitz new
. The default SQLite database was swapped out for Postgres by following this guide.
Read more about Blitz.js at their official documentation.