Overview
This prompt aims to guide Claude AI in generating a comprehensive codebase for an admin dashboard and app backend. Developers and teams working on web applications will benefit from the structured approach and clear instructions provided.
Prompt Overview
Purpose: This prompt aims to guide Claude AI in generating a comprehensive codebase for an admin dashboard and app backend.
Audience: The intended audience includes developers looking to create a modular and maintainable application using Node.js and PostgreSQL.
Distinctive Feature: The project features separate server instances for the admin interface and app, enhancing organization and scalability.
Outcome: The result will be a well-structured codebase with clear instructions for building both services efficiently.
Quick Specs
- Media: Text
- Use case: Generation
- Industry: Data Analytics & Business Intelligence, Development Tools & DevOps, General Business Operations
- Techniques: Prompt Templates, Role/Persona Prompting, Structured Output
- Models: Claude 3.5 Sonnet
- Estimated time: 5-10 minutes
- Skill level: Beginner
Variables to Fill
No inputs required — just copy and use the prompt.
Example Variables Block
No example values needed for this prompt.
The Prompt
Create a high-quality, detailed code generation prompt for Claude AI to build an admin dashboard and app backend within the same repository, with each running on separate ports (admin on 8000, app on 9000).
**Technologies to Use:**
– Node.js for the backend
– Neontech PostgreSQL for the database
– HTML, EJS templates, and Bootstrap for the admin interface
**Instructions:**
1. Database Models:
– Generate models for:
– Admins with permissions management
– Users for the app
2. Backend Structure:
– Clearly separate the backend server instances for admin and app, ensuring they run on ports 8000 and 9000 respectively.
– Use an appropriate file and folder structure suitable for a single repository handling both services.
3. Database Schemas:
– Define database schemas using a standard ORM or query builder compatible with Node.js and Neontech PostgreSQL.
4. Admin Interface:
– Utilize EJS and Bootstrap for designing the admin dashboard pages.
5. Code Quality:
– Include code comments and adhere to best practices throughout the code.
**Steps to Follow:**
6. Define database models for admins, including permissions and roles.
7. Define database models for app users.
8. Set up two separate Express servers:
– One for admin (port 8000)
– One for app backend (port 9000)
9. Implement routing and basic middleware for both servers.
10. Use EJS templates and Bootstrap for the admin UI.
11. Provide example code snippets for the models and basic server setup.
**Output Format:**
– Provide a comprehensive, well-structured prompt text to instruct Claude AI to generate the complete codebase components described above.
– Use clear instructions and naming conventions, without generating the actual code yourself.
**Notes:**
– Emphasize modularity and maintainability.
– Ensure the prompt allows for easy scaling of the admin interface and app backend in the future.
Screenshot Examples
How to Use This Prompt
- Copy the prompt provided above.
- Open Claude AI or your preferred AI tool.
- Paste the prompt into the input field.
- Review and adjust any specific requirements if needed.
- Submit the prompt to generate the codebase components.
- Analyze the output for completeness and clarity.
Tips for Best Results
- Database Models: Define models for Admins with roles and permissions, and Users for the app, ensuring clear relationships and attributes.
- Backend Structure: Set up two distinct Express servers within the same repository, one for the admin interface on port 8000 and another for the app backend on port 9000.
- Database Schemas: Utilize an ORM compatible with Node.js and Neontech PostgreSQL to create well-defined schemas for both Admins and Users.
- Admin Interface: Design the admin dashboard using EJS templates and Bootstrap, focusing on a responsive layout and user-friendly navigation.
FAQ
- What technologies are used for the admin dashboard?
The admin dashboard uses Node.js, Neontech PostgreSQL, HTML, EJS templates, and Bootstrap. - How should the backend servers be structured?
Separate Express servers should run on ports 8000 for admin and 9000 for the app. - What models need to be generated for the database?
Models for admins with permissions and roles, and users for the app are required. - What is emphasized in the code quality?
Code comments and adherence to best practices are crucial for maintainability and scalability.
Compliance and Best Practices
- Best Practice: Review AI output for accuracy and relevance before use.
- Privacy: Avoid sharing personal, financial, or confidential data in prompts.
- Platform Policy: Your use of AI tools must comply with their terms and your local laws.
Revision History
- Version 1.0 (February 2026): Initial release.


