mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
Blitz.js Postgres Example
This example is a Blitz.js app that connects to a Railway Postgres database.
✨ Features
- Blitz.js
- Postgres
- TypeScript
💁♀️ How to use
- Create a Railway project with the Postgres plugin
- Connect to your Railway project with
railway init - Migrate the database
railway run blitz db migrate - Run the Blitz app
railway run yarn dev
📝 Notes
This example was generated by running blitz new on Nov 25, 2020. The default SQLite database was swapped out for Postgres by following this guide.
Read more about Blitz.js at their official documentation.