Build an API that fetches a single post. Find the post by id and return its body. Complete the single-post lookup. Note: respond to GET /posts/:id with 200 and the body. There are 3 posts in the in-memory store.
This challenge has you build a single-post lookup API in NestJS. For a GET /posts/:id request you complete the lookup so it finds the post by id and returns 200 with its body. It uses a fixed in-memory store of three posts, so you practice finding a requested resource and turning it into a response.
This problem is about the basic contract of a single-item lookup in NestJS: read the id from the path, find the post in the in-memory store, and return 200 with its body. You practice taking a GET /posts/:id request, finding the requested resource, and turning it into a clean response.