{"id":49283676,"url":"https://github.com/natuleadan/nla-template","last_synced_at":"2026-04-25T20:03:57.767Z","repository":{"id":353823585,"uuid":"1221048724","full_name":"natuleadan/nla-template","owner":"natuleadan","description":"Next.js 16 e-commerce template with shadcn/ui components, API routes, dynamic brand theming via Radix UI color palettes, and infinite scroll product filtering.","archived":false,"fork":false,"pushed_at":"2026-04-25T19:00:56.000Z","size":245,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-25T19:23:36.309Z","etag":null,"topics":["ecommerce","nextjs","nextjs-template","radix-ui","scalar","shadcn","tailwindcss","turbopack","typescript","vercel"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/natuleadan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-25T17:26:10.000Z","updated_at":"2026-04-25T18:59:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/natuleadan/nla-template","commit_stats":null,"previous_names":["natuleadan/nla-template"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/natuleadan/nla-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natuleadan%2Fnla-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natuleadan%2Fnla-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natuleadan%2Fnla-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natuleadan%2Fnla-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natuleadan","download_url":"https://codeload.github.com/natuleadan/nla-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natuleadan%2Fnla-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32274987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ecommerce","nextjs","nextjs-template","radix-ui","scalar","shadcn","tailwindcss","turbopack","typescript","vercel"],"created_at":"2026-04-25T20:03:54.566Z","updated_at":"2026-04-25T20:03:57.754Z","avatar_url":"https://github.com/natuleadan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"public/design/logo.svg\" alt=\"NLA Template\" width=\"120\" height=\"120\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eNLA Template\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003cstrong\u003eNext.js 16 E-commerce Template with shadcn/ui\u003c/strong\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/natuleadan/nla-template/actions/workflows/ci.yml?branch=main\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/natuleadan/nla-template/ci.yml?branch=main\u0026style=for-the-badge\" alt=\"CI status\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/natuleadan/nla-template/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/natuleadan/nla-template?include_prereleases\u0026style=for-the-badge\" alt=\"GitHub release\" /\u003e\u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge\" alt=\"MIT License\" /\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Next.js-16-black?style=for-the-badge\" alt=\"Next.js\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/shadcn/ui-components-blueviolet?style=for-the-badge\" alt=\"shadcn/ui\" /\u003e\n\u003c/p\u003e\n\n\u003e ⚠️ **Active Development** — This template is under active construction. APIs, module interfaces, and features may change without prior notice. For production use, rely only on tagged releases (`vX.Y.Z`).\n\n## 1. What is NLA Template?\n\nNLA Template is a Next.js 16 e-commerce starter template with shadcn/ui components. It provides a complete foundation for building modern e-commerce applications with REST API, authentication, and best practices.\n\nBuilt with Next.js 16, TypeScript, Tailwind CSS, and shadcn/ui. Ready to deploy to Vercel with CI/CD and automated releases.\n\n## 2. Features\n\n- **Next.js 16** with App Router and Turbopack\n- **shadcn/ui** components for modern UI\n- **REST API** with 8 categories and 4 endpoints each (GET/POST/PUT/DELETE)\n- **Scalar API Documentation** at `/api`\n- **Husky + Commitlint** for conventional commits\n- **GitHub Actions CI/CD** with build, lint, and test\n- **Semantic Release** for automated versioning\n- **CodeQL** security scanning\n- **Cookie Consent** with shadcn components\n- **Geolocation** service with Vercel headers\n- **Notifications** with Sonner\n- **Product Gallery** with carousel and fallback images\n\n## 3. Technology Stack\n\n- **Framework**: Next.js 16 with App Router\n- **Language**: TypeScript 5.7+\n- **UI**: shadcn/ui + Tailwind CSS\n- **API**: Next.js Route Handlers (REST)\n- **Documentation**: Scalar\n- **Testing**: Vitest\n- **CI/CD**: GitHub Actions\n- **Hosting**: Vercel\n\n## 4. Getting Started\n\n```bash\n# Clone the repository\ngit clone https://github.com/natuleadan/nla-template.git\n\n# Install dependencies\npnpm install\n\n# Configure environment variables\ncp .env.example .env.local\n\n# Run development server\npnpm dev\n```\n\n## 5. Environment Variables\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `API_KEY` | API key for protected endpoints | (required) |\n| `NEXT_PUBLIC_BASE_URL` | Base URL of the application | http://localhost:3000 |\n| `NEXT_PUBLIC_WHATSAPP_NUMBER` | WhatsApp number for orders | 1234567890 |\n\n## 6. API Endpoints\n\n| Category | Endpoints |\n|----------|-----------|\n| `products` | GET, POST, PUT, DELETE |\n| `products/[slug]` | GET, POST, PUT, DELETE |\n| `categories` | GET, POST, PUT, DELETE |\n| `pages` | GET, POST, PUT, DELETE |\n| `formulario` | GET, POST, PUT, DELETE |\n| `resenas` | GET, POST, PUT, DELETE |\n| `inventario` | GET, POST, PUT, DELETE |\n| `pedidos` | GET, POST, PUT, DELETE |\n\n### Authentication\n\nPOST/PUT/DELETE endpoints require the header:\n```\nx-api-key: your_api_key\n```\n\n## 7. Available Scripts\n\n| Script | Description |\n|--------|-------------|\n| `pnpm dev` | Start development server |\n| `pnpm build` | Build for production |\n| `pnpm start` | Start production server |\n| `pnpm lint` | Run ESLint |\n| `pnpm test` | Run tests |\n\n## 8. Project Structure\n\n```\napp/\n├── api/              # REST API endpoints\n│   └── v1/          # API v1 (8 categories)\ncomponents/\n├── ui/               # shadcn/ui components\n├── layout/           # Navbar, Footer\n├── products/         # ProductCard, ProductDetails\nlib/\n├── config/           # Environment variables\n└── modules/          # Business logic\n    ├── products/     # Product management\n    ├── reviews/      # Reviews\n    ├── inventory/    # Inventory\n    └── scalar/      # API documentation\npublic/\n├── design/          # Icons and placeholders\n└── store/           # Product images\n```\n\n## 9. License\n\nMIT License\n\nCopyright (c) 2026 NATULEADAN SAS BIC\n\n---\n\n## 10. Contributors\n\nDeveloped by [Leonardo Jara](https://github.com/leojara95).\n\nThanks to all contributors:\n\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://github.com/natuleadan\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/210283438?v=4\u0026s=48\" width=\"48\" height=\"48\" alt=\"natuleadan\" title=\"natuleadan\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/leojara95\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/268038834?v=4\u0026s=48\" width=\"48\" height=\"48\" alt=\"leojara95\" title=\"leojara95\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Star History\n\n\u003ca href=\"https://www.star-history.com/?repos=natuleadan%2Fnla-template\u0026type=date\u0026legend=top-left\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/image?repos=natuleadan/nla-template\u0026type=date\u0026theme=dark\u0026legend=top-left\" /\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/image?repos=natuleadan/nla-template\u0026type=date\u0026theme=light\u0026legend=top-left\" /\u003e\n    \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/image?repos=natuleadan/nla-template\u0026type=date\u0026legend=top-left\" /\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatuleadan%2Fnla-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatuleadan%2Fnla-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatuleadan%2Fnla-template/lists"}