CodeDala
Home
Courses
Paths
Marketplace
How it works
Pricing
🌐
KZ
RU
EN
Log in
Start free
Order a project
Nd
💻 For developers
Node.js + Express
JavaScript on the server: REST API, routes, middleware
What you'll build
📘
A solid foundation
⚡
Practice in the browser
🎯
Mini-projects
🎓
Course certificate
📘 30
lessons
⏱ 1-2 evenings
🎓 Advanced
🎯 Mission
Master Node.js + Express
⚡
+350
XP
🏆
Certificate
PDF
🎓
Course complete
Progress
0 / 30 · 0%
Next up:
What is Node.js
Start the project →
Course program
01
Основы Node.js
0 / 5 lessons
⌄
01
What is Node.js
JS without a browser
•
The process object
•
Running node
⚡ +10
▶ Now
02
process.argv — command line arguments
process.argv
•
Argument string
•
argv[2]
⚡ +10
Open
03
process.env — environment variables
process.env
•
Configuration
•
The .env file
⚡ +10
Open
04
Timers: setTimeout and setInterval
setTimeout
•
setInterval
•
clearInterval
⚡ +10
🔒 Pro
05
Async/await and Promise basics
Promise
•
async function
•
await
⚡ +10
🔒 Pro
02
Модули и npm
0 / 5 lessons
⌄
06
CommonJS modules: require
module.exports
•
require
•
CommonJS
⚡ +10
🔒 Pro
07
ES Modules: import / export
export
•
import
•
type: module
⚡ +10
🔒 Pro
08
npm and package.json
npm init
•
dependencies
•
scripts
⚡ +10
🔒 Pro
09
Built-in modules: os, path, url
node:os
•
node:path
•
node:url
⚡ +10
🔒 Pro
10
nodemon — automatic restart
nodemon
•
scripts in package.json
•
dev mode
⚡ +10
🔒 Pro
03
Файлы и пути
0 / 5 lessons
⌄
11
fs.readFileSync — reading a file synchronously
The fs module
•
readFileSync
•
utf-8 encoding
⚡ +10
🔒 Pro
12
fs.writeFileSync — writing to a file
writeFileSync
•
Overwriting a file
•
appendFileSync
⚡ +10
🔒 Pro
13
fs.promises — asynchronous file operations
fs.promises
•
async/await
•
readFile writeFile
⚡ +10
🔒 Pro
14
path.join, path.resolve, __dirname
path.join
•
path.resolve
•
__dirname
⚡ +10
🔒 Pro
15
fs.readdirSync — reading directory contents
readdirSync
•
existsSync
•
File list
⚡ +10
🔒 Pro
04
HTTP-сервер
0 / 4 lessons
⌄
16
http.createServer — your first server
createServer
•
req and res objects
•
listen port
⚡ +10
🔒 Pro
17
res.writeHead — status code and headers
writeHead
•
HTTP status code
•
Content-Type
⚡ +10
🔒 Pro
18
Routing via req.url and req.method
req.url
•
req.method
•
Routing
⚡ +10
🔒 Pro
19
JSON response — the basis of an API
JSON.stringify
•
application/json
•
API response
⚡ +10
🔒 Pro
05
Фреймворк Express
0 / 5 lessons
⌄
20
Installing Express and your first server
installing express
•
app.listen
•
app.get
⚡ +10
🔒 Pro
21
Creating multiple routes
Multiple routes
•
app.post
•
res.json
⚡ +10
🔒 Pro
22
Route parameters: req.params
req.params
•
The :id parameter
•
Dynamic route
⚡ +10
🔒 Pro
23
Query parameters: req.query
req.query
•
Query string
•
URL filters
⚡ +10
🔒 Pro
24
express.Router — modular routes
express.Router
•
router.get
•
app.use
⚡ +10
🔒 Pro
06
Middleware и JSON
0 / 3 lessons
⌄
25
What is middleware: the next() function
Middleware
•
The next() function
•
app.use
⚡ +10
🔒 Pro
26
express.json() — reading the JSON body
express.json()
•
req.body
•
POST body
⚡ +10
🔒 Pro
27
Error-handling middleware
Error middleware
•
The err parameter
•
500 status
⚡ +10
🔒 Pro
07
Проект REST API
0 / 3 lessons
⌄
28
In-memory data: CRUD basics
CRUD
•
Array as a database
•
GET POST DELETE
⚡ +10
🔒 Pro
29
PUT and DELETE: updating and deleting a resource
app.put
•
app.delete
•
Array.findIndex
⚡ +10
🔒 Pro
30
Mini project: a full REST API
Full CRUD
•
express.Router
•
Port env
🎓
Course complete
🔒 Pro
Node.js + Express — online coding course