https://github.com/luciopaiva/node-examples
https://github.com/luciopaiva/node-examples
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/luciopaiva/node-examples
- Owner: luciopaiva
- Created: 2015-04-30T14:44:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-18T18:55:41.000Z (over 10 years ago)
- Last Synced: 2025-03-21T20:47:06.370Z (7 months ago)
- Language: JavaScript
- Size: 199 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-examples
Series of simple examples to show some Node.js features.
In ascending order of complexity:
* http-server: shows how to make a minimum functional HTTP server;
* simple-express-server: same as the *http-server*, but made with Express;
* motd-server: a simple Message-of-the-day server;
* static-express-server: shows how to use Express to serve static files;
* logging-express-server: shows how to create custom middleware. Besides Express, also uses Chalk to color output;
* json-express-server: a table tennis simulator to show the use of JSON in responses;
* websocket: an example of a full-powered websocket application using Express;