Exercises

Browse All Exercises

Search and filter across the entire exercise library.

97 exercises

mediumPython
Flask Blueprint REST API with Products and Orders
Build a Flask REST API using blueprints to organize your endpoints. Create two separate blueprints: 1. **Products Bluep...
flask
blueprints
rest-api
+5
easyPython
Flask Items API with Validation
Build a Flask REST API that manages a collection of items. Your API should support: ## Requirements **GET /items** - R...
flaskrest-apivalidation+4
mediumPython
FastAPI Dependency Injection Pattern
Build a FastAPI application with dependency injection patterns using database and authentication dependencies. **Requir...
fastapidependency-injectionauthentication+4
mediumPython
Flask Request Middleware with CORS, Logging, and API Key Authentication
# Flask Request Middleware Build Flask middleware using `before_request` and `after_request` hooks that handles: 1. **...
flaskmiddlewarecors+5
mediumPython
FastAPI User Registration with Validation
Create a FastAPI application with a POST `/users` endpoint that validates user registration data using Pydantic models....
fastapipydanticvalidation+6
easyTypeScript
Express Request Logging Middleware
Build an Express middleware function that logs information about every HTTP request and response. ## Requirements Your...
expressmiddlewarelogging+4
mediumTypeScript
Express Schema Validation Middleware
Create Express middleware that validates incoming request bodies against schema objects. The middleware should support:...
expressmiddlewarevalidation+4
mediumTypeScript
Express Error Handling System
Build a robust error handling system for an Express application with three key components: 1. **Custom AppError Class**...
expresserror-handlingmiddleware+4
mediumTypeScript
Next.js Dynamic Routes with Static Generation
Create a Next.js-style dynamic route component that simulates the behavior of `[slug]/page.tsx` with `generateStaticPara...
reacttypescriptnext.js+6
mediumTypeScript
JWT Authentication Middleware
Build JWT authentication middleware for an Express API with login and protected routes. ## Requirements Create an Expr...
expressjwtauthentication+6
hardTypeScript
Next.js On-Demand ISR Revalidation System
Build a system that simulates Next.js on-demand ISR (Incremental Static Regeneration) with revalidation capabilities. #...
nextjsisrcaching+6
mediumTypeScript
Next.js Middleware for Authentication
Build a Next.js middleware function that handles authentication for protected routes. Your middleware should: - Check f...
nextjsmiddlewareauthentication+5
PreviousPage 2 of 9Next