Files
archived-starters/examples/expressjs
2021-02-04 11:19:12 -07:00
..
2021-02-03 06:45:59 +00:00
2021-02-03 06:45:59 +00:00
2021-02-03 06:45:59 +00:00
2021-02-03 06:45:59 +00:00
2021-02-03 06:45:59 +00:00

ExpressJS Example

This example starts an ExpressJS server that connects to a Railway PostgreSQL database.

Deploy on Railway

Features

  • Postgres
  • Express
  • TypeScript

💁‍♀️ How to use

  • Install dependencies yarn
  • Connect to your Railway project railway init
  • Start the development 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.