Topics Covered
Duration: 80 minutes
Learning Objectives:
Use Node.js to build and serve a REST API.
Outline:
Introduction to REST APIs and their structure.
Setting up routes and handling HTTP requests.
Integrating with JSON data.
Using tools like Postman for testing APIs.
Student Activity:
Create a REST API for managing a list of tasks (GET, POST, PUT, DELETE routes).
Test your API using Postman and verify responses.
Homework Assignment:
Extend your API to include user authentication using a token (mock the process if needed).
Write documentation for your API endpoints.
Last updated