- note The
$
below means "Type this in the Terminal". When writing the following Terminal commands, ignore the$
and type the rest. You will see people represent the Terminal on sites like Stackoverflow with the$
. Repeat. You don't need to type the$
. (Don't confuse this$
with the$
from jQuery)
$ git clone [email protected]:kingluddite/catchup-03-node-express.git
-
Each of the lessons will be contained inside their own branches. You need to pull down these remote branches to your local machine
-
Use the following two commands to pull remote branches down to your local machine
-
$ git fetch --all
-
$ git pull --all
-
$ git branch -a
(will show you remote branches)
- To focus more on the code we will just checkout a branch to work on the next lesson
- You have access to the repo after the Catchup so you can play around with the code (the best way to learn how to code is.... to code)
- To checkout a branch just type any of the following to checkout that particular branch
- To see all your branches you can type
$ git branch
, (you won't see a list of the branches until you check each one out individually) - To break out of the list of branches type
q
for quit
$ git checkout -- .
$ git checkout master
$ git checkout 01-console-log
$ git checkout 02-argv
$ git checkout 03-activity-01-start
$ git checkout 04-activity-01-solution
$ git checkout 05-get-demo
$ git checkout 06-activity-2-start
$ git checkout 07-activity-2-solution
$ git checkout 08-demo-post
- Node
- Write Node
process.argv
syntax
- Activity 1
- Review Client & Server / Express Class Notes
- Point out the NYT Scraper App and how it works
- GET/POST
- Demo of GET
- Activity 2 - Create a route to display data
- Demo of POST
- Activity 3 - Students replicate demo on their own
- Student Feedback Survey