An open API service indexing awesome lists of open source software.

https://github.com/cstrnt/express-sample-app


https://github.com/cstrnt/express-sample-app

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

---
title: ExpressJs server
description: A simple ExpressJS server
tags:
- http
- nodejs
- express
- javascript
- json
---

# NodeJS Express Example

This example starts an [Express JS](https://expressjs.com/) server.

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/FZLQ6q?referralCode=ySCnWl)

## 💁‍♀️ How to use locally

- Install dependencies `npm install`
- Start the development server `npm run dev`

## 📝 Notes

The server started returns a plaintext message for the `/` route and a json message for the `/json` route.

The server code is located in `index.js`.