https://github.com/cstrnt/express-sample-app
https://github.com/cstrnt/express-sample-app
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/cstrnt/express-sample-app
- Owner: cstrnt
- Created: 2023-07-04T08:59:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-04T09:00:00.000Z (almost 3 years ago)
- Last Synced: 2025-03-26T20:57:43.948Z (about 1 year ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.
[](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`.