When you are finished with lab, follow these steps to submit your work. Create one Pull Request (aka: "PR") from your Forked repo to the ACL repo with your changes, and you'll each submit that same PR link in Canvas.
- Ensure that all your local changes are committed, and pushed to your origin repo.
- Visit the origin repo on github.com, and ensure that all of your completed work has been merged to master via Pull Requests within your repo.
- Create a new PR from your Fork to the ACL repo and ensure the branches look correct.
- Fill in the template based on the text box prompts:
- Write a good descriptive summary of your changes: 1. Be sure to include how much time you spent on it, and who you worked with. 1. Briefly reflect on and summarize your process.
- When you create the PR, it will have a unique URL. Copy this link, share with your partner, and paste it into the assignment submission form in Canvas. Both the driver and the navigator will submit the same PR link.
- Understand client-server architecture
- Review the differences between the Browser Runtime env and Node's Runtime env
- Usage and best practices when implementing a NodeJS project using NPM packages and package.json configs
- Understand the basics of working with ExpressJS for server-side routing and functionality
Node JS Docs | NPM JS Docs | Express JS Docs
- Initiate the project and create a
package.json
file. - Use NPM to install ExpressJS, and ensure that it's been saved as a dependency in the
package.json
file. - Complete each of the TODOs in the
server.js
file. - Run the server using
node server
and ensure that your app functions correctly. If you'd like to have your code live re-load the way thatlive-server
did, install the NPM packagenodemon
and use that to run your server.
- Create a route and callback that will serve up the
new.html
page via a separate URI. - Create a 404 route to handle any requests other than
index.html
ornew.html
, and deliver a 404 status message to those invalid requests.
Criteria | Pts |
---|---|
Meets all Assignment Reqs | 6 |
Uses idiomatic code style | 3 |
Follows proper Git workflow | 1 |
Total | 10 |