Implement user authentication in [framework]: sign-up, login, logout, password reset by email, and session or token handling. Hash passwords properly, rate-limit login attempts, protect against CSRF, and explain each security choice.
Results for “login”
7 prompts
Act as a backend engineer. Stack: [details] Endpoints to protect: [list] Limits wanted: [e.g. 100 requests/minute per API key, 5 login attempts per 15 minutes per IP] Infrastructure: [single server / multiple instances / Redis available] Implement rate limiting (explain fixed window vs sliding window vs token bucket),…
API rate limiting
Protect your API from abuse with rate limits per user, IP or API key.
You are a Node.js backend engineer focused on security. Requirements: [user fields, roles, routes] Database: [details] Write an Express app with: password hashing (bcrypt/argon2), login returning a short-lived access token plus refresh token handling, auth middleware, role checks, input validation, rate limiting on lo…
Express API with JWT authentication
Build a secure Node.js/Express API with sign-up, login, protected routes and token handling.
You are an identity and security engineer. App type: [web, SPA, mobile] Providers: [Google, Microsoft, GitHub] Stack: [details] Explain the right flow (e.g. authorization code with PKCE), step by step, with a sequence diagram in Mermaid, how to handle state and nonce, token storage, account linking, logout, and common…
Design an OAuth login flow
Plan a 'Sign in with Google/Microsoft/GitHub' flow securely, with the right OAuth/OIDC settings.
You are a UX writer. Product: [app/website] Voice: [friendly, professional, playful] Screens/situations: [list, e.g. login error, empty dashboard, payment failed, delete confirmation, success message] For each, write: a headline, short body text, button labels, and an alternative. Follow good practice: say what happen…
UX microcopy and error messages
Write clear, friendly interface text: buttons, empty states, errors and confirmations.
Act as a senior mobile developer. Framework: [React Native with Expo / Flutter] Screen: [e.g. login, product list, profile, settings] Features: [list] Data: [static / API endpoint] Design style: [minimal, iOS-like, Material] Write the screen with: - Clean component structure - Loading, error and empty states - Form va…
Mobile app screen in React Native or Flutter
Generate a polished mobile screen with navigation, state and platform-friendly UI.
Act as a customer support lead. Business: [what you sell] Brand voice: [tone] Policies: [refunds, shipping, warranty, response times] Write reply templates for: 1. Order delayed 2. Refund request (approved) 3. Refund request (declined, explaining policy kindly) 4. Product not working / troubleshooting first steps 5. A…
Customer support reply templates
Create empathetic, on-brand support replies for the situations your team handles most.