Files
archived-starters/examples/expressjs
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
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

💁‍♀️ 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.