YoVDO

REST API Validation with Express Course (How To)

Offered By: Treehouse

Tags

Node.Js Courses Web Development Courses REST APIs Courses Data Validation Courses

Course Description

Overview

Explore how to validate data on the server using a REST API developed with Node.js and Express. The API will allow you to create a user account and retrieve a list of user accounts.


Syllabus

The Importance of Data Validation

As developers, we should strive to create applications that ensure that data created and updated by our users is useful.

Chevron 6 steps
  • instruction

    What is Data Validation?

  • instruction

    Get Started with the Project

  • instruction

    Review the Routes

  • instruction

    Test the Routes

  • instruction

    Further Testing the New User Account Route

  • Data Validation Review

    5 questions

Validating Data

Define data validation for required fields to ensure that new users provide those values. And learn ways to go further with validation using a data validation library or an object-relational mapping library (ORM) like Sequelize.

Chevron 7 steps
  • instruction

    Define Data Validation Requirements

  • instruction

    Return Validation Error Messages

  • instruction

    Test Validation Rules in Postman

  • instruction

    Format Validation Error Messages

  • instruction

    Explore Data Validation Types

  • instruction

    Next Steps: Expand Data Validation Requirements

  • Validating Data Review

    5 questions


Taught by

Guil Hernandez

Related Courses

MongoDB for Node.js Developers
MongoDB University
Introduction to Office 365 Development and APIs
Microsoft via edX
Server-side Development with NodeJS
The Hong Kong University of Science and Technology via Coursera
Front-End Web UI Frameworks and Tools
The Hong Kong University of Science and Technology via Coursera
Introduction to MongoDB using the MEAN Stack
MongoDB via edX