Created
September 11, 2017 06:22
-
-
Save rts-rob/1b2ab65f421081145c82b8e68fbec780 to your computer and use it in GitHub Desktop.
Basic archetype of every express function ever
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function archetype (request, response) { | |
// Get Data out of the request | |
// Process that data | |
// Build and send the response | |
response.setHeaders(); | |
response.write(); | |
response.end(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment