mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
* add frontmatter to BlitzJS starter * add frontmatter to all starters * add plugins and envVars * fix envVars formatting * fix key for defaultValue in envVars * remove unused frontmatter
905 B
905 B
title, description, tags
| title | description | tags | |||
|---|---|---|---|---|---|
| ExpressJS Postgres | An ExpressJS server that connects to a PostgreSQL database |
|
ExpressJS Postgres Example
This example starts an ExpressJS server that connects to a Railway PostgreSQL database.
✨ Features
- Postgres
- Express
- TypeScript
💁♀️ How to use
- Install dependencies
yarn - Create a Railway project with the Postgres plugin
- Connect to your Railway project
railway link - Start the server
railway run yarn dev
📝 Notes
The server started simply returns the current time in the database. The SQL
query is located in src/index.js.