{"id":24064638,"url":"https://github.com/crissalvarezh/nextjs-template","last_synced_at":"2026-05-15T09:33:52.267Z","repository":{"id":253322150,"uuid":"843151698","full_name":"CrissAlvarezH/nextjs-template","owner":"CrissAlvarezH","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-17T22:13:46.000Z","size":703,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T23:23:56.960Z","etag":null,"topics":["drizzle-orm","lucia-auth","nextjs14","postgresql"],"latest_commit_sha":null,"homepage":"https://nextjs-template-six-beryl.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CrissAlvarezH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-08-15T22:28:04.000Z","updated_at":"2025-01-17T22:13:47.000Z","dependencies_parsed_at":"2024-08-15T23:46:06.287Z","dependency_job_id":"4cb13e4e-d931-43d3-91a5-b4ce47e5cb44","html_url":"https://github.com/CrissAlvarezH/nextjs-template","commit_stats":null,"previous_names":["crissalvarezh/nextjs-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrissAlvarezH%2Fnextjs-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrissAlvarezH%2Fnextjs-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrissAlvarezH%2Fnextjs-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrissAlvarezH%2Fnextjs-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CrissAlvarezH","download_url":"https://codeload.github.com/CrissAlvarezH/nextjs-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240907852,"owners_count":19876691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["drizzle-orm","lucia-auth","nextjs14","postgresql"],"created_at":"2025-01-09T10:39:31.427Z","updated_at":"2026-05-15T09:33:52.260Z","avatar_url":"https://github.com/CrissAlvarezH.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Go to [app-template.alvarezcristian.com](https://app-template.alvarezcristian.com) to see the demo\n\n## Description\n\nNextjs project with the following services integrated:\n- [shadcn/ui](https://ui.shadcn.com/) (UI components library)\n- [next-safe-action](https://next-safe-action.dev/), [zod](https://zod.dev/) (Type safe and validated server actions)\n- [Drizzle](https://orm.drizzle.team/) (ORM with Postgres driver)\n- Custom session management, [Arctic](https://arctic.js.org/) (Email/Password and Google)\n- [Resend emails](https://resend.com/) (Send emails)\n- [React email](https://react.email/) (Create beautiful emails)\n- [AWS S3](https://www.npmjs.com/package/@aws-sdk/client-s3) (File management)\n- [React hook form](https://react-hook-form.com/) (Create forms)\n- [t3-env](https://github.com/t3-oss/t3-env) (Environment variables management)\n- [thumbhash](https://github.com/evanw/thumbhash) (Create image thumbnails hashes blured)\n- [Sentry](https://sentry.io/welcome/?utm_source=google\u0026utm_medium=cpc\u0026utm_id=%7B20403208976%7D\u0026utm_campaign=Google_Search_Brand_SentryKW_ROW_Alpha\u0026utm_content=g\u0026utm_term=sentry\u0026gad_source=1\u0026gclid=CjwKCAjwpbi4BhByEiwAMC8JnScrS_BD5dTH7Z01RQvKfsQShaDWoDV8hawnKB49PgAzES-YNKJWcRoCu_cQAvD_BwE) (Error monitoring)\n\n## Architecture\n\nThere are 4 main layers:\n\n![architecture](https://raw.githubusercontent.com/CrissAlvarezH/nextjs-template/refs/heads/main/docs/arc-layers.png)\n\n## Run locally\n\n### 1. Setup environment variables\n\nCreate a `.env` file copying `.env.example` and set your own variables\n```shell\ncp .env.example .env\n```\n\n### 2. Run postgres container\n\nYou can use `docker-compose` to that, just run\n\n```shell\ndocker-compose up\n```\n\n### 3. Run database migrations\n```shell\nnpm run db:migrate\n```\n\n### 4. Run app\n```shell\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrissalvarezh%2Fnextjs-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrissalvarezh%2Fnextjs-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrissalvarezh%2Fnextjs-template/lists"}