ExpressJS
An ExpressJS app using the Pug view engine connected to a Postgres database
Express
unicodeveloper/deploy-express-on-railway
Just deployed
Postgres
railwayapp-templates/postgres-ssl:16
Just deployed
/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