시작하기무료로 시작하기

Build an Albums Endpoint

The Music Analytics API you've been building now includes the Chinook database, connected via MCP. Your next feature: an endpoint that returns all albums by a specific artist — useful for artist profile pages or music discovery features.

Create a new db_routes.py Blueprint with this database-backed endpoint and register it with the existing app.py — keeping a clean separation of concerns.

이 연습은 강의의 일부입니다

Software Development with Claude Code

강의 보기

연습 안내

  • Start Claude Code with claude.
  • Ask Claude to create a new db_routes.py Blueprint with an endpoint at /artists/<artist_id>/albums that returns all albums by a specific artist as JSON from chinook.db, and register it with app.py.
  • When done, type /exit to exit Claude Code.

실습형 인터랙티브 연습문제

이론을 실습으로 바꾸는 인터랙티브 연습 중 하나를 만나보세요

연습 시작