A laptop in the dark with a rainbow-colored glow along its keyboard, banner image on the Add auth and accounts to your app page

Playbook - Build suite - About 3 hours

Add auth and accounts to your app

The intended result: Real sign-up, sign-in and password reset, with sessions that survive a refresh.

What you can do

The free tools in this guide open right here on this site. For Firebase and SendGrid you work in those services' own dashboards, because that part is done in the service itself. Where a step asks you to check or test something, you do it yourself.

At a glance

TimeAbout 3 hours
Steps5 steps, in order
Free tools usedCRUD App Scaffolder, Env Config Checker, README Generator
Outside servicesFirebase, SendGrid
What you end withWorking registration, login, logout and password reset with at least one properly protected page.

The steps

Steps that use the free tools run in your browser. Steps that involve an outside service are done in that service's own dashboard in that service's own dashboard.

Step 1

Pick email-plus-password first; social login can come later once the account model is stable.

Step 2

Scaffold the auth routes and user model, then run env-config-checker to confirm every secret the flow needs is actually set.

Step 3

Test the full loop yourself in an incognito window: register, verify, log out, log back in, reset password.

Step 4

Add one protected page and confirm it redirects to sign-in when logged out - this is the test that matters.

Step 5

Document the session behavior in the README so future-you knows what was deliberate.

Worked example - illustrative scenario, not a HiringsAI run

What this looks like on a real project

A habit-tracking app has been single-user on one device. Before inviting 50 beta users it needs sign-up, sign-in, password reset, and a rule that a user only ever sees their own rows.

FlowWhat the user doesWhat you must checkCommon miss
Sign upEmail + password or magic linkEmail verified before data is savedAccount created for typo addresses
Sign inSame credentialsSession cookie is HttpOnly and expiresToken left in localStorage forever
ResetRequest email linkLink is single-use and short-livedLink works twice
Data accessOpen any pageEvery query filters by the signed-in user idOnly the UI hides other users' rows

Decisions to make before you start

Build or buy auth

Use a hosted provider unless you have a reason

Password storage, reset and rate limiting are easy to get subtly wrong.

Session style

Server cookie for a web app; short-lived token for a mobile client

Cookies are simpler to revoke.

Roles

Start with owner and member only

Add roles when a real customer needs one.

How you know it is done

  • Two test accounts exist; account A cannot read or edit account B's rows by changing an id in the URL.
  • Reset links stop working after one use.
  • Signing out on one device ends that session.

Where this usually goes wrong

  • Checking access only in the front end.
  • Testing with one account, so cross-user leaks never show.

The scenario and figures are an example. Your numbers will differ.

The result

Working registration, login, logout and password reset with at least one properly protected page.

The tools this uses

CRUD App Scaffolder · Env Config Checker · Readme Generator - all free, no account needed for the tools themselves.

Connectors used

Firebase · Sendgrid

All playbooks The Build suite

Each step in detail

What to do at each step, and which free tool does the work.

Step 1 of 5

Pick email-plus-password first; social login can come later once the account model is stable.

This step is done by you, in the service's own dashboard where one is involved. Write down what you decided so the next step has something to start from.

Step 2 of 5

Scaffold the auth routes and user model, then run env-config-checker to confirm every secret the flow needs is actually set.

Use Env Config Checker. Audit a .env file for parse problems, duplicate keys, quoting mistakes, production secrets and production risks, and compare it with your .env.example.

Step 3 of 5

Test the full loop yourself in an incognito window: register, verify, log out, log back in, reset password.

This step is done by you, in the service's own dashboard where one is involved. Write down what you decided so the next step has something to start from.

Step 4 of 5

Add one protected page and confirm it redirects to sign-in when logged out - this is the test that matters.

This step is done by you, in the service's own dashboard where one is involved. Write down what you decided so the next step has something to start from.

Step 5 of 5

Document the session behavior in the README so future-you knows what was deliberate.

This step is done by you, in the service's own dashboard where one is involved. Write down what you decided so the next step has something to start from.

The free tools, closer up

Every tool runs in your browser and needs no account.

CRUD App Scaffolder

Name the thing you are building - entity, fields, types - and get the three files every CRUD app starts with: the SQL schema, the REST route handlers, and a working list-plus-form page, all consistent with each other.

  • One definition, three files. Schema, routes and UI generate from the same field list, so they cannot drift.
  • Typed fields. Text, number, boolean, date and enum map to the right SQL types and input controls.
  • Scope. Generates a starting point, not a production app - auth and validation are marked where you add them.
  • Copy per file. Each artifact copies separately into your project.

Real output from the tool

YOU ENTER:
Entity name (built-in example)
Subscriber
Fields (built-in example)
email: text
name: text
plan: enum:free,pro,team
mrr: number
active: boolean
joined: date
Tab
SQL schema

THE TOOL RETURNS:
-- TODO: add foreign keys where relationships exist
CREATE TABLE IF NOT EXISTS subscribers (
id SERIAL PRIMARY KEY,
email TEXT NOT NULL DEFAULT '',
name TEXT NOT NULL DEFAULT '',
plan TEXT CHECK (plan IN ('free', 'pro', 'team')),
mrr NUMERIC,
active BOOLEAN NOT NULL DEFAULT FALSE,
joined DATE,
created_at TIMESTAMPTZ NOT NULL DEFAULT now()
);

