Cascadiq

REST API with CRUD

project · Level 2 · 45 min

Description

Design and implement a small REST API with full CRUD for a single resource (e.g. "Tasks" or "Notes"). Use in-memory storage; no database required.

Requirements

  • GET collection and GET by id
  • POST to create
  • PUT or PATCH to update
  • DELETE to remove
  • Clear request/response shapes and status codes

Constraints

JavaScript/TypeScript. In-memory store (object or Map). Return JSON.

Deliverables

Working API code (or pseudocode) and a brief explanation of your design choices.

Tags

APIRESTBackend