Exposing an API

About

This module introduces the essentials of building an API with Express.js. Students will learn to set up endpoints, handle incoming requests, and send back responses, laying the groundwork for effective API development with a focus on practical, real-world applications.

Content

Lesson Skills
Setup Setting up the development environment
Concepts Explain what an API is and how they are used
Elements of an API Explain the main components of an API – endpoints, requests, and responses
Exposing a GET Route Develop and test a simple calculator API with a GET method
Exposing a POST Route Create and test a POST route in a calculator API

References

📖 Reference Materials