wepublish Cursor Rules — Free Cursor Rules Template
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorRuleswepublish Cursor Rules
    Back to Rules
    Frontend

    wepublish Cursor Rules

    wepublish April 15, 2026
    0 copies 0 downloads

    Align all code suggestions, architecture recommendations, and technical solutions with this stack unless explicitly requested otherwise.

    Rule Content
    # We.Publish Tech Stack
    
    Align all code suggestions, architecture recommendations, and technical solutions with this stack unless explicitly requested otherwise.
    
    ## Frontend
    
    - **Next.js 15** with TypeScript (Pages Router, not App Router)
    - **React 18**
    - **Material UI (MUI)** as UI component library — styling via `styled()` with tagged template literals (`@emotion/styled`)
    - **Apollo Client** for GraphQL communication (with generated hooks via GraphQL Code Generator)
    - **React Hook Form** for forms
    - **Zod** for schema validation
    - **React Icons** for icons
    - **react-i18next** for internationalization
    - **Storybook** for component development and documentation
    - **React Router v6** for client-side routing in the editor app
    
    ## Backend
    
    - **NestJS 11** as the server framework
    - **PostgreSQL 17** as the database
    - **Prisma 5** as ORM — schema at `libs/api/prisma/schema.prisma`
    - **Apollo Server** for GraphQL API (code-first approach with NestJS decorators)
    - **Pino** for structured logging
    - **Sentry** for error tracking
    
    ## Monorepo & Build
    
    - **Nx 20** as the monorepo build system
    - **Webpack** for bundling
    - **Babel / SWC** for transpilation
    - **Node.js 22** runtime
    
    ## API Communication
    
    - **GraphQL** is the standard for all API communication
    - Schema is generated code-first from NestJS decorators (`@Resolver`, `@Query`, `@Mutation`, `@ResolveField`)
    - GraphQL Code Generator produces TypeScript types and React hooks for the frontend
    - REST APIs are only used for external CMS connections
    
    ## Testing
    
    - **Jest 29** as the test runner
    - **@nestjs/testing** for backend service/resolver unit tests
    - **Testing Library** for frontend component tests
    - Test commands: `npm run test`, `npm run test-backend`, `npm run test-website`
    
    ## Cloud & Hosting
    
    - **OpenShift** (self-hosted Kubernetes)
    - **Helm** charts for deployment configuration
    - **Argo CD / Flux** for GitOps-based deployments
    
    ## CI/CD
    
    - **GitHub Actions** for all build, test, and deployment pipelines
    - Review environments deployed per PR
    - Docker images pushed to GitHub Container Registry (GHCR)
    
    ## Containerization
    
    - **Docker** for local development (`docker-compose.yml`)
    - Multi-stage Dockerfile for all production builds (API, editor, website, media, migration, storybook)
    - **MinIO** as S3-compatible object storage for media in local dev
    
    ## Infrastructure as Code
    
    - **Terraform** for infrastructure management
    
    ## Payments & External Services
    
    - Payment providers: **Stripe**, **Mollie**, **Payrexx**, **Bexio**
    - Email: **Mailgun**, **Mailchimp**, custom providers
    - Media: S3-compatible storage with image transformation server
    

    Tags

    nextjsreacttypescriptgoprismanodejs

    Comments

    More Rules

    View all

    Kechwafflesnew Cursor Rules

    C
    CODEFORYOU69

    AI DRAMA FACTORY Cursor Rules

    R
    Robert0157

    Site Cursor Rules

    R
    RaphaelVitoi

    KindnessBot Cursor Rules

    F
    foodyogi

    Neptunik Cursor Rules

    F
    fjpedrosa

    Cvcraft Cursor Rules

    C
    CedricCT

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Build AI Agents with Think-Plan-Act Architecture Using Llama-4 Reasoningn8n · $24.99 · Related topic
    • WordPress Content Assistant: Article Recommendations & Q&A with Mistral AIn8n · $24.99 · Related topic
    • Building a RAG Chatbot for Movie Recommendations with Qdrant and OpenAIn8n · $14.99 · Related topic
    • Analyze Browsing History and Generate Automation Suggestions with OpenRouter AI and Google Sheetsn8n · $9.99 · Related topic
    Browse all workflows