Description
Once you know the use of JavaScript as a command-line language, you can use it to create web application servers (aka "web apps"). First
Goals
The student will learn...
- the rules of the HTTP protocol
- how to create a self-contained server-side web application using NodeJS
- how to deploy NodeJS applications to Heroku
- how to pass state from the client to the server and back again
- how to use MongoDB to save state between user sessions
- the basics of authentication and web security
- how to extend your application's functionality by calling APIs
- how to streamline and codify your application with an API of its own
Topics
APIsBody-ParametersBrowsersClientClient-Side-JavaScriptCookie-HeadersCookiesDnsDOM-ManipulationEvent-HandlersExpressFetchFormsGet-RequestGet-RequestsGitGit-PushGitHubHeadersHerokuHostHTMLHTML-ElementsHTTPHTTP-MethodsHTTP-RedirectLocal-ServerMime-TypesNodeNpmPackage-JSONParametersParsingPathPath-ParametersPortsPost-RequestProtocolsQuery-ParametersRequest-Response-CycleRequestsRequireRoutingSaving-StateServersStateTelnetTry-CatchUrlValues