Skip to content

Commit 8667fed

Browse files
Merge pull request #29 from HackYourFuture-CPH/js-node-plan
Plan to split up existing javascript/node.js modules across the new courses
2 parents 246eda0 + fe5da8a commit 8667fed

File tree

1 file changed

+178
-0
lines changed

1 file changed

+178
-0
lines changed
Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
# 📘 JavaScript & Node.js Module Restructuring Plan Proposal
2+
3+
## 🎯 Goal
4+
5+
To restructure existing JavaScript and Node.js content into a new modular curriculum across three tracks: **Foundation**, **Frontend Specialism**, and **Backend Specialism**. The focus is on reuse, clarity, and separating concerns between frontend and backend education.
6+
7+
This is schemas for current module structures. I will use the same **color-coding** for the parts of new modules, so it would be obvious where is this topic is coming from. You can also use the attached file to have interactive schemas in [draw.io](https://app.diagrams.net/)
8+
9+
[Click to dowload hyf.drawio.zip](https://github.com/user-attachments/files/19875331/hyf.drawio.zip)
10+
11+
![Image](https://github.com/user-attachments/assets/894799bd-c19a-49ea-a1bc-f0c14cab66e0)
12+
13+
![Image](https://github.com/user-attachments/assets/53027cc4-f720-43ee-bce5-e310000298d1)
14+
15+
![Image](https://github.com/user-attachments/assets/c7f2a630-dfd7-4dda-aabe-f70e1c83987c)
16+
17+
![Image](https://github.com/user-attachments/assets/b9985e8d-90ad-4215-90ec-1275449717af)
18+
19+
---
20+
21+
## 🧱 FOUNDATION COURSE STRUCTURE
22+
23+
### 🎓 Final Project Strategy
24+
25+
**Vision:** Trainees begin shaping their Foundation course **final project**, gradually building upon it across modules. By the end, they should have:
26+
27+
- A frontend consuming data from a backend API
28+
- Core business logic reused from early JavaScript work.
29+
30+
**Approach:**
31+
32+
- Start developing simple reusable logic (just functions solving problems for their future project!) in latest General JavaScript homeworks.
33+
- Reuse and expand this logic in homeworks for Introduction modules.
34+
35+
### 1. Module: General JavaScript
36+
37+
**Duration**: 4 weeks\
38+
**Source**: copy of JavaScript 1\
39+
**Purpose**: Establish fundamental JavaScript knowledge. Teaches only one way to solve problems, no advanced topics or multiple approaches.
40+
41+
#### Topics for General JavaScript
42+
43+
- **Week 1**: Intro JS, Types, Setup, Operators, console.log, Errors, Variables
44+
- **Week 2**: Conditions, Functions, Scope, For loop
45+
- **Week 3**: Arrays (no map/filter/reduce), Objects, Call stack
46+
- **Week 4**: Recap and Problem Solving
47+
48+
![Image](https://github.com/user-attachments/assets/03dd07df-6bb7-48a4-9aeb-053744da16af)
49+
50+
#### Final Week Homework Note
51+
52+
Introduce small reusable logic/function tasks already in the final week (e.g., calculating prices, transforming arrays) and encourage saving the code — these will be reused in API or frontend in later modules.
53+
54+
### 2. Module: Web Architecture 101
55+
56+
**Duration**: 1 week\
57+
**Purpose**: Introduce shared concepts between frontend and backend. Creates a unified mental model before Introductions for specialisations and removes duplicates from modules (like API explanations).\
58+
**Note**: It, probably, will require some new material there (we didn’t have architecture before), but we can always just stick to the topics that was introduced before in old modules.
59+
60+
#### Topics for Web Architecture 101 [not limited to]
61+
62+
- Client vs Server
63+
- What is Backend?
64+
- Client–Server Model
65+
- HTTP
66+
- JSON
67+
- API
68+
- Databases
69+
- Conceptual overview of deployment (to prepare for real-world usage in final project)
70+
71+
![Image](https://github.com/user-attachments/assets/c01ec981-9b9a-4b4f-8bbf-71489a800e0a)
72+
73+
### 3. Module: Introduction to Backend
74+
75+
**Duration**: 1 week\
76+
**Purpose**: Provide a hands-on primer to backend development. Enables learners to build a basic working backend (simple CRUD server or even less).\
77+
**Reasoning**: Placing backend first in hands-on development allows learners to apply their JavaScript fundamentals while reinforcing their understanding of APIs introduced in Web Architecture 101. This progression is both natural and confidence-building: learners already know how to write logic, and now they can wrap it in endpoints (basically, another level of functions). Starting here also clarifies the API before they consume it from the frontend side.
78+
79+
#### Topics for Introduction to Backend
80+
81+
- Intro to Node.js
82+
- Simple web server
83+
- Using Postman to test endpoints
84+
- CRUD implementation (focus on code, not theory)
85+
- _Optional_: Basic DB interaction (since we have a module, but not necessary)
86+
- Optional: Introduce a simple one-click deployment path
87+
88+
![Image](https://github.com/user-attachments/assets/e7516502-8137-40d0-ba8c-3999a417c408)
89+
90+
### 4. Module: Introduction to Frontend
91+
92+
**Duration**: 1 week\
93+
**Purpose**: Demonstrate how JavaScript is used on the frontend, how to interact with DOM and how to interact with APIs from the browser.
94+
95+
#### Topics for Introduction to Frontend
96+
97+
- Browser environment (HTML vs CSS vs JS, script tag placement, debugging)
98+
- DOM manipulation basics
99+
- Event listeners (focus on usage, no callback explanation)
100+
- `fetch()` for calling APIs (usage only — promises explained later)
101+
- _Optional_: Introduce a simple one-click deployment path
102+
103+
![Image](https://github.com/user-attachments/assets/aab89368-8620-4ede-a0ed-3ce5575435bc)
104+
105+
### Open Questions
106+
107+
- **Deployment**: Should we provide guided deployment in Introduction modules? Just instructions, so they would be able to use them for Foundation Final Project.
108+
109+
---
110+
111+
## 🧱 SPECIALISATIONS COURSE STRUCTURE
112+
113+
## Frontend & Backend Specialisations
114+
115+
### 1. Module: Advanced JavaScript
116+
117+
**Duration**: 4 weeks\
118+
**Purpose**: Deepen JavaScript knowledge with modern concepts and patterns used in both frontend and backend development. This module is part of both the Frontend and Backend Specialisation tracks. While topics are shared, examples and homeworks must be tailored per track.
119+
120+
#### Topics for Advanced JavaScript
121+
122+
- **Week 1**: Array functions, Arrow functions
123+
- **Week 2**: Callback functions, Asynchronicity, Scope
124+
- **Week 3**: Promises, Async/Await
125+
- **Week 4**: Classes, Advanced Promises
126+
127+
![Image](https://github.com/user-attachments/assets/2d61e291-0abd-42a6-9eca-43ee38bb4bfb)
128+
129+
#### Track-specific differentiation
130+
131+
- **Frontend Specialism**: Browser-based examples (e.g., DOM tasks, UI-based async data fetching)
132+
- **Backend Specialism**: Server-based examples (e.g., file handling, API response management)
133+
134+
#### To do for Advanced JavaScript
135+
136+
- Rethink the final assignment structure and integration with broader project.
137+
138+
---
139+
140+
### Backend Specialisation
141+
142+
### 1. Module: Node.js
143+
144+
**Duration**: 2 weeks\
145+
**Purpose**: Expand learners’ backend development capabilities using Node.js and Express. Builds on Introduction to Backend with more advanced tooling, patterns, and responsibilities.
146+
147+
#### Topics for Node.js
148+
149+
- **Week 1**:
150+
- Express (intro, routing, logging, debugging)
151+
- Middleware
152+
- Postman (creating collections, saving queries)
153+
- **Week 2**:
154+
- Postman (POST, DELETE, PUT requests)
155+
- API Design (REST, CRUD)
156+
- Database interaction (expanded)
157+
158+
![Image](https://github.com/user-attachments/assets/6d309db1-e849-4412-b93c-9705b993e2a2)
159+
160+
**Optional changes:**
161+
162+
- Can optionally have an additional week to include advanced backend topics that was proposed in previous dicussions
163+
164+
#### To do for Node.js
165+
166+
- Rethink the final assignment structure and integration with broader project.
167+
168+
---
169+
170+
## Other Questions
171+
172+
> Should we introduce js module/import/export concept in foundation or not?
173+
174+
_Option 1_: It might be natural to introduce separate files in «Introduction to Backend», and then mention in «Introduction to Frontend» how it is solved there.
175+
176+
_Option 2_: Introduce idea of structuring files (and import/export) on «Web Architecture 101» session.
177+
178+
_Option 3_: Not to give this concept in Foundation, because it seems like it can be done in one file, and later they will have to have separate files in React / Node anyway.

0 commit comments

Comments
 (0)