Books
Learn HTML
Learn CSS
Learn GIT
Learn JavaScript
Learn PHP
Exercises
HTML
JavaScript
GIT
CSS
PHP
Courses
Quizzes
Snippets
Tools
Courses
NodeJS - The Complete Guide (incl. Deno.js, REST APIs, GraphQL)
Creating a User Model
This video lesson is part of the course:
Academind
Single-Course License
Full access to "NodeJS - The Complete Guide (incl. Deno.js, REST APIs, GraphQL)"
$39
$69
Access to this course only.
Buy Now
Academind Pro Membership
Unlimited access to this and all other current & future courses!
$19 /month
Cancel anytime!
Subscribe
×
Single-Course License
Full access to "NodeJS - The Complete Guide (incl. Deno.js, REST APIs, GraphQL)"
$39
$69
Access to this course only.
Buy Now
Getting Started
(0/9)
Optional: JavaScript - A Quick Refresher
(0/14)
Understanding the Basics
(0/18)
Improved Development Workflow and Debugging
(0/15)
Working with Express.js
(0/24)
Working with Dynamic Content & Adding Templating Engines
(0/17)
The Model View Controller (MVC)
(0/10)
Optional: Enhancing the App
(0/9)
Dynamic Routes & Advanced Models
(0/19)
SQL Introduction
(0/14)
Understanding Sequelize
(0/26)
150. Module Introduction
1:26
151. What is Sequelize?
2:35
152. Connecting to the Database
3:57
153. Defining a Model
5:47
154. Syncing JS Definitions to the Database
4:29
155. Inserting Data & Creating a Product
4:49
156. Retrieving Data & Finding Products
3:01
157. Getting a Single Product with the "where" Condition
4:30
158. Fetching Admin Products
1:25
159. Updating Products
5:18
160. Deleting Products
2:48
161. Creating a User Model
2:48
162. Adding a One-To-Many Relationship
5:54
163. Creating & Managing a Dummy User
6:01
164. Using Magic Association Methods
3:42
165. Fetching Related Products
2:46
166. One-To-Many & Many-To-Many Relations
6:03
167. Creating & Fetching a Cart
5:45
168. Adding New Products to the Cart
6:42
169. Adding Existing Products & Retrieving Cart Items
4:55
170. Deleting Related Items & Deleting Cart Products
2:24
171. Adding an Order Model
4:19
172. Storing Cartitems as Orderitems
8:19
173. Resetting the Cart & Fetching and Outputting Orders
9:53
174. Wrap Up
1:49
175. Useful Resources & Links
1:00
Working with NoSQL & Using MongoDB
(0/32)
Working with Mongoose
(0/21)
Sessions & Cookies
(0/21)
Adding Authentication
(0/20)
Sending Emails
(0/6)
Advanced Authentication
(0/12)
Understanding Validation
(0/19)
Error Handling
(0/12)
File Upload & Download
(0/18)
Adding Pagination
(0/8)
Understanding Async Requests
(0/6)
Adding Payments
(0/5)
Working with REST APIs - The Basics
(0/11)
Working with REST APIs - The Practical Application
(0/30)
Understanding Async Await in Node.js
(0/7)
Understanding Websockets & Socket.io
(0/14)
Working with GraphQL
(0/26)
Deploying our App
(0/14)
Testing Node.js Applications
(0/18)
Node.js as a Build Tool & Using npm
(0/6)
Modern JavaScript & NodeJS
(0/6)
Bonus: Node & TypeScript
(0/21)
DenoJS - An Introduction
(0/18)
Deno & MongoDB
(0/8)
Roundup
(0/1)