Skip to main content

Node.js API - making it shine!

8h 28m 7s
English
Paid

Course description

In this course, we will create Node.js basic shop API using Express.js and MongoDB. We will start this journey by understanding what clean architecture means, and right after will dive deep into coding.

We will start this course using in-memory DB and after that will move our app to MongoDB and Mongoose. I made a decision to make the course this way to show you how it's easy to move from one library to another when you are using good architecture.

We will test out the application using jest with the newest test stack and methodologies.

In this course, you will see how to use dependency injections in a really easy format and what it gives you. We will also make business validations for entity creation and updates. I want to show you how to use the response contracts layer to give one look at your every response from the server.

We will create an Application error handler to handle every exception or error and respond to a formatted response.

After every step of this course, you will have hands-on exercises and an answer right after.

Join this course to make a cool Node.js server. Enjoy and be happy :)

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 56 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: About this course

All Course Lessons (56)

#Lesson TitleDurationAccess
1
About this course Demo
01:23
2
Project overview
03:24
3
Into the Clean architecture
02:07
4
Project start
03:16
5
Create basic server
04:21
6
User entity
04:13
7
In-memory DB
02:27
8
User's repository
08:45
9
User's repository tests
27:29
10
Product entity
05:04
11
Product's repository
03:08
12
Product's repository tests
24:49
13
Order entity
03:57
14
Order's repository
04:41
15
Order's repository tests
25:19
16
Add user use case
09:22
17
Add user use case tests
18:36
18
Get user by ID use case
01:42
19
Get user by ID use case tests
07:59
20
Update user use case
01:39
21
Update user use case test
08:08
22
Delete user use case
02:56
23
Delete user use case test
08:05
24
Add product use case
06:13
25
Add product use case tests
15:13
26
Get product by ID use case
02:10
27
Get product by ID use case tests
09:12
28
Update product use case
02:10
29
Update product use case test
09:10
30
Delete product use case
02:22
31
Delete product use case test
08:18
32
Add order use cases
14:47
33
Create order use case test
29:00
34
Response Contracts
05:30
35
Initialize controllers by creating add user controller
15:10
36
Get User by ID controller
05:51
37
Delete user controller
02:27
38
Update user controller
01:49
39
User's controller tests
24:52
40
Add product controller
09:44
41
Delete product controller
03:21
42
Update product controller
01:51
43
Get product by ID controller
17:10
44
Add order controller
09:41
45
Get order by ID controller
01:22
46
Update order controller
01:50
47
Delete order controller
12:25
48
Add application error handler
09:59
49
Add order business validations
21:22
50
Fix tests after adding business validation rules
26:13
51
Initialize Mongo with Mongoose
07:54
52
Create user's schema
05:09
53
Create product schema
01:48
54
Create order schema
02:05
55
Create Mongo users repository
17:23
56
Create products + orders Mongo repositories
21:46

Unlock unlimited learning

Get instant access to all 55 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

React and NodeJS: A Practical Guide with Typescript

React and NodeJS: A Practical Guide with Typescript

Sources: udemy
I'm a FullStack Developer with 10+ years of experience. I'm obsessed with clean code and I try my best that my courses have the cleanest code possible. My teach
6 hours 54 minutes 59 seconds
Node.js CLI | Build Node.js Command-line Automation Dev-tools

Node.js CLI | Build Node.js Command-line Automation Dev-tools

Sources: Ahmad Awais (vscode.pro)
After building hundreds of developer automation tools used by millions of developers, I am teaching exactly how you can do it yourself with minimum effective ef
9 hours 3 minutes 32 seconds
Node.js, Express, MongoDB Bootcamp 2020 - with Real Projects

Node.js, Express, MongoDB Bootcamp 2020 - with Real Projects

Sources: udemy
If you are willing to become a backend web developer using latest technologies that you are at right place. This course is all about backend development with mo
14 hours 21 minutes 12 seconds
React, Angular, Node In-Depth Guide: Beginner to Pro

React, Angular, Node In-Depth Guide: Beginner to Pro

Sources: udemy
If you are planning to start your career as a developer or you just want to improve your programming skills, then this course is right for you. Get all you need to start web dev...
80 hours 1 minute 57 seconds
Discord Clone - Learn MERN Stack with WebRTC and SocketIO

Discord Clone - Learn MERN Stack with WebRTC and SocketIO

Sources: udemy
Learn how to connect MERN Stack with WebRTC and SocketIO. We will go through all of the steps to create application with group call functionality. We will crea
19 hours 29 minutes 29 seconds