Skip to content

ckorpio/testme

Repository files navigation

testme

For class. This is a demonstration of various basic tasks performed in express.js such as simple routes, and responding to GET and POST requests.

mynode.js: Basic web listening app
demo.js: Basic node program showing binding of events and handlers
expres.js: Basic routes and middleware. Also demo of res.send vs collecting messages to send after completing a chain of functions.
expres2.js: Added 'how to grab data from a query string (GET request)"
expres3.js: Added use of the file system "fs" and 'how to grab data from a POST request"
expres4.js: More use of the file system to present a static form and more flexible grabbing of data from a POST request
expres5.js: Use and handling of cookies

About

For class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published