wepublish Cursor Rules — Cursor Rules | Neura Market
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityExtensionsTrendingGenerate
    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
    Web Development

    Next.js 15 + TypeScript Cursor Rules

    Comprehensive .cursorrules file for Next.js 15 App Router projects with TypeScript, enforcing server components by default, proper use of "use client" directive, and App Router conventions.

    C
    Community
    Backend Development

    Python FastAPI Best Practices Rules

    Cursor rules for Python FastAPI projects enforcing async patterns, Pydantic v2 models, dependency injection, and proper error handling.

    C
    Community
    Frontend Development

    React + TypeScript Component Rules

    Rules for consistent React component development with TypeScript interfaces, proper hook patterns, and component composition.

    C
    Community
    AI/ML

    Cursor Agent Mode Configuration

    Rules optimizing Cursor Agent mode behavior including multi-file editing context, session management, and autonomous task completion patterns.

    C
    Cursor Team
    Frontend Development

    Tailwind CSS + shadcn/ui Rules

    Cursor rules for projects using Tailwind CSS with shadcn/ui component library, enforcing consistent utility class usage and component patterns.

    C
    Community
    Backend Development

    Go Backend Service Rules

    Rules for Go backend services enforcing idiomatic Go patterns, proper error handling, and clean architecture conventions.

    C
    Community

    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.