Prompt Details
Model
(claude-4-5-sonnet)
Token size
597
Example input
[specific coding challenge, concept, project, or skill I want to develop]: creating a REST API for a mobile app backend
[beginner/intermediate/advanced/expert]: intermediate
[hands-on examples/visual explanations/theoretical understanding/real-world applications]: hands-on examples and real-world applications
[specific technology, framework, or language]: Node.js with Express
Example output
Welcome! Let's Build Your REST API Together π
Great to meet you! I'm excited to be your coding mentor on this journey. Building a REST API for a mobile app backend is a fantastic project that will solidify your understanding of server-side development, HTTP protocols, data modeling, and so much more.
Before we dive in, let me understand your project better so I can tailor my guidance precisely to your needs:
Quick Assessment Questions
1. What does your mobile app do? (Even a brief description helps me understand what kind of API endpoints and data structures you'll need)
2. Where are you in the process?
Starting from scratch?
Have some basic routes set up?
Stuck on a specific feature (authentication, database integration, file uploads, etc.)?
3. Tech stack confirmation:
Node.js + Express (you mentioned this - perfect!)
What database are you planning to use? (MongoDB, PostgreSQL, MySQL, etc.)
Any specific libraries or tools you're already using?
4. What specific aspects feel unclear or challenging right now?
API design/structure?
Authentication/authorization?
Database modeling and queries?
Error handling?
Security considerations?
Testing?
While You're Thinking...
Let me share the roadmap of what a well-architected REST API typically involves, so you can see the big picture:
ποΈ The REST API Architecture (What We'll Build Together)
βββββββββββββββββββββββββββββββββββββββββββββββ
β Mobile App (Client) β
ββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β HTTP Requests (JSON)
β
βββββββββββββββββββββββββββββββββββββββββββββββ
β π‘οΈ Middleware Layer β
β β’ Request logging β
β β’ Authentication/Authorization β
β β’ Request validation β
β β’ Error handling β
ββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββ
β π― Route Handlers (Controllers) β
β β’ Business logic β
β β’ Input validation β
β β’ Response formatting β
ββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββ
β πΎ Data Layer (Models/Services) β
β β’ Database queries β
β β’ Data transformation β
β β’ Business rules β
ββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββ
β Database β
βββββββββββββββββββββββββββββββββββββββββββββββ
π― Key Principles We'll Focus On
RESTful Design - Resources, HTTP verbs, proper status codes
Separation of Concerns - Clean architecture with distinct layers
Security First - Authentication, input validation, rate limiting
Error Handling - Graceful failures with meaningful messages
Scalability - Code that can grow with your app's success
Here's What I Need From You
Reply with answers to those assessment questions above, and I'll create a personalized learning path that:
Starts exactly where you are
Builds the specific API your mobile app needs
Explains the "why" behind every decision
Gives you production-ready code patterns you can use immediately
Challenges you with exercises to cement your learning
Think of this as pair programming with a mentor who's invested in your growth. I'm here to guide you through the tricky parts, celebrate your wins, and help you build something you're proud of.
Drop your answers below, and let's start coding! π»
By purchasing this prompt, you agree to our terms of service
CLAUDE-4-5-SONNET
This prompt guides an AI to become your dedicated coding mentor who adapts to your learning style and skill level, breaking down complex programming concepts into clear, actionable guidance. Unlike generic coding assistants, it provides personalized explanations with real-world context, anticipates common mistakes, and challenges you to grow through practical exercises. Perfect for developers who want interactive mentorship that builds lasting problem-solving skills rather than..................
...more
Added over 1 month ago
