LearningNodeJS
Getting Started
Essentials
Make sure you have node
and npm
installed. They can be found here.
Run node -v
and npm -v
on your command line. You should see something like:
C:\Users\User_name>node -v
v6.11.0
C:\Users\User_name>npm -v
3.10.10
Learn
Now that you have Node installed, Follow these steps to learn NodeJS in order:
- Look at the HelloWorld file
- Learn Modules
- Take a look at the NPM
- Learn Events and Callbacks
- Learn Uploading Files
- Learn MongoDB
Outcome
- Able to create a simple http webserver using node.js
- Able to connect to and query from a No-SQL database (MongoDB)
Where to go from here
I recommend learning a web developement framework such as ExpressJS to vastly speed up web application development.
Here is how I learned to use ExpressJS.
Questions and Concerns?
If you would like to make changes or add to any of this material, please contact me at prm170@g.harvard.edu
or marella2@illinos.edu
.
Credit
Most of this material can be found on W3Schools page here