mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
633 B
633 B
ExpressJS Example
This example starts an ExpressJS server that connects to a Railway PostgreSQL database.
✨ Features
- Postgres
- Express
💁♀️ How to use
- Install dependencies
yarn - Connect to your Railway project
railway init - Start the server
railway run yarn start
📝 Notes
The server started simply returns the current time in the database. The SQL
query is located in src/index.js.