{"id":18252,"library":"create-next-auth-app-cli","title":"create-next-auth-app-cli","description":"CLI tool (v1.0.3) to scaffold a Next.js authentication boilerplate with login, register, dashboard, and admin pages. One command generates a full auth frontend using Next.js, React 19, Tailwind CSS, shadcn/ui, Axios, and JWT token management. Relies on a separate backend package (create-auth-app-cli) for API endpoints. GitHub not found, low download count, experimental. Not a library — use as a scaffolding tool via npx.","status":"active","version":"1.0.3","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","nextjs","auth","boilerplate","cli"],"install":[{"cmd":"npm install create-next-auth-app-cli","lang":"bash","label":"npm"},{"cmd":"yarn add create-next-auth-app-cli","lang":"bash","label":"yarn"},{"cmd":"pnpm add create-next-auth-app-cli","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required framework for the scaffolded project","package":"next","optional":false},{"reason":"UI library","package":"react","optional":false},{"reason":"HTTP requests to backend","package":"axios","optional":false},{"reason":"Cookie management for JWT","package":"js-cookie","optional":false},{"reason":"CSS framework","package":"tailwindcss","optional":false},{"reason":"UI component library","package":"shadcn/ui","optional":false}],"imports":[{"note":"This is a CLI tool, not a code library. Use npx or npm init to run it.","wrong":"","symbol":"create-next-auth-app-cli","correct":"npx create-next-auth-app-cli <project-name>"}],"quickstart":{"code":"npx create-next-auth-app-cli my-auth-app\ncd my-auth-app\ncp .env.example .env.local\nnpm install\nnpm run dev","lang":"javascript","description":"Scaffold a Next.js auth frontend project and run it locally."},"warnings":[{"fix":"Run `npx create-auth-app-cli my-backend` in another directory and start the backend server.","message":"This package scaffolds a frontend only — you must also run the backend (create-auth-app-cli) for API endpoints.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Modify the generated auth logic to use httpOnly cookies and CSRF tokens.","message":"The scaffolded project uses localStorage + cookies for JWT, which may be insecure against XSS. Use httpOnly cookies for production.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Evaluate other solutions like NextAuth.js or Lucia before using in production.","message":"Package has low popularity and no visible issue tracker or repository. Stability and maintenance are uncertain.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'19':33 'admin':21 'api':54 'app':5,51 'auth':4,28,50,75 'authent':14 'axio':37 'backend':46 'boilerpl':15,76 'cli':6,7,52,77 'command':24 'count':61 'creat':2,49 'create-auth-app-c':48 'create-next-auth-app-c':1 'css':35 'dashboard':19 'download':60 'endpoint':55 'experiment':62 'found':58 'frontend':29 'full':27 'generat':25 'github':56 'javascript':73 'jwt':39 'librari':65 'login':17 'low':59 'manag':41 'next':3 'next.js':13,31 'nextj':74 'npx':72 'one':23 'packag':47 'page':22 'react':32 'regist':18 'reli':42 'scaffold':11,69 'separ':45 'shadcn/ui':36 'tailwind':34 'token':40 'tool':8,70 'use':30,66 'v1.0.3':9 'via':71","created_at":"2026-04-25T07:37:15.258810+00:00","updated_at":"2026-04-25T07:37:15.258810+00:00","problems":[{"fix":"Run `npx create-next-auth-app-cli@latest my-project` to use the latest version.","cause":"Package not installed globally or network issue","error":"npx create-next-auth-app-cli my-project command not found"},{"fix":"Run `npm install` inside the project folder.","cause":"Dependencies not installed after scaffolding","error":"Error: Cannot find module 'axios'"},{"fix":"Run `npm run dev -- -p 3001` or kill the process using port 3000.","cause":"Port already occupied","error":"Failed to start dev server: port 3000 in use"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"create-next-auth-app","cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/create-next-auth-app-cli","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-07-24","install_tag":null}}