Always bet on JavaScript.
Visualisation of npm dependencies by @anvaka.
Compiling by @xkcd.
Lose Yourself by @claybanks1989.
In this assignment you’ll learn the basics of Node.
Take ± 3 hours to follow the learnyounode workshopper through to completion.
Workshoppers are interactive, self guided lesson modules, used as curriculum in NodeSchool: free and in-person hosted workshops. At NodeSchool, mentors help attendees work through the challenges, but you can also work through workshoppers on your own, or with friends or colleagues.
NodeSchool Amsterdam is pretty active: about once per month there’s a workshop. It’s also a lot of fun. Need some extra help? Want to meet more developers? Definitely attend one of the workshops!
Other than learnyounode
, workshoppers exist for JavaScript, npm, Express,
Electron, and much more. Feel free to peruse the
list of workshoppers and try anything that sounds interesting.
You’re expected to spend about 6 hours on assignments outside of class. Submit your assignments before lab 3.
Parcel, package, candy cane and string by @kadh.
You’ll learn the basics of node modules and npm packages and setup a boilerplate for your own feature.
Create the boilerplate for the feature you are going to create. Include a package.json
with a correct name, version, dependencies, and other
metadata.
See npm’s documentation on package.json
.
For examples of package.json
files, see
repeat-string
,
longest-streak
,
or skin-tone
.
index.js
Add a readme.md
to your repo, documenting the code: how to install it, how to use
it (with examples), a license.
For examples of readme.md
files, see
concat-stream
,
ccount
,
or normalize-url
. Here’s a good article on the art of READMEs
.
If you have some time left and would like to dig further you can:
.gitignore
.editorconfig
…most of the previously linked to projects have the above in place, look at them for examples.
Ask yourself upon completion:
dependencies
and devDependencies
?global
and local
dependencies?Push your changes: Hand in your progess in your repository on GitHub under your username.
Create an issue:
Mark this assignment as complete by opening an issue on our GitHub issue tracker. Fill in the issue template with the correct information. Make sure, in your repository, you include the resources used and update your readme.md
and wiki with additional information.
Feedback: Let us know what you thought of the homework, what part you spend a lot of time on and give us any feedback. Your project will be reviewed and receive feedback, so expect people to read it, and be ready for tips and tops!