Env Config Checker

Paste the file and read the findings. Each finding has a severity, a line number and the key name, and never shows a value. Add your .env.example to see missing and extra keys, and generate a keys-only .env.example from the file you pasted.

    README Generator

    Answer six questions about the project and get a README with real structure: badges, install, usage, config table, contributing, license - markdown you paste and keep.

    • Structure that reviewers expect. Title and pitch, badges, features, install, usage, configuration table, contributing, license.
    • Config table from your env vars. Paste variable names; they become a documented configuration table.
    • Badges without the syntax hunt. License, version and build badges generated with the right shields.io URLs.
    • Markdown you own. Clean output, no watermark, ready for GitHub, GitLab or npm.

    Real output from the tool

    YOU ENTER:
    Input
    hiringsai-tools
    Input
    Free browser-based tools for builders: no accounts, no uploads, everything runs locally in the tab.
    Install command
    npm install
    Usage
    Open any tool page and start typing. State stays in the tab; nothing is sent to a server.
    Env vars (one per line, NAME - description)
    SITE_URL - canonical origin for links
    CONTACT_EMAIL - support inbox shown in footer
    License
    MIT
    Version
    0.1.0
    
    THE TOOL RETURNS:
    # hiringsai-tools
    Free browser-based tools for builders: no accounts, no uploads, everything runs locally in the tab.
    ![License](https://img.shields.io/badge/license-MIT-blue) ![Version](https://img.shields.io/badge/version-0.1.0-green)
    ## Features
    - Free browser-based tools for builders: no accounts, no uploads, everything runs locally in the tab
    - Add the second thing it does
    - Add the third
    ## Install
    ```bash

    Outside services in this playbook

    Each connector page states what it does.

    Firebase

    Uses:

    • New user signups trigger the onboarding playbook.
    • Firestore writes to watched collections start workflows.
    • Auth anomaly reports compile weekly.

    Do this part in Firebase itself.

    SendGrid

    Uses:

    • Playbook-generated documents email via SendGrid with delivery events fed back.
    • Bounce events pause a sequence and flag the address for review.
    • Weekly report compiler output mails on a schedule.

    Do this part in SendGrid itself.

    Questions

    How long does "Add auth and accounts to your app" take?

    Plan for about 3 hours. It has 5 steps and you can stop after any of them and pick up later.

    Do I need an account?

    No account is needed for the free tools in this playbook. They run in your browser.

    What do I end up with?

    Working registration, login, logout and password reset with at least one properly protected page.

    Which steps need an outside service?

    Steps that involve Firebase, SendGrid are done in that service itself, because that part is done in the service itself.

    Can I skip a step?

    You can, but the steps are in the order they are because each uses the output of the one before. The first step is: Pick email-plus-password first; social login can come later once the account model is stable.

    CRUD App Scaffolder: Which stack?

    SQL schema (Postgres-flavored), fetch-based route handlers, and a framework-free page - portable into whatever you use.

    CRUD App Scaffolder: Relations?

    Not yet - keep fields scalar and add foreign keys where the SQL comments mark them.

    README Generator: Which license badges?

    MIT, Apache-2.0, GPL-3.0, BSD-3 and unlicensed, with correct shields URLs.

    README Generator: Monorepos?

    Generate per-package READMEs by re-running with each package's answers.

    Related playbooks

    A wooden desk with glasses, a coffee cup, a plant and the edge of a laptop, banner image on the Add auth and accounts to your app page

    Try it.

    Open the free tools this playbook uses, or pick another goal.

    In depth

    This guide on one page, with everything in order

    Add auth and accounts to your app has 5 steps. This part lays them out in one place with the tools and services each step uses, taken from the guide itself.

    Overview

    The page at a glance

    Add auth and accounts toyour appThe wholeplan on onesheetThe freetools in thisguide, one byoneThe outsideservices, andwhat eachconnectordoesCRUD App ScaffolderfeaturesCRUD AppScaffolder:The boring60%, doneconsistentlyCRUD AppScaffolder:Fields in,scaffold outEnv ConfigCheckerfeaturesThis guideon one pageTHIS PAGE
    Parts: The shape of "Add auth and accounts to your app", The whole plan on one sheet, The free tools in this guide, one by one, The outside services, and what each connector does, CRUD App Scaffolder: what it can do for this guide, CRUD App Scaffolder: The boring 60%, done consistently, CRUD App Scaffolder: Fields in, scaffold out, Env Config Checker: what it can do for this guide
    1At a glanceBuild suite - About 3 hours.2One sheetEvery step from this playbook in onetable, with the tool or place where eachstep happens.3Free toolsEach tool runs in your browser and needsno account. The table says what each onedoes and what it gives you.4Outside servicesThese steps happen in the serviceitself. The connector pages say whateach connector does.5Tool by toolThe facts below are taken from the CRUDApp Scaffolder page itself.6MoreThis comes from the CRUD App Scaffolderpage.7MoreThis comes from the CRUD App Scaffolderpage.IN ORDER
    What each part tells you, in order

    At a glance

    The shape of "Add auth and accounts to your app"

    Build suite - About 3 hours. The intended result: Real sign-up, sign-in and password reset, with sessions that survive a refresh.

    5steps, in order
    3free tools used
    2outside services
    3 hoursto do it
    Pick email-plus-password firstScaffold the auth routes and user modelTest the full loop yourself in an incognito windowAdd one protected page and confirm it redirects to sign-in when logged outDocument the session behavior in the README so future-you knows what was deliberate
    Steps5Free tools3Outside services2Steps using a tool1Steps done by you4
    Pickemail-plus-passwordfirstScaffold the authroutes and usermodelTest the full loopyourself in anincognito windowAdd one protectedpage and confirm itredirects tosign-in when loggedoutDocument thesession behavior inthe README sofuture-you knowswhat was deliberatePATH
    In order: Pick email-plus-password first then Scaffold the auth routes and user model then Test the full loop yourself in an incognito window then Add one protected page and confirm it redirects to sign-in then Document the session behavior in the README so future-you
    Hands typing on a laptop at a wooden desk beside a notebook and a mug, banner image on the Add auth and accounts to your app page

    01 / 18

    01 / 18

    Build suite - About 3 hours

    The intended result: Real sign-up, sign-in and password reset, with sessions that survive a refresh.

    One sheet

    The whole plan on one sheet

    Step 1WHAT TO DOPick email-plus-password first; sociallogin can come later once the accountmodel is stable.WHERE IT HAPPENSYou, in the service's own dashboardROW
    Row: Step 1

    Every step from this playbook in one table, with the tool or place where each step happens.

    StepWhat to doWhere it happens
    Step 1Pick email-plus-password first; social login can come later once the account model is stable.You, in the service's own dashboard
    Step 2Scaffold the auth routes and user model, then run env-config-checker to confirm every secret the flow needs is actually set.Env Config Checker
    Step 3Test the full loop yourself in an incognito window: register, verify, log out, log back in, reset password.You, in the service's own dashboard
    Step 4Add one protected page and confirm it redirects to sign-in when logged out - this is the test that matters.You, in the service's own dashboard
    Step 5Document the session behavior in the README so future-you knows what was deliberate.You, in the service's own dashboard
    Step 2WHAT TO DOScaffold the auth routes and user model,then run env-config-checker to confirmevery secret the flow needs is actuallyset.WHERE IT HAPPENSEnv Config CheckerROW
    Row: Step 2
    Step 3WHAT TO DOTest the full loop yourself in anincognito window: register, verify, logout, log back in, reset password.WHERE IT HAPPENSYou, in the service's own dashboardROW
    Row: Step 3
    Step 4WHAT TO DOAdd one protected page and confirm itredirects to sign-in when logged out -this is the test that matters.WHERE IT HAPPENSYou, in the service's own dashboardROW
    Row: Step 4
    Step 5WHAT TO DODocument the session behavior in theREADME so future-you knows what wasdeliberate.WHERE IT HAPPENSYou, in the service's own dashboardROW
    Row: Step 5
    Pickemail-plus-passwordfirst; sociallogin can comelater once theaccount model isstable.Scaffold theauth routes anduser model, thenrunenv-config-checkerto confirm everysecret the flowneeds isactually set.Test the fullloop yourself inan incognitowindow:register,verify, log out,log back in,reset password.Add oneprotected pageand confirm itredirects tosign-in whenlogged out -this is the testthat matters.Document thesession behaviorin the README sofuture-you knowswhat wasdeliberate.Step 1Step 2Step 3Step 4Step 5MATRIX
    Who or what does each row: Pick email-plus-password first; social login can come later once the account model is stable., Scaffold the auth routes and user model, then run env-config-checker to confirm every secret the flow needs is actually set., Test the full loop yourself in an incognito window: register, verify, log out, log back in, reset password., Add one protected page and confirm it redirects to sign-in when logged out - this is the test that matters., Document the session behavior in the README so future-you knows what was deliberate.
    You, in the service's own dashboardEnv Config CheckerStep 1Step 2Step 3Step 4Step 5MATRIX
    Who or what does each row: You, in the service's own dashboard, Env Config Checker
    4You, in the service's own dashboard1Env Config CheckerTALLY
    Tally by where it happens: You, in the service's own dashboard, Env Config Checker
    1Step 1Pick email-plus-password first; sociallogin can come later once the accountmodel is stable.2Step 2Scaffold the auth routes and user model,then run env-config-checker to confirmevery secret the flow needs.3Step 3Test the full loop yourself in anincognito window: register, verify, logout, log back in, reset password.4Step 4Add one protected page and confirm itredirects to sign-in when logged out -this is the test that matters.5Step 5Document the session behavior in theREADME so future-you knows what wasdeliberate.INDEX
    Index: Step 1, Step 2, Step 3, Step 4, Step 5
    Step 1Step 2Step 3Step 4Step 5The wholeplan on onesheetMAP
    Map: Step 1, Step 2, Step 3, Step 4, Step 5
    Hands holding a smartphone above a laptop on a wooden table, banner image on the Add auth and accounts to your app page

    02 / 18

    02 / 18

    The result you are working toward

    Real sign-up, sign-in and password reset, with sessions that survive a refresh.

    Free tools

    The free tools in this guide, one by one

    CRUD AppScaffolderWHAT IT DOESName the thing you are building -entity, fields, types - and get thethree files every CRUD app starts with:the SQL schema.WHAT IS INSIDEOne definition, three files.ROW
    Row: CRUD App Scaffolder

    Each tool runs in your browser and needs no account. The table says what each one does and what it gives you.

    CRUD App Scaffolder4Env Config Checker0README Generator4
    ToolWhat it doesWhat is inside
    CRUD App ScaffolderName the thing you are building - entity, fields, types - and get the three files every CRUD app starts with: the SQL schema, the REST route handlers, and a working list-plus-form page, all consistent with each other.One definition, three files. Schema, routes and UI generate from the same field list, so they cannot drift. Typed fields. Text, number, boolean, date and enum map to the right SQL types and input controls. Scope. Generates a starting point, not a production app - auth and validation are marked where you add them. Copy per file. Each artifact copies separately into your project.
    Env Config CheckerPaste the file and read the findings. Each finding has a severity, a line number and the key name, and never shows a value. Add your .env.example to see missing and extra keys, and generate a keys-only .env.example from the file you pasted.
    README GeneratorAnswer six questions about the project and get a README with real structure: badges, install, usage, config table, contributing, license - markdown you paste and keep.Structure that reviewers expect. Title and pitch, badges, features, install, usage, configuration table, contributing, license. Config table from your env vars. Paste variable names; they become a documented configuration table. Badges without the syntax hunt. License, version and build badges generated with the right shields.io URLs. Markdown you own. Clean output, no watermark, ready for GitHub, GitLab or npm.
    Env ConfigCheckerWHAT IT DOESPaste the file and read the findings.WHAT IS INSIDEROW
    Row: Env Config Checker
    READMEGeneratorWHAT IT DOESAnswer six questions about the projectand get a README with real structure:badges, install, usage, config table,contributing.WHAT IS INSIDEStructure that reviewers expect.ROW
    Row: README Generator
    1One definition,three filesSchema, routes and UI generate from thesame field list, so they cannot drift.2Typed fieldsText, number, boolean, date and enum mapto the right SQL types and inputcontrols.3ScopeGenerates a starting point, not aproduction app - auth and validation aremarked where you add them.4Copy per fileEach artifact copies separately intoyour project.INSIDE THE TOOL
    CRUD App Scaffolder: One definition, three files, Typed fields, Scope, Copy per file
    1Structure thatreviewers expectTitle and pitch, badges, features,install, usage, configuration table,contributing, license.2Badges without thesyntax huntLicense, version and build badgesgenerated with the right shields.ioURLs.3Markdown you ownClean output, no watermark, ready forGitHub, GitLab or npm.INSIDE THE TOOL
    README Generator: Structure that reviewers expect, Badges without the syntax hunt, Markdown you own
    Name the thing you arebuilding - entity, fields,types - and get the threefiles every CRUD app startswith: the SQL schema, theREST route handlers, and aworking list-plus-form page,all consistent with eachother.Paste the file and read thefindings. Each finding has aseverity, a line number andthe key name, and nevershows a value. Add your.env.example to see missingand extra keys, and generatea keys-only .env.examplefrom the file you pasted.Answer six questions aboutthe project and get a READMEwith real structure: badges,install, usage, configtable, contributing, license- markdown you paste andkeep.CRUD App ScaffolderEnv Config CheckerREADME GeneratorMATRIX
    Who or what does each row: Name the thing you are building - entity, fields, types - and get the three files every CRUD app starts with: the SQL schema, the REST route handlers, and a working list-plus-form page, all consistent with each other., Paste the file and read the findings. Each finding has a severity, a line number and the key name, and never shows a value. Add your .env.example to see missing and extra keys, and generate a keys-only .env.example from the file you pasted., Answer six questions about the project and get a README with real structure: badges, install, usage, config table, contributing, license - markdown you paste and keep.
    One definition, three files.Schema, routes and UIgenerate from the same fieldlist, so they cannot drift.Typed fields. Text, number,boolean, date and enum mapto the right SQL types andinput controls. Scope.Generates a starting point,not a production app - authand validation are markedwhere you add them. Copy perfile. Each artifact copiesseparately into yourproject.Structure that reviewersexpect. Title and pitch,badges, features, install,usage, configuration table,contributing, license.Config table from your envvars. Paste variable names;they become a documentedconfiguration table. Badgeswithout the syntax hunt.License, version and buildbadges generated with theright shields.io URLs.Markdown you own. Cleanoutput, no watermark, readyfor GitHub, GitLab or npm.CRUD App ScaffolderEnv Config CheckerREADME GeneratorMATRIX
    Who or what does each row: One definition, three files. Schema, routes and UI generate from the same field list, so they cannot drift. Typed fields. Text, number, boolean, date and enum map to the right SQL types and input controls. Scope. Generates a starting point, not a production app - auth and validation are marked where you add them. Copy per file. Each artifact copies separately into your project., , Structure that reviewers expect. Title and pitch, badges, features, install, usage, configuration table, contributing, license. Config table from your env vars. Paste variable names; they become a documented configuration table. Badges without the syntax hunt. License, version and build badges generated with the right shields.io URLs. Markdown you own. Clean output, no watermark, ready for GitHub, GitLab or npm.
    1CRUD App ScaffolderName the thing you are building -entity, fields, types - and get thethree files every CRUD app starts with.2Env Config CheckerPaste the file and read the findings.3README GeneratorAnswer six questions about the projectand get a README with real structure:badges, install, usage.INDEX
    Index: CRUD App Scaffolder, Env Config Checker, README Generator
    A laptop in the dark with a rainbow-colored glow along its keyboard, banner image on the Add auth and accounts to your app page

    03 / 18

    03 / 18

    Where each step begins

    Pick email-plus-password first; social login can come later once the account model is stable.

    Outside services

    The outside services, and what each connector does

    These steps happen in the service itself. The connector pages say what each connector does.

    ServiceWhat the connector does
    FirebaseNew user signups trigger the onboarding playbook. Firestore writes to watched collections start workflows. Auth anomaly reports compile weekly. Do this part in Firebase itself.
    SendGridPlaybook-generated documents email via SendGrid with delivery events fed back. Bounce events pause a sequence and flag the address for review. Weekly report compiler output mails on a schedule. Do this part in SendGrid itself.
    1FirebaseNew user signups trigger the onboardingplaybook.2SendGridPlaybook-generated documents email viaSendGrid with delivery events fed back.IN ORDER
    In order: Firebase, SendGrid
    A laptop and a tablet showing photo grids on a desk, with headphones and a branch in a vase, banner image on the Add auth and accounts to your app page

    04 / 18

    04 / 18

    Done in the service itself

    Test the full loop yourself in an incognito window: register, verify, log out, log back in, reset password.

    Tool by tool

    CRUD App Scaffolder: what it can do for this guide

    The facts below are taken from the CRUD App Scaffolder page itself. They are what the tool does, in the order the page lists them.

    One definition, three files
    Schema, routes and UI generate from the same field list, so they cannot drift.
    Typed fields
    Text, number, boolean, date and enum map to the right SQL types and input controls.
    Honest scope
    Generates a starting point, not a production app - auth and validation are marked where you add them.
    Copy per file
    Each artifact copies separately into your project.
    Five field types, one grammar
    text, number, boolean, date and enum with its values inline: plan: enum:free,pro,team. One field per line, nothing else to learn.
    Errors that name the line
    A malformed field gets "line 3: use name: type" with the grammar restated, instead of failing silently.
    Real SQL types
    Numbers become NUMERIC, dates become DATE, booleans default to FALSE, enums become a CHECK constraint, and every table gets id and created_at columns.
    Handlers that validate
    The routes file cleans every payload: numbers must be finite, dates must be ISO, enums must match your values. Bad input returns a 422 naming each error.
    One definition, threefilesTyped fieldsHonest scopeCopy per fileFive field types, onegrammarErrors thatname the lineReal SQLtypesHandlers thatvalidateCRUD AppScaffolderfeaturesMAP
    Map: One definition, three files, Typed fields, Honest scope, Copy per file, Five field types, one grammar, Errors that name the line, Real SQL types, Handlers that validate
    People working together around a table with laptops, notebooks and drinks, banner image on the Add auth and accounts to your app page

    05 / 18

    05 / 18

    The facts below are taken from the CRUD App Scaffolder page itself

    They are what the tool does, in the order the page lists them.

    More

    CRUD App Scaffolder: The boring 60%, done consistently

    This comes from the CRUD App Scaffolder page.

    One definition, three files
    Schema, routes and UI generate from the same field list, so they cannot drift.
    Typed fields
    Text, number, boolean, date and enum map to the right SQL types and input controls.
    Honest scope
    Generates a starting point, not a production app - auth and validation are marked where you add them.
    Copy per file
    Each artifact copies separately into your project.
    Five field types, one grammar
    text, number, boolean, date and enum with its values inline: plan: enum:free,pro,team. One field per line, nothing else to learn.
    Errors that name the line
    A malformed field gets "line 3: use name: type" with the grammar restated, instead of failing silently.
    One definition, threefilesTyped fieldsHonest scopeCopy per fileFive fieldtypes, onegrammarErrors thatname the lineCRUD AppScaffolder:The boring60%MAP
    Map: One definition, three files, Typed fields, Honest scope, Copy per file, Five field types, one grammar, Errors that name the line

    More

    CRUD App Scaffolder: Fields in, scaffold out

    This comes from the CRUD App Scaffolder page.

    Which stack?
    SQL schema (Postgres-flavored), fetch-based route handlers, and a framework-free page - portable into whatever you use.
    Relations?
    Not yet - keep fields scalar and add foreign keys where the SQL comments mark them.
    What does the SQL include?
    CREATE TABLE IF NOT EXISTS with a serial primary key, your columns and a created_at timestamp, plus a comment reminding you to add foreign keys where relationships exist.
    Is the code production-ready?
    The routes file says so itself: wire it to your database layer and add auth before production. Validation and parameterized queries are already in place.
    How are names normalized?
    Entity and field names are snake_cased, so PlanType, plan type and plan-type all become plan_type across all three files.
    Which routes does the UI expect?
    GET and POST on /api/your-entities and DELETE on /api/your-entities/:id - exactly the routes the handlers file exports.
    Which stack?Relations?What does theSQL include?Is the codeproduction-ready?How are namesnormalized?Which routesdoes the UIexpect?CRUD AppScaffolder:Fields in,scaffold outMAP
    Map: Which stack?, Relations?, What does the SQL include?, Is the code production-ready?, How are names normalized?, Which routes does the UI expect?

    Tool by tool

    Env Config Checker: what it can do for this guide

    The facts below are taken from the Env Config Checker page itself. They are what the tool does, in the order the page lists them.

    An unquoted value with spaces
    APP_NAME=My App is kept whole by python-dotenv and Node dotenv and quoting it removes any doubt about other tools. Quote it: APP_NAME="My App".
    A quote that never closes
    python-dotenv drops the line and Node dotenv keeps the quote as text, so the two loaders give different results. The tool points at the opening line.
    A # in an unquoted value
    A value such as abc #1 ends at the space before # in both checked loaders. A # with no space before it is kept by python-dotenv and ends the value in Node dotenv. Quote values that contain #.
    Duplicate keys
    Both checked loaders keep the last DATABASE_URL. A loader that keeps the first would differ. The tool reports the line of the first one.
    A real key in a committed file
    Key patterns are reported as errors. If the file was shared or committed, rotate the key.
    Production with debug on
    NODE_ENV=production and DEBUG=true together is an error, because verbose errors can leak internals.
    Is my file uploaded?
    No. Parsing runs in your browser tab.
    Why are values never shown?
    So you can paste findings into a ticket without leaking a secret. The report and the generated example have no values.
    An unquoted value withspacesA quote thatnever closesA # in anunquotedvalueDuplicatekeysA real key in a committedfileProductionwith debug onIs my fileuploaded?Why arevalues nevershown?Env ConfigCheckerfeaturesMAP
    Map: An unquoted value with spaces, A quote that never closes, A # in an unquoted value, Duplicate keys, A real key in a committed file, Production with debug on, Is my file uploaded?, Why are values never shown?

    More

    Env Config Checker: What is inside the tool

    This comes from the Env Config Checker page.

    A real .env parser
    Quoted values, inline comments after a space and #, an export prefix, multi-line quoted values, \n and \r escapes in double quotes and CRLF are read the way python-dotenv 1.0.1 and Node dotenv 16.4.5 agree on. Where those two loaders differ, the tool says so in the finding instead of picking one.
    Findings with line numbers
    Errors, warnings and notes are sorted by severity and show the line and the key. Values never appear in findings, the report or the generated example.
    Quoting and syntax
    Unquoted values with spaces, an opening quote that never closes, text after a closing quote, spaces around =, invalid key names, lines with no =, a byte order mark, mixed line endings, invisible characters and a missing final newline.
    Duplicates and references
    A repeated key is reported with the line of the first one. A ${NAME} or $NAME reference to a key that is defined later, or not at all, is flagged. Single-quoted values are not expanded, so they are skipped.
    Secrets and production risks
    Key patterns (sk_live, rk_live, AWS access key IDs, GitHub tokens, Slack tokens, private key blocks), placeholder values, passwords inside URLs, a test-mode key, production with debug on, and localhost URLs in a production file.
    Compare with .env.example
    Missing keys are errors. Keys that are not in the example and keys that are empty in .env but listed in the example are warnings.
    A real .env parserFindings withline numbersQuoting andsyntaxDuplicates and referencesSecrets andproductionrisksCompare with.env.exampleEnv ConfigChecker:What isinside theMAP
    Map: A real .env parser, Findings with line numbers, Quoting and syntax, Duplicates and references, Secrets and production risks, Compare with .env.example

    More

    Env Config Checker: Each of these produces a finding

    This comes from the Env Config Checker page.

    An unquoted value with spaces
    APP_NAME=My App is kept whole by python-dotenv and Node dotenv and quoting it removes any doubt about other tools. Quote it: APP_NAME="My App".
    A quote that never closes
    python-dotenv drops the line and Node dotenv keeps the quote as text, so the two loaders give different results. The tool points at the opening line.
    A # in an unquoted value
    A value such as abc #1 ends at the space before # in both checked loaders. A # with no space before it is kept by python-dotenv and ends the value in Node dotenv. Quote values that contain #.
    Duplicate keys
    Both checked loaders keep the last DATABASE_URL. A loader that keeps the first would differ. The tool reports the line of the first one.
    A real key in a committed file
    Key patterns are reported as errors. If the file was shared or committed, rotate the key.
    Production with debug on
    NODE_ENV=production and DEBUG=true together is an error, because verbose errors can leak internals.
    An unquoted value withspacesA quote thatnever closesA # in anunquotedvalueDuplicate keysA real key ina committedfileProductionwith debug onEnv ConfigChecker:Each oftheseMAP
    Map: An unquoted value with spaces, A quote that never closes, A # in an unquoted value, Duplicate keys, A real key in a committed file, Production with debug on

    More

    Env Config Checker: Before you ask

    This comes from the Env Config Checker page.

    Is my file uploaded?
    No. Parsing runs in your browser tab.
    Why are values never shown?
    So you can paste findings into a ticket without leaking a secret. The report and the generated example have no values.
    Why is a # kept in one value and cut in another?
    Inside quotes it is part of the value. In an unquoted value, a # after a space starts a comment in both checked loaders.
    Which loader rules does it use?
    Where python-dotenv 1.0.1 and Node dotenv 16.4.5 agree, the tool follows them. Where they differ, the finding names both behaviors.
    Does it fix the file?
    No. It reports, and it can generate a keys-only .env.example.
    Is my file uploaded?Why arevalues nevershown?Why is a #kept in onevalue and cutin another?Which loaderrules does ituse?Does it fixthe file?Env ConfigChecker:Before youaskMAP
    Map: Is my file uploaded?, Why are values never shown?, Why is a # kept in one value and cut in another?, Which loader rules does it use?, Does it fix the file?

    Steps

    Env Config Checker: the steps, in order

    The steps are taken from the Env Config Checker page.

    Paste your .env. Findings update
    Paste your .env. Findings update as you type.
    Paste your .env.example under it
    Paste your .env.example under it if you have one, to see missing and extra keys.
    Fix errors first
    Fix errors first, then warnings. Notes are for loaders that differ from each other.
    Copy the report for a
    Copy the report for a pull request, or generate a .env.example with empty values.
    Paste your .env. FindingsupdatePaste your.env.exampleunder itFix errors firstCopy thereport for aEnv ConfigCheckerstepsMAP
    Map: Paste your .env. Findings update, Paste your .env.example under it, Fix errors first, Copy the report for a

    Limits

    Env Config Checker: what it cannot do

    These limits are stated on the Env Config Checker page.

    Two loaders checked, not all
    Parsing was compared with python-dotenv 1.0.1 and Node dotenv 16.4.5 on 1,520 test inputs. Where both agree, the tool agrees. Other loaders, shells and platforms may differ, and the findings only describe those two loaders.
    Secret patterns are a short list
    It matches a few well-known prefixes. A secret with no known prefix is not detected. A clean report is not a security review. The report prints no parsed values. Key names that are plain names are shown, so a secret pasted as a key name could appear. Do not paste a secret as a key name.
    It cannot see your environment
    A reference to a key that is not in the file is reported. It may be set by your host, and the tool cannot tell.
    No auto-fix
    It reports and generates an example. It does not rewrite your file.
    Two loaders checked, notallSecretpatterns area short listIt cannot see yourenvironmentNo auto-fixEnv ConfigCheckerlimitsMAP
    Map: Two loaders checked, not all, Secret patterns are a short list, It cannot see your environment, No auto-fix

    Tool by tool

    README Generator: what it can do for this guide

    The facts below are taken from the README Generator page itself. They are what the tool does, in the order the page lists them.

    Structure that reviewers expect
    Title and pitch, badges, features, install, usage, configuration table, contributing, license.
    Config table from your env vars
    Paste variable names; they become a documented configuration table.
    Badges without the syntax hunt
    License and version badges generated with the right shields.io URLs.
    Markdown you own
    Clean output with a rendered preview next to the answers. Copy it or download README.md. No watermark.
    Configuration table from one line each
    Write env vars as NAME - description, one per line, and they become a Markdown table under a Configuration heading.
    Badges that match your choices
    License and version badges build from your picks, with the dash-escaping shields syntax handled for you.
    A preview that renders the Markdown
    The Preview tab renders headings, tables, lists, code blocks and links, so you check what readers see, not raw source.
    The sections reviewers look for
    Features, Install, Usage, Configuration, Contributing and License, in the order a first-time reader scans for them.
    Structure that reviewersexpectConfig tablefrom your envvarsBadgeswithout thesyntax huntMarkdown youownConfiguration table fromone line eachBadges thatmatch yourchoicesA previewthat rendersthe MarkdownThe sectionsreviewerslook forREADMEGeneratorfeaturesMAP
    Map: Structure that reviewers expect, Config table from your env vars, Badges without the syntax hunt, Markdown you own, Configuration table from one line each, Badges that match your choices, A preview that renders the Markdown, The sections reviewers look for

    Questions

    README Generator: what people ask before using it

    These answers come from the README Generator page.

    Which license badges?
    MIT, Apache-2.0, GPL-3.0, BSD-3 and unlicensed, with correct shields URLs.
    Monorepos?
    Generate per-package READMEs by re-running with each package's answers.
    Does it save anything?
    No. Copy the markdown; nothing is stored or sent.
    Which licenses can I pick?
    MIT, Apache-2.0, GPL-3.0, BSD-3-Clause, or None/proprietary, which drops the license badge and marks the file all rights reserved.
    Does it invent feature bullets?
    No. It seeds the Features list from your own pitch sentence and marks the remaining bullets for you to write.
    What if an env var line has no description?
    It still lands in the Configuration table with an empty description cell; nothing is dropped silently.
    Which license badges?Monorepos?Does it saveanything?Which licenses can I pick?Does itinventfeaturebullets?What if anenv var linehas nodescription?READMEGeneratorquestionsMAP
    Map: Which license badges?, Monorepos?, Does it save anything?, Which licenses can I pick?, Does it invent feature bullets?, What if an env var line has no description?

    Worked examples

    SendGrid: example tasks worked through

    These examples are read from the SendGrid page itself.

    Send a receipt to one customer from a verified sender
    Expected result: one personalization, a verified from address, and a content array with both text/plain and text/html. Check: the request needs at least one content MIME type and a from address that is a verified sender; a 202 Accepted means SendGrid accepted the message, not that the recipient has it.
    Schedule a reminder for tomorrow morning
    Expected result: the same send with send_at set to the unix timestamp. Check: a send cannot be scheduled more than 72 hours ahead, so a reminder for next week is stored by the run and submitted later. The run does not rely on SendGrid to hold it that long.
    Tag sends with custom arguments for later tracing
    Expected result: custom_args under 10,000 bytes per personalization, returned with the email’s activity data. Check: substitutions are not applied to custom_args, so a placeholder inside one stays literal. The run adds the real values itself, and watches X-RateLimit-Remaining across the batch of sends, stopping at 429 until the period resets.
    Playbook-generated documents email via SendGrid
    Playbook-generated documents email via SendGrid with delivery events fed back.
    Bounce events pause a sequence
    Bounce events pause a sequence and flag the address for review.
    Weekly report compiler output mails
    Weekly report compiler output mails on a schedule.
    Send a receipt to onecustomer from a verifiedsenderSchedule areminder fortomorrowmorningTag sendswith customarguments forlater tracingPlaybook-generateddocuments email viaSendGridBounce eventspause asequenceWeekly reportcompileroutput mailsSendGrid:exampletasks workedthroughMAP
    Map: Send a receipt to one customer from a verified sender, Schedule a reminder for tomorrow morning, Tag sends with custom arguments for later tracing, Playbook-generated documents email via SendGrid, Bounce events pause a sequence, Weekly report compiler output mails

    Outcomes

    Related, guides 1 to 4: what each ends with

    Each line is the intended result printed on that guide.

    Build a booking system from scratch
    Customers pick real open slots and both sides get confirmations, no double-bookings.
    Build a client portal with logins
    Clients check project status and files themselves instead of emailing you.
    Build an internal tool for your team
    The admin panel or ops tool your team currently does by hand, running on real data.
    Govern what your automations can touch
    An inventory of your automations with scoped credentials, trimmed permissions and a kill-switch runbook.
    Build a booking systemfrom scratchBuild aclient portalwith loginsBuild an internal tool foryour teamGovern whatyourautomationscan touchRelated,guides 1 to4: what eachends withMAP
    Map: Build a booking system from scratch, Build a client portal with logins, Build an internal tool for your team, Govern what your automations can touch

    Finish

    What you end with

    1Pick email-plus-password first2Scaffold the auth routes anduser model34Add one protected page5STEPS
    Steps: Step 1, Step 2, Step 3, Step 4, Step 5

    Real sign-up, sign-in and password reset, with sessions that survive a refresh.

    Work through the steps in the order shown. Each one uses what the one before produced.

    1. Step 1Pick email-plus-password first; social login can come later once the account model is stable.
    2. Step 2Scaffold the auth routes and user model, then run env-config-checker to confirm every secret the flow needs is actually set.
    3. Step 3Test the full loop yourself in an incognito window: register, verify, log out, log back in, reset password.
    4. Step 4Add one protected page and confirm it redirects to sign-in when logged out - this is the test that matters.
    5. Step 5Document the session behavior in the README so future-you knows what was deliberate.
    1Step 1Pick email-plus-password first; sociallogin can come later once the accountmodel is stable.2Step 2Scaffold the auth routes and user model,then run env-config-checker to confirmevery secret the flow needs is actually.3Step 3Test the full loop yourself in anincognito window: register, verify, logout, log back in, reset password.4Step 4Add one protected page and confirm itredirects to sign-in when logged out -this is the test that matters.5Step 5Document the session behavior in theREADME so future-you knows what wasdeliberate.IN ORDER
    In order: Step 1, Step 2, Step 3, Step 4, Step 5
    Step 1Step 2Step 3Step 4Step 5What you endwithMAP
    What you end with. Map: Step 1, Step 2, Step 3, Step 4, Step 5
    A tablet showing charts and graphs next to a coffee cup, banner image on the Add auth and accounts to your app page

    18 / 18

    18 / 18

    You end with

    Real sign-up, sign-in and password reset, with sessions that survive a refresh.