Files
archived-starters/examples/http-nodejs/README.md
Faraz Patankar 5c66af4831 Add frontmatter to all starters (#98)
* add frontmatter to BlitzJS starter

* add frontmatter to all starters

* add plugins and envVars

* fix envVars formatting

* fix key for defaultValue in envVars

* remove unused frontmatter
2021-05-13 02:56:21 -04:00

24 lines
656 B
Markdown

---
title: HTTP Module
description: A HTTP module server
tags:
- http
- javascript
---
# HTTP Module Example
This example starts an [HTTP Module](https://nodejs.org/api/http.html) server.
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new?template=https%3A%2F%2Fgithub.com%2Frailwayapp%2Fexamples%2Ftree%2Fmaster%2Fexamples%2Fhttp-nodejs)
## 💁‍♀️ How to use
- Install dependencies `yarn`
- Connect to your Railway project `railway link`
- Start the development server `railway run yarn dev`
## 📝 Notes
The server started simply returns a `Hello World` payload. The server code is located in `server.mjs`.