Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e7f71d

Browse files
committed
Reorganized week 2 and 3 directory structure
1 parent d3efbc4 commit 2e7f71d

File tree

16 files changed

+34
-25
lines changed

16 files changed

+34
-25
lines changed

README.md

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
1-
2-
> Please help us improve and share your feedback! If you find better tutorials or links, please share them by [opening a pull request](https://github.com/HackYourFuture/Node.js/pulls).
1+
> Please help us improve and share your feedback! If you find better tutorials
2+
or links, please share them by [opening a pull request](https://github.com/HackYourFuture/Node.js/pulls).
33

44
# HackYourFuture - Node.js
55

6-
This 3-week HYF Module is about Node.js. We can think of Node.js as "Javascript not running in a browser". This is what we mean by "backend", as in "backend developer".
6+
This 3-week HYF Module is about Node.js. We can think of Node.js as "Javascript
7+
not running in a browser". This is what we mean by "backend", as in "backend
8+
developer".
79

810
## Planning
911

10-
| Week | Topic | Read | Homework |
11-
| ---: | ------------------ | --------------------------------- | ---------------------------------- |
12-
| 0. | Introduction | [Week 0 Reading](week0/README.md) | None |
13-
| 1. | Node.js, NPM, http | [Week 1 Reading](week1/README.md) | [Week 1 Homework](week1/MAKEME.md) |
14-
| 2. | fs, process | [Week 2 Reading](week2/README.md) | [Week 2 Homework](week2/MAKEME.md) |
15-
| 3. | express, REST | [Week 3 Reading](week3/README.md) | [Week 3 Homework](week3/MAKEME.md) |
12+
| Week | Topic | Read | Homework |
13+
| ---: | ------------------ | --------------------------------- | ------------------------------------------- |
14+
| 0. | Introduction | [Week 0 Reading](week0/README.md) | None |
15+
| 1. | Node.js, npm, http | [Week 1 Reading](week1/README.md) | [Week 1 Homework](week1/homework/README.md) |
16+
| 2. | fs, process | [Week 2 Reading](week2/README.md) | [Week 2 Homework](week2/homework/README.md) |
17+
| 3. | express, REST | [Week 3 Reading](week3/README.md) | [Week 3 Homework](week3/homework/README.md) |
1618

1719

1820
## Pre-requisites
1921

20-
We will build on knowledge from the following HYF (sub)modules. If we feel we have gaps we should review the curriculum ourselves or ask a teacher to help.
22+
We will build on knowledge from the following HYF (sub)modules. If we feel we
23+
have gaps we should review the curriculum ourselves or ask a teacher to help.
2124

2225
- [JavaScript](https://github.com/HackYourFuture/JavaScript)
2326
- [Git](https://github.com/HackYourFuture/Git)
24-
- [Bash/CommandLineInterface](https://github.com/HackYourFuture/CommandLine)
27+
- [Bash/Command Line Interface](https://github.com/HackYourFuture/CommandLine)
2528

2629
## What will we learn?
2730

@@ -35,24 +38,31 @@ We will build on knowledge from the following HYF (sub)modules. If we feel we ha
3538

3639
## Why Node.js?
3740

38-
It is essential to have a backend for almost all web application. The backend is a place where we, developers, can store our data, communicate with users and let users communicate with us, do smart things like calculations, data processing, etc.
41+
It is essential to have a backend for almost all web application. The backend is
42+
a place where we, developers, can store our data, communicate with users and let
43+
users communicate with us, do smart things like calculations, data processing,
44+
etc.
3945

40-
There are many languages for this. You might've heard of Java, C, C++, C#, Go, Python, Ruby, PHP and [so on](https://blog.newrelic.com/2016/08/18/popular-programming-languages-2016-go/).
46+
There are many languages for this. You might've heard of Java, C, C++, C#, Go,
47+
Python, Ruby, PHP and [so on](https://blog.newrelic.com/2016/08/18/popular-programming-languages-2016-go/).
4148

4249
There are two reasons why we at HYF chose Node.js over others:
4350

4451
1. You already know JavaScript, so it's easier to get started;
45-
2. Node.js is great for making web APIs because it is asynchronous by nature and thus allows for high throughput, so it allows many users to make very light requests at the same time.
52+
2. Node.js is great for making web APIs because it is asynchronous by nature and
53+
thus allows for high throughput, so it allows many users to make very light
54+
requests at the same time.
4655

4756
## Handing in homework
4857

4958
A Video to remind you about [how we hand in homework](https://www.youtube.com/watch?v=-o0yomUVVpU&index=2&list=PLVYDhqbgYpYUGxRdtQdYVE5Q8h3bt6SIA).
5059

51-
Also review the [Git workflow material](https://github.com/HackYourFuture/Git/blob/master/Lecture-3.md) and use it as a reference.
60+
Also review the [Git workflow material](https://github.com/HackYourFuture/Git/blob/master/Lecture-3.md)
61+
and use it as a reference.
5262

5363

5464
## Rewatch previous lectures
5565

56-
- Lecture 1(Joost): https://www.youtube.com/watch?v=c8OvRVsbIsc
57-
- Lecture 2(Joost): https://www.youtube.com/watch?v=pY7IDaLX-no
58-
- Lecture 3(Joost): https://www.youtube.com/watch?v=oeWCqKJsHtU&t=99s
66+
- Lecture 1 (Joost): https://www.youtube.com/watch?v=c8OvRVsbIsc
67+
- Lecture 2 (Joost): https://www.youtube.com/watch?v=pY7IDaLX-no
68+
- Lecture 3 (Joost): https://www.youtube.com/watch?v=oeWCqKJsHtU&t=99s

week2/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ get a state, and manipulate the state (add, subtract, reset).
1818

1919
## Reading material
2020

21-
### Node.js process:
21+
### Node.js process
2222

23-
You Don't have to remember everything in this video, just a nice outline
23+
You don't have to remember everything in this video, just a nice outline
2424
[Egghead video tutorial](https://egghead.io/lessons/node-js-the-node-js-process-object)
2525
Only read the part about "process.argv"
2626
[Node.JS docs - process.argv](https://nodejs.org/docs/latest/api/process.html#process_process_argv)
File renamed without changes.

week3/MAKEME.md renamed to week3/homework/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
> Please help us improve and share your feedback! If you find better tutorials or links, please share them by opening a Pull Request.
2-
31
# HackYourFuture Node.js - Homework week 3
42

5-
### Assignment for this weak:
3+
### Assignment
64

7-
- Read through the code, make sure you understand the flow of the program
5+
- Read through the code from the lecture, make sure you understand the flow of
6+
the program
87
- Add three more actions
98
- `clear` (`DELETE /todos`) which will clear the list of todos
109
- `markAsDone` (`POST /todos/:id/done`) which will set the `done` flag of a single todo to `true`
File renamed without changes.
File renamed without changes.

week3/package.json renamed to week3/lecture/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "hyf-node-week-1",
2+
"name": "hyf-node-week-3-todo",
33
"version": "1.0.0",
44
"description": "HackYourFuture Node.js Week 3 - Todo App",
55
"repository": "https://github.com/HackYourFuture/nodejs.git",
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)