Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents backend architecture patterns, REST API design, database query optimization, and caching for Node.js, Express, and Next.js.
96% 100%+4 ptsof test cases passed
Passed 24 of 24 test cases with the skill, and 23 of 24 without it.
Our API handlers throw standard generic JavaScript `Error` objects, causing unexpected 500 status responses even for invalid request parameters. Show how to construct a custom operational error class and a centralized HTTP error response handler.
Defines a custom ApiError class containing an HTTP status code
3 of 3 safety checks passed
Backend architecture patterns and best practices for scalable server-side applications.
// PASS: Resource-based URLs
GET /api/markets # List resources
GET /api/markets/:id # Get single resource
POST /api/markets # Create resource
PUT /api/markets/:id # Replace resource
PATCH /api/markets/:id # Update resource
DELETE /api/markets/:id # Delete resource
// PASS: Query parameters for filtering, sorting, pagination
GET /api/markets?status=active&sort=volume&limit=20&offset=0
// Abstract data access logic
interface MarketRepository {
findAll(filters?: MarketFilters): Promise<Market[]>
findById(id: string): Promise<Market | null>
create(data: CreateMarketDto): Promise<Market>
update(id: string, data: UpdateMarketDto): Promise<Market>
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.