Aller au contenu principal
Academind
Tous les cours

Cours Academind Pro

NodeJS - The Complete Guide (MVC, REST APIs, GraphQL, Deno)

Master Node JS, build REST APIs with Node.js, GraphQL APIs, add Authentication, use MongoDB, SQL & much more!

  • 36 sections · 536 leçons
  • 39 h et 48 min au total

À propos de ce cours

You can write JavaScript, but the moment you try to build a real backend, things get messy fast: requests and responses, data storage, logins, file uploads, and “where does all this code even go?” If you’ve been stuck stitching tutorials together, you’re not alone.

In this course, you’ll grow into Node.js step by step, with the theory explained clearly and then immediately applied in realistic code. You’ll see how to structure server-side apps so they stay maintainable as features pile up, and you’ll practice with the same tools and patterns used in production.

By the end, you’ll be able to create fast, scalable server-side applications that handle real users and real data. You’ll ship complete backends with authentication, payments, uploads, testing, and deployment—plus you’ll be ready to branch into newer runtimes when you want to explore beyond Node.

Ce que vous allez apprendre

You’ll go beyond “hello world” Node.js by building server-rendered apps, REST and GraphQL APIs, and real-time features—connected to SQL (MySQL) and MongoDB backends.

  1. 01

    Node core mastery

    Work confidently with Node.js core modules to parse incoming requests, send responses, and build server-side logic that doesn’t rely on magic. You’ll understand how the Node.js ecosystem fits together so you can navigate it independently.

  2. 02

    Express apps with MVC

    Build structured Express.js applications using the Model-View-Controller (MVC) pattern, so routes, controllers, and data logic stay clean as your project grows. You’ll render HTML dynamically on the server for classic web app workflows.

  3. 03

    Database-backed backends

    Connect Node.js to SQL using MySQL + Sequelize, and to NoSQL using MongoDB + Mongoose. You’ll model data, run queries, and choose the right approach for different application needs.

  4. 04

    Auth, sessions, validation

    Implement sessions and cookies, plus user authentication and authorization flows that protect routes and data. You’ll validate user input, send e-mails, and add pagination so your apps behave like real products.

  5. 05

    APIs: REST and GraphQL

    Create production-style REST APIs and GraphQL APIs, including authentication and file upload in both approaches. You’ll understand how to design endpoints and schemas so clients can consume your backend reliably.

  6. 06

    Testing, payments, deployment

    Add automated unit tests, integrate payments with Stripe.js, and deploy a Node.js application. You’ll also use TypeScript with Node.js and get a thorough introduction to Deno.js to broaden your server-side toolkit.

Prérequis

  • Basic JavaScript knowledge is strongly recommended (a JS refresher module is included if you need to catch up on modern syntax).

  • General knowledge of how the web works helps, but it’s not required.

  • Basic HTML + CSS knowledge is helpful but not required.

À qui s’adresse ce cours

  • Backend newcomers

    You know the basics of web development but haven’t built a real server-side app yet. This is a clear path into Node.js without assuming any prior Node experience.

  • JS developers leveling up

    You’re comfortable in JavaScript and want to turn that into practical backend skills you can use for web apps, APIs, and scalable services. You’ll get both the “why” and the “how,” anchored in real projects.

  • Experienced Node devs

    You already use Node.js but want deeper coverage of specific areas—like SQL with Node, GraphQL, or real-time apps with WebSockets. You can move quickly through familiar parts and focus on the advanced modules.

Programme

Découvrez la structure et le rythme de ce cours avant de commencer.

  1. 1Getting Started10 leçons · 36 min
    1. 01Introduction1:55 min
    2. 02What is Node.js?4:42 min
    3. 03Installing Node.js and Creating our First App7:41 min
    4. 04Join our Online Learning Community0:00 min
    5. 05Understanding the Role & Usage of Node.js7:32 min
    6. 06Course Outline7:31 min
    7. 07How To Get The Most Out Of The Course3:54 min
    8. 08Working with the REPL vs Using FIles2:58 min
    9. 09Using the Attached Source Code0:00 min
    10. 10The Academind Pro Referral Program0:00 min
  2. 2Optional: JavaScript - A Quick Refresher14 leçons · 50 min
    1. 01Module Introduction1:36 min
    2. 02JavaScript in a Nutshell2:35 min
    3. 03Refreshing the Core Syntax4:34 min
    4. 04let & const2:27 min
    5. 05Understanding Arrow Functions5:17 min
    6. 06Working with Objects, Properties & Methods3:19 min
    7. 07Arrays & Array Methods4:16 min
    8. 08Arrays, Objects & Reference Types2:13 min
    9. 09Understanding Spread & Rest Operators6:40 min
    10. 10Destructuring5:37 min
    11. 11Async Code & Promises10:28 min
    12. 12Template Literals0:00 min
    13. 13Wrap Up0:50 min
    14. 14Useful Resources & Links0:00 min
  3. 3Understanding the Basics18 leçons · 1 h et 47 min
    1. 01Module Introduction1:50 min
    2. 02How The Web Works4:11 min
    3. 03Creating a Node Server13:22 min
    4. 04The Node Lifecycle & Event Loop4:53 min
    5. 05Understanding Requests3:10 min
    6. 06Sending Responses5:37 min
    7. 07Controlling the Node.js Process0:00 min
    8. 08Routing Requests5:48 min
    9. 09Redirecting Requests4:10 min
    10. 10Parsing Request Bodies11:12 min
    11. 11Understanding Event Driven Code Execution6:00 min
    12. 12Blocking and Non-Blocking Code5:04 min
    13. 13Node.js - Looking Behind the Scenes12:01 min
    14. 14Using the Node Modules System10:05 min
    15. 15Wrap Up5:15 min
    16. 16Assignment - Basics (Problem)2:32 min
    17. 17Assignment - Basics (Solution)11:32 min
    18. 18Useful Resources & Links0:00 min
  4. 4Improved Development Workflow and Debugging15 leçons · 46 min
    1. 01Module Introduction0:40 min
    2. 02Understanding NPM Scripts7:03 min
    3. 03Installing 3rd Party Packages8:20 min
    4. 04Global Features vs Core Modules vs Third-Party Modules0:00 min
    5. 05Using Nodemon for Autorestarts1:36 min
    6. 06Global & Local npmPackages0:00 min
    7. 07Understanding different Error Types1:49 min
    8. 08Finding & Fixing Syntax Errors3:10 min
    9. 09Dealing with Runtime Errors2:47 min
    10. 10Logical Errors6:32 min
    11. 11Using the Debugger3:10 min
    12. 12Restarting the Debugger Automatically After Editing our App6:21 min
    13. 13Changing Variables in the Debug Console1:26 min
    14. 14Wrap Up3:14 min
    15. 15Useful Resources & Links0:00 min
  5. 5Working with Express.js24 leçons · 1 h et 52 min
    1. 01Module Introduction2:15 min
    2. 02What is Express.js?3:43 min
    3. 03Installing Express.js3:47 min
    4. 04Adding Middleware5:13 min
    5. 05How Middleware Works2:58 min
    6. 06Express.js - Looking Behind the Scenes3:42 min
    7. 07Handling Different Routes4:59 min
    8. 08Assignment - Express.js (Problem)1:52 min
    9. 09Assignment - Express.js (Solution)6:21 min
    10. 10Parsing Incoming Requests8:00 min
    11. 11Limiting Middleware Execution to POST Requests1:48 min
    12. 12Using Express Router8:04 min
    13. 13Adding a 404 Error Page2:30 min
    14. 14Filtering Paths3:38 min
    15. 15Creating HTML Pages5:09 min
    16. 16Serving HTML Pages7:19 min
    17. 17Returning a 404 Page2:00 min
    18. 18Using a Helper Function for Navigation3:37 min
    19. 19Styling our Pages13:58 min
    20. 20Serving Files Statically7:49 min
    21. 21Assignment - Navigation (Problem)1:11 min
    22. 22Assignment - Navigation (Solution)8:32 min
    23. 23Wrap Up3:36 min
    24. 24Useful Resources & Links0:00 min
  6. 6Working with Dynamic Content & Adding Templating Engines17 leçons · 2 h et 4 min
    1. 01Module Introduction2:31 min
    2. 02Sharing Data Across Requests & Users8:05 min
    3. 03Templating Engines - An Overview4:40 min
    4. 04Installing & Implementing Pug11:04 min
    5. 05Outputting Dynamic Content11:02 min
    6. 06Converting HTML Files to Pug5:55 min
    7. 07Adding a Layout5:35 min
    8. 08Finishing the Pug Template5:50 min
    9. 09Working with Handlebars5:08 min
    10. 10Converting our Project to Handlebars7:41 min
    11. 11Adding the Layout to Handlebars8:41 min
    12. 12Working with EJS8:19 min
    13. 13Working on the Layout with Partials9:33 min
    14. 14Wrap Up3:46 min
    15. 15Assignment - Templating Engines (Problem)1:36 min
    16. 16Assignment - Templating Engines (Solution)25:02 min
    17. 17Useful Resources & Links0:00 min
  7. 7The Model View Controller (MVC)10 leçons · 44 min
    1. 01Module Introduction0:52 min
    2. 02What is the MVC?2:48 min
    3. 03Adding Controllers9:20 min
    4. 04Finishing the Controllers2:37 min
    5. 05Adding a Product Model8:05 min
    6. 06Storing Data in Files Via the Model9:39 min
    7. 07Fetching Data from Files Via the Model3:55 min
    8. 08Refactoring the File Storage Code4:25 min
    9. 09Wrap Up2:15 min
    10. 10Useful Resources & Links0:00 min
  8. 8Optional: Enhancing the App9 leçons · 36 min
    1. 01Module Introduction1:21 min
    2. 02Creating the Shop Structure5:34 min
    3. 03Working on the Navigation2:49 min
    4. 04Registering the Routes11:04 min
    5. 05Storing Product Data5:15 min
    6. 06Displaying Product Data3:02 min
    7. 07Editing & Deleting Products4:47 min
    8. 08Adding Another Item2:08 min
    9. 09Useful Resources & Links0:00 min
  9. 9Dynamic Routes & Advanced Models19 leçons · 1 h et 39 min
    1. 01Module Introduction1:07 min
    2. 02Preparations1:23 min
    3. 03Adding the Product ID to the Path4:34 min
    4. 04Extracting Dynamic Params4:32 min
    5. 05Loading Product Detail Data4:52 min
    6. 06Rendering the Product Detail View5:26 min
    7. 07Passing Data with POST Requests7:19 min
    8. 08Adding a Cart Model12:29 min
    9. 09Using Query Params7:54 min
    10. 10Pre-Populating the Edit Product Page with Data6:46 min
    11. 11Linking to the Edit Page2:20 min
    12. 12Editing the Product Data8:58 min
    13. 13Adding the Product-Delete Functionality5:34 min
    14. 14Deleting Cart Items8:11 min
    15. 15Displaying Cart Items on the Cart Page8:45 min
    16. 16Deleting Cart Items5:24 min
    17. 17Fixing a Delete Product Bug1:31 min
    18. 18Wrap Up1:46 min
    19. 19Useful Resources & Links0:00 min
  10. 10SQL Introduction14 leçons · 53 min
    1. 01Module Introduction1:33 min
    2. 02Choosing a Database4:17 min
    3. 03NoSQL Introduction4:20 min
    4. 04Comparing SQL and NoSQL5:06 min
    5. 05Setting Up MySQL7:16 min
    6. 06Connecting our App to the SQL Database6:50 min
    7. 07Basic SQL & Creating a Table4:07 min
    8. 08Retrieving Data3:00 min
    9. 09Fetching Products6:30 min
    10. 10Fetching Products - Time to Practice1:04 min
    11. 11Inserting Data Into the Database4:12 min
    12. 12Fetching a Single Product with the "where" Condition2:57 min
    13. 13Wrap Up1:24 min
    14. 14Useful Resources & Links0:00 min
  11. 11Understanding Sequelize26 leçons · 1 h et 51 min
    1. 01Module Introduction1:26 min
    2. 02What is Sequelize?2:35 min
    3. 03Connecting to the Database3:57 min
    4. 04Defining a Model5:47 min
    5. 05Syncing JS Definitions to the Database4:29 min
    6. 06Inserting Data & Creating a Product4:49 min
    7. 07Retrieving Data & Finding Products3:01 min
    8. 08Getting a Single Product with the "where" Condition4:30 min
    9. 09Fetching Admin Products1:25 min
    10. 10Updating Products5:18 min
    11. 11Deleting Products2:48 min
    12. 12Creating a User Model2:48 min
    13. 13Adding a One-To-Many Relationship5:54 min
    14. 14Creating & Managing a Dummy User6:01 min
    15. 15Using Magic Association Methods3:42 min
    16. 16Fetching Related Products2:46 min
    17. 17One-To-Many & Many-To-Many Relations6:03 min
    18. 18Creating & Fetching a Cart5:45 min
    19. 19Adding New Products to the Cart6:42 min
    20. 20Adding Existing Products & Retrieving Cart Items4:55 min
    21. 21Deleting Related Items & Deleting Cart Products2:24 min
    22. 22Adding an Order Model4:19 min
    23. 23Storing Cartitems as Orderitems8:19 min
    24. 24Resetting the Cart & Fetching and Outputting Orders9:53 min
    25. 25Wrap Up1:49 min
    26. 26Useful Resources & Links0:00 min
  12. 12Working with NoSQL & Using MongoDB32 leçons · 2 h et 18 min
    1. 01Module Introduction1:17 min
    2. 02What is MongoDB?3:57 min
    3. 03Relations in NoSQL3:58 min
    4. 04Setting Up MongoDB4:48 min
    5. 05Installing the MongoDB Driver7:01 min
    6. 06Creating the Database Connection3:25 min
    7. 07Finishing the Database Connection4:21 min
    8. 08Using the Database Connection5:14 min
    9. 09Creating Products2:08 min
    10. 10Understanding the MongoDB Compass2:38 min
    11. 11Fetching All Products4:34 min
    12. 12Fetching a Single Product7:45 min
    13. 13Making the "Edit" & "Delete" Buttons Work Again2:21 min
    14. 14Working on the Product Model to Edit our Product7:14 min
    15. 15Finishing the "Update Product" Code3:57 min
    16. 16One Note About Updating Products1:46 min
    17. 17Deleting Products3:30 min
    18. 18Fixing the "Add Product" Functionality1:28 min
    19. 19Creating New Users7:00 min
    20. 20Storing the User in our Database5:40 min
    21. 21Working on Cart Items & Orders7:13 min
    22. 22Adding the "Add to Cart" Functionality6:14 min
    23. 23Storing Multiple Products in the Cart7:01 min
    24. 24Displaying the Cart Items9:20 min
    25. 25Fixing a Bug1:02 min
    26. 26Deleting Cart Items4:02 min
    27. 27Adding an Order4:36 min
    28. 28Adding Relational Order Data6:21 min
    29. 29Getting Orders3:20 min
    30. 30Removing Deleted Items From the Cart2:58 min
    31. 31Wrap Up2:19 min
    32. 32Useful Resources & Links0:00 min
  13. 13Working with Mongoose21 leçons · 1 h et 16 min
    1. 01Module Introduction1:23 min
    2. 02What is Mongoose?2:04 min
    3. 03Connecting to the MongoDB Server with Mongoose4:47 min
    4. 04Creating the Product Schema6:01 min
    5. 05Saving Data Through Mongoose6:10 min
    6. 06Fetching All Products2:27 min
    7. 07Fetching a Single Product1:24 min
    8. 08Updating Products4:14 min
    9. 09Deleting Products1:19 min
    10. 10Adding and Using a User Model6:36 min
    11. 11Using Relations in Mongoose3:44 min
    12. 12One Important Thing About Fetching Relations3:53 min
    13. 13Working on the Shopping Cart5:25 min
    14. 14Loading the Cart5:12 min
    15. 15Deleting Cart Items2:45 min
    16. 16Creating & Getting Orders9:56 min
    17. 17Storing All Order Related Data1:52 min
    18. 18Clearing the Cart After Storing an Order1:59 min
    19. 19Getting & Displaying the Orders3:40 min
    20. 20Wrap Up1:37 min
    21. 21Useful Resources & Links0:00 min
  14. 14Sessions & Cookies21 leçons · 1 h et 22 min
    1. 01Module Introduction0:45 min
    2. 02What is a Cookie?1:58 min
    3. 03The Current Project Status2:18 min
    4. 04Optional: Creating the Login Form6:22 min
    5. 05Adding the Request Driven Login Solution7:40 min
    6. 06Setting a Cookie5:55 min
    7. 07Manipulating Cookies1:58 min
    8. 08Configuring Cookies5:43 min
    9. 09What is a Session?2:58 min
    10. 10Initializing the Session Middleware2:43 min
    11. 11Using the Session Middleware4:14 min
    12. 12Using MongoDB to Store Sessions5:59 min
    13. 13Sessions & Cookies - A Short Summary1:53 min
    14. 14Assignment - Sessions & Cookies (Problem)1:37 min
    15. 15Assignment - Sessions & Cookies (Solution)7:24 min
    16. 16Deleting a Cookie4:35 min
    17. 17Fixing Some Minor Bugs4:27 min
    18. 18Making "Add to Cart" Work Again6:45 min
    19. 19Two Tiny Improvements3:11 min
    20. 20Wrap Up3:43 min
    21. 21Useful Resources & Links0:00 min
  15. 15Adding Authentication20 leçons · 1 h et 9 min
    1. 01Module Introduction1:22 min
    2. 02What is Authentication?2:25 min
    3. 03How is Authentication Implemented?2:05 min
    4. 04Our Updated Project Status2:25 min
    5. 05Implementing an Authentication Flow7:34 min
    6. 06Encrypting Passwords4:36 min
    7. 07Adding a Tiny Code Improvement1:21 min
    8. 08Adding the Signin Functionality6:21 min
    9. 09Working on Route Protection2:12 min
    10. 10Using Middleware to Protect Routes4:38 min
    11. 11Understanding CSRF Attacks3:23 min
    12. 12Using a CSRF Token6:56 min
    13. 13Adding CSRF Protection4:23 min
    14. 14Fixing the Order Button1:16 min
    15. 15Providing User Feedback7:10 min
    16. 16Optional: Styling Error Messages3:32 min
    17. 17Finishing the Flash Messages2:20 min
    18. 18Adding Additional Flash Messages2:20 min
    19. 19Wrap Up2:32 min
    20. 20Useful Resources & Links0:00 min
  16. 16Sending Emails6 leçons · 10 min
    1. 01Module Introduction0:46 min
    2. 02How Does Sending Emails Work?1:33 min
    3. 03Using SendGrid1:24 min
    4. 04Using Nodemailer to Send an Email5:09 min
    5. 05Potential Limitation for Large Scale Apps1:29 min
    6. 06Useful Resources & Links0:00 min
  17. 17Advanced Authentication12 leçons · 36 min
    1. 01Module Introduction0:42 min
    2. 02Resetting Passwords3:03 min
    3. 03Implementing the Token Logic7:41 min
    4. 04Creating the Token1:27 min
    5. 05Creating the Reset Password Form5:27 min
    6. 06Adding Logic to Update the Password6:35 min
    7. 07Why we Need Authorization1:58 min
    8. 08Adding Authorization2:07 min
    9. 09Adding Protection to Post Actions3:43 min
    10. 10Why Editing Fails1:06 min
    11. 11Wrap Up1:44 min
    12. 12Useful Resources & Links0:00 min
  18. 18Understanding Validation19 leçons · 1 h et 22 min
    1. 01Module Introduction1:03 min
    2. 02Why Should We Use Validation?2:28 min
    3. 03How to Validate Input?4:04 min
    4. 04Setup & Basic Validation10:44 min
    5. 05Using Validation Error Messages2:11 min
    6. 06Built-In & Custom Validators3:55 min
    7. 07More Validators4:26 min
    8. 08Checking For Field Equality3:14 min
    9. 09Adding Async Validation4:46 min
    10. 10Assignment - Validation (Problem)1:18 min
    11. 11Assignment - Validation (Solution)4:45 min
    12. 12Keeping User Input4:11 min
    13. 13Adding Conditional CSS Classes5:29 min
    14. 14Adding Validation to Login5:36 min
    15. 15Sanitizing Data3:41 min
    16. 16Validating Product Addition11:40 min
    17. 17Validating Product Editing6:57 min
    18. 18Wrap Up1:23 min
    19. 19Useful Resources & Links0:00 min
  19. 19Error Handling12 leçons · 47 min
    1. 01Module Introduction0:45 min
    2. 02Types of Errors & Error Handling5:14 min
    3. 03Analyzing the Error Handling in the Current Project2:22 min
    4. 04Errors - Some Theory6:43 min
    5. 05Throwing Errors in Code2:42 min
    6. 06Returning Error Pages6:54 min
    7. 07Using the Express.js Error Handling Middleware5:47 min
    8. 08Updating the App3:09 min
    9. 09Using the Error Handling Middleware Correctly4:54 min
    10. 10Status Codes5:57 min
    11. 11Wrap Up2:21 min
    12. 12Useful Resources & Links0:00 min
  20. 20File Upload & Download18 leçons · 1 h et 10 min
    1. 01Module Introduction0:54 min
    2. 02Adding a File Picker to the Frontend3:06 min
    3. 03Handling Multipart Form Data5:15 min
    4. 04Handling File Uploads with Multer4:51 min
    5. 05Configuring Multer to Adjust Filename & Filepath4:29 min
    6. 06Filtering Files by Mimetype2:28 min
    7. 07Storing File Data in the Database7:42 min
    8. 08Serving Images Statically4:25 min
    9. 09Downloading Files with Authentication7:33 min
    10. 10Setting File Type Headers2:35 min
    11. 11Restricting File Access3:19 min
    12. 12Streaming Data vs Preloading Data3:20 min
    13. 13Using PDFKit for .pdf Generation5:32 min
    14. 14Generating .pdf Files with Order Data6:50 min
    15. 15Deleting Files5:57 min
    16. 16Fixing Invoice Links0:35 min
    17. 17Wrap Up1:31 min
    18. 18Useful Resources & Links0:00 min
  21. 21Adding Pagination8 leçons · 25 min
    1. 01Module Introduction0:48 min
    2. 02Adding Pagination Links4:08 min
    3. 03Retrieving a Chunk of Data3:47 min
    4. 04Preparing Pagination Data on the Server3:52 min
    5. 05Adding Dynamic Pagination Buttons8:07 min
    6. 06Re-Using the Pagination Logic & Controls3:41 min
    7. 07Wrap Up1:02 min
    8. 08Useful Resources & Links0:00 min
  22. 22Understanding Async Requests6 leçons · 23 min
    1. 01Module Introduction0:49 min
    2. 02What are Async Requests?2:07 min
    3. 03Adding Client Side JS Code7:24 min
    4. 04Sending & Handling Background Requests9:26 min
    5. 05Manipulating the DOM3:01 min
    6. 06Useful Resources & Links0:00 min
  23. 23Adding Payments5 leçons · 28 min
    1. 01Module Introduction0:58 min
    2. 02How Payments Work2:04 min
    3. 03Adding a Checkout Page6:00 min
    4. 04Using Stripe in Your App19:23 min
    5. 05Useful Resources & Links0:00 min
  24. 24Working with REST APIs - The Basics11 leçons · 1 h et 3 min
    1. 01Module Introduction1:25 min
    2. 02What are REST APIs and why do we use Them?7:01 min
    3. 03Accessing Data with REST APIs5:41 min
    4. 04Understanding Routing & HTTP Methods5:25 min
    5. 05REST APIs - The Core Principles4:09 min
    6. 06Creating our REST API Project & Implementing the Route Setup6:41 min
    7. 07Sending Requests & Responses and Working with Postman13:28 min
    8. 08REST APIs, Clients & CORS Errors10:33 min
    9. 09Sending POST Requests6:32 min
    10. 10Wrap Up2:14 min
    11. 11Useful Resources & Links0:00 min
  25. 25Working with REST APIs - The Practical Application30 leçons · 2 h et 39 min
    1. 01Module Introduction1:10 min
    2. 02REST APIs & The Rest Of The Course3:59 min
    3. 03Understanding the Frontend Setup4:18 min
    4. 04Planning the API3:02 min
    5. 05Fetching Lists of Posts6:19 min
    6. 06Adding a Create Post Endpoint7:36 min
    7. 07Adding Server Side Validation6:19 min
    8. 08Setting Up a Post Model5:14 min
    9. 09Storing Posts in the Database3:32 min
    10. 10Static Images & Error Handling6:53 min
    11. 11Fetching a Single Post7:48 min
    12. 12Uploading Images8:56 min
    13. 13Updating Posts14:02 min
    14. 14Deleting Posts4:17 min
    15. 15Adding Pagination6:20 min
    16. 16Adding a User Model4:08 min
    17. 17Adding User Signup Validation6:29 min
    18. 18Signing Users Up7:24 min
    19. 19How Does Authentication Work?3:10 min
    20. 20Starting with User Login3:51 min
    21. 21Logging In & Creating JSON Web Tokens (JWTs)7:53 min
    22. 22Using & Validating the Token9:43 min
    23. 23Adding Auth Middleware to All Routes1:52 min
    24. 24Connecting Posts & Users6:13 min
    25. 25Adding Authorization Checks3:50 min
    26. 26Clearing Post-User Relations2:54 min
    27. 27Assignment - REST API (Problem)0:59 min
    28. 28Assignment - REST API (Solution)8:16 min
    29. 29Wrap Up2:28 min
    30. 30Useful Resources & Links0:00 min
  26. 26Understanding Async Await in Node.js7 leçons · 23 min
    1. 01Module Introduction0:58 min
    2. 02What is Async Await All About?4:08 min
    3. 03Transforming "Then Catch" to "Async Await"4:26 min
    4. 04Assignment - Async Await (Problem)0:39 min
    5. 05Assignment - Async Await (Solution)9:56 min
    6. 06Wrap Up3:03 min
    7. 07Useful Resources & Links0:00 min
  27. 27Understanding Websockets & Socket.io14 leçons · 37 min
    1. 01Module Introduction0:55 min
    2. 02What Are Websockets & Why Would You Use Them?4:17 min
    3. 03Websocket Solutions - An Overview1:35 min
    4. 04Setting Up Socket.io on the Server3:56 min
    5. 05Establishing a Connection From the Client2:27 min
    6. 06Identifying Realtime Potential2:42 min
    7. 07Sharing the IO Instance Across Files2:46 min
    8. 08Synchronizing POST Additions7:14 min
    9. 09Fixing a Bug - The Missing Username1:44 min
    10. 10Updating Posts On All Connected Clients3:58 min
    11. 11Sorting Correctly0:59 min
    12. 12Deleting Posts Across Clients2:31 min
    13. 13Wrap Up1:48 min
    14. 14Useful Resources & Links0:00 min
  28. 28Working with GraphQL26 leçons · 2 h et 46 min
    1. 01Module Introduction0:57 min
    2. 02What is GraphQL?9:17 min
    3. 03Understanding the Setup & Writing our First Query11:15 min
    4. 04Defining a Mutation Schema5:42 min
    5. 05Adding a Mutation Resolver & GraphiQL9:42 min
    6. 06Adding Input Validation4:19 min
    7. 07Handling Errors3:45 min
    8. 08Connecting the Frontend to the GraphQL API6:49 min
    9. 09Adding a Login Query & a Resolver6:20 min
    10. 10Adding Login Functionality4:57 min
    11. 11Adding a Create Post Mutation7:23 min
    12. 12Extracting User Data From the Auth Token5:48 min
    13. 13Sending the "Create Post" Query4:46 min
    14. 14Fixing a Bug & Adding New Posts Correctly2:53 min
    15. 15Adding a "Get Post" Query & Resolver4:53 min
    16. 16Sending "Create Post" and "Get Post" Queries5:13 min
    17. 17Adding Pagination4:28 min
    18. 18Uploading Images10:26 min
    19. 19Viewing a Single Post6:07 min
    20. 20Updating Posts9:32 min
    21. 21Deleting Posts9:25 min
    22. 22Managing the User Status9:17 min
    23. 23Using Variables16:06 min
    24. 24Fixing a Pagination Bug2:48 min
    25. 25Wrap Up3:36 min
    26. 26Useful Resources & Links0:00 min
  29. 29Deploying our App14 leçons · 1 h et 1 min
    1. 01Module Introduction1:16 min
    2. 02Deploying Different Kinds of Apps1:39 min
    3. 03Deployment Preparations4:52 min
    4. 04Using Environment Variables11:12 min
    5. 05Using Production API Keys1:19 min
    6. 06Setting Secure Response Headers with Helmet2:40 min
    7. 07Compressing Assets2:33 min
    8. 08Setting Up Request Logging3:34 min
    9. 09Setting Up a SSL Server9:55 min
    10. 10Using a Hosting Provider4:25 min
    11. 11Understanding the Project & the Git Setup4:03 min
    12. 12A Deployment Example with Heroku10:26 min
    13. 13Deploying APIs2:52 min
    14. 14Useful Resources & Links0:00 min
  30. 30Testing Node.js Applications18 leçons · 1 h et 42 min
    1. 01Module Introduction0:43 min
    2. 02What is Testing?2:42 min
    3. 03Why & How?3:25 min
    4. 04Setup and Writing a First Test9:40 min
    5. 05Testing the Auth Middleware12:33 min
    6. 06Organizing Multiple Tests4:12 min
    7. 07What Not To Test!8:02 min
    8. 08Using Stubs8:38 min
    9. 09Testing Controllers8:03 min
    10. 10Testing Asynchronous Code5:53 min
    11. 11Setting up a Testing Database6:33 min
    12. 12Testing Code With An Active Database6:33 min
    13. 13Cleaning Up3:29 min
    14. 14Hooks4:34 min
    15. 15Testing Code That Requires Authentication12:37 min
    16. 16Wrap Up & Mastering Tests4:22 min
    17. 17Useful Resources & Links0:00 min
    18. 18New Lecture0:00 min
  31. 31Node.js as a Build Tool & Using npm6 leçons · 21 min
    1. 01Module Introduction1:01 min
    2. 02npm & Node.js1:42 min
    3. 03Using npm7:52 min
    4. 04What is a Build Tool?5:01 min
    5. 05Using Node.js in Build Processes5:50 min
    6. 06Useful Resources & Links0:00 min
  32. 32Modern JavaScript & NodeJS6 leçons · 26 min
    1. 01Module Introduction2:28 min
    2. 02What is this Module About?2:19 min
    3. 03Using ES Modules9:32 min
    4. 04More on ES Modules6:26 min
    5. 05Node Core Modules & Promises5:18 min
    6. 06Module Resources0:00 min
  33. 33Bonus: Node & TypeScript21 leçons · 1 h et 30 min
    1. 01Module Introduction1:22 min
    2. 02TypeScript: What & Why6:02 min
    3. 03TypeScript Setup4:09 min
    4. 04Assigning Types3:29 min
    5. 05Type Inference & Type Casting6:10 min
    6. 06Configuring TypeScript5:01 min
    7. 07Working with Union Types4:23 min
    8. 08Using Object and Array Types6:17 min
    9. 09Type Aliases & Interfaces3:22 min
    10. 10Understanding Generic Types5:09 min
    11. 11TypeScript: A Summary0:34 min
    12. 12TypeScript & Node: Setup2:14 min
    13. 13Getting Started with TypeScript & Node9:31 min
    14. 14Writing TypeScript Express.js Code3:59 min
    15. 15Adding REST Routes with TS6:42 min
    16. 16Finishing the REST Routes5:53 min
    17. 17Testing the API4:52 min
    18. 18Using Type Casting4:21 min
    19. 19Moving to a Better Project Structure3:44 min
    20. 20Wrap Up2:50 min
    21. 21Module Resources0:00 min
  34. 34DenoJS - An Introduction18 leçons · 1 h et 34 min
    1. 01Module Introduction1:35 min
    2. 02What is Deno?3:09 min
    3. 03Why Deno?1:55 min
    4. 04Deno Setup5:50 min
    5. 05Writing First Deno Code4:18 min
    6. 06The Deno Runtime (Namespace) API3:13 min
    7. 07Using the Runtime API5:26 min
    8. 08Working with Deno Permissions4:31 min
    9. 09Repeating the Example with Node4:16 min
    10. 10How Deno Features Are Organized4:28 min
    11. 11Using the Standard Library Modules8:30 min
    12. 12Creating a Webserver2:54 min
    13. 13Using the Oak Framework with Deno9:48 min
    14. 14More on Module URLs0:00 min
    15. 15Creating an Example Node REST API12:15 min
    16. 16Re-building the REST API with Deno16:18 min
    17. 17Should You Switch From Node To Deno?5:05 min
    18. 18Module Resources0:00 min
  35. 35Deno & MongoDB8 leçons · 38 min
    1. 01Module Introduction1:00 min
    2. 02App Setup4:06 min
    3. 03Deno & CORS7:16 min
    4. 04Establishing a MongoDB Connection8:05 min
    5. 05Using the Mongo Module10:34 min
    6. 06Finishing the CRUD Operations5:29 min
    7. 07Wrap Up1:10 min
    8. 08Module Resources0:00 min
  36. 36Roundup1 leçon · 3 min
    1. 01Course Roundup2:40 min

