Railway

Deploy ExpressJS

An ExpressJS app using the Pug view engine connected to a Postgres database

Deploy ExpressJS

/var/lib/postgresql/data

ExpressJS Example

This example starts an ExpressJS server using a Pug view engine connected to a Postgres database.

✨ Features

  • Express
  • JavaScript
  • Pug
  • Database

💁‍♀️ How to use

  • Install dependencies npm install
  • Connect to your Railway project railway link
  • Start the server railway run npm start

📝 Notes

The server started returns a timestamp from the database via a page using the Pug view engine.


Template Content

More templates in this category

View Template
caring-vibrancy
Deploy and Host caring-vibrancy with Railway

baleocho
View Template
Flask WebSocket Chat
Single file, realtime multi-user websocket chat using flask-socketio

Clement Ochieng
View Template
NEW
all-star-fashion-template
Deploy and Host all-star-fashion-template with Railway

Mai Thành Duy An