---
title: "Deploy ExpressJS API Server"
description: "ExpressJS API Starter with basic examples"
category: "Starters"
url: https://railway.com/deploy/Vp8hse
---

# Deploy ExpressJS API Server

ExpressJS API Starter with basic examples

**[Deploy ExpressJS API Server on Railway](https://railway.com/template/Vp8hse)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/Vp8hse/manifest.json

- **Creator:** vimode's Projects
- **Category:** Starters
- **Total deploys:** 376

## Template content

### expressjs

- **Source:** https://github.com/railwayapp-templates/node-express

## Documentation

### ExpressJS API Server

This is a boilerplate/starter project for quickly building RESTful APIs using Node.js and Express, written in JavaScript. It will help you get started with a simple to follow format with some examples for routes, logging and middleware.

#### Features 

- Morgan - HTTP request logger middleware for Node.js
- CORS - Middleware to enable CORS with options.
- Example logger to create or redirect your logs to the service of your choice
-   Example middleware to further expand to use for auth
- Nodemon to help develop locally.

#### Details

The server runs a simple Express API server.

`/` returns `status: ok` 

`/hello`  returns `message: Hello World!`

Unknown endpoints are handled in a middleware file.

The `hello` route is defined  in the `helloRoute`   



## Similar templates

- [Openfront Gym](https://railway.com/deploy/openfront-gym) — Opensource Mindbody alternative based on Next.js and Keystone.js
- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [Next.js + Prisma + PostgreSQL Starter](https://railway.com/deploy/nextjs-prisma-postgres) — Deploy a Next.js app with Prisma ORM and PostgreSQL in one click.

Open this page in a browser: https://railway.com/deploy/Vp8hse