Prêt à commencer ?

Achetez ce cours sur Academind Pro, ou obtenez tous les cours avec All Access sur Academind Infinite.

Black Friday : un an d’All Access pour 249 $US 249 $US · seulement jusqu’au Profitez de l’offre
  • Ce cours sur Academind Pro

    99 $USpaiement unique

    TVA incluse · Satisfait ou remboursé pendant 30 jours

    • Accès à vie à ce cours
    • Toutes les futures mises à jour de ce cours
    • Ressources téléchargeables, code et un certificat
    Acheter NodeJS
  • All Access sur Academind Infinite

    25 $USpar mois

    ou 249 $US 249 $US par anÉconomisez 17 %

    • Tous les cours, avec toutes leurs fonctionnalités
    • Les nouveaux cours dès leur sortie
    • Votre tuteur, avec toutes ses fonctionnalités
    Obtenir All Access

All Access inclut aussi tous les cours Academind Pro.

Academind Pro et Academind Infinite

Deux plateformes distinctes, chacune avec ses propres cours et sa propre connexion.

Academind Pro

Notre plateforme de cours d’origine, sur pro.academind.com. Votre abonnement Pro et les cours que vous y avez achetés restent sur Pro.

Se connecter à Academind Pro

Academind Infinite

Notre nouvelle plateforme pensée pour l’IA. Les membres Pro se connectent avec leur compte Pro, et l’offre Pro All Access inclut Infinite : tous les cours leur sont ouverts.

Se connecter à Academind Infinite

Vous aviez un compte Pro ou avez acheté un cours sur Pro ?

Tous les cours Pro ne sont pas passés sur Infinite, seulement ceux-ci. Choisissez le vôtre pour le voir sur Infinite.