{"id":24003318,"url":"https://github.com/carllosnc/one-stack","last_synced_at":"2026-05-09T07:01:56.451Z","repository":{"id":271172450,"uuid":"912585141","full_name":"carllosnc/one-stack","owner":"carllosnc","description":"fast way to prototype full stack apps with Next.js, React, Tailwind, and Drizzle ORM","archived":false,"fork":false,"pushed_at":"2025-01-27T19:38:10.000Z","size":265,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-27T19:52:12.070Z","etag":null,"topics":["bun","drizzle-orm","nextjs","sqlite","typescript"],"latest_commit_sha":null,"homepage":"","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/carllosnc.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":"2025-01-06T01:05:37.000Z","updated_at":"2025-01-27T19:38:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d60b799-8ad0-4674-a75f-6573baabcbbd","html_url":"https://github.com/carllosnc/one-stack","commit_stats":null,"previous_names":["carllosnc/one-stack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carllosnc%2Fone-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carllosnc%2Fone-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carllosnc%2Fone-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carllosnc%2Fone-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carllosnc","download_url":"https://codeload.github.com/carllosnc/one-stack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240647310,"owners_count":19834772,"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":["bun","drizzle-orm","nextjs","sqlite","typescript"],"created_at":"2025-01-08T01:09:59.157Z","updated_at":"2026-05-09T07:01:56.446Z","avatar_url":"https://github.com/carllosnc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![One Stack](https://github.com/carllosnc/one-stack/actions/workflows/bun.yml/badge.svg)](https://github.com/carllosnc/one-stack/actions/workflows/bun.yml)\n\n# One Stack\n\n\u003efast way to prototype full stack apps with Next.js, React, Tailwind, and Drizzle ORM\n\n## What's in the box?\n\n- Next.js 15\n- React 19\n- Tailwind CSS\n- Drizzle ORM\n- Auth.js\n- Bun\n- Shadcn/ui\n\n## First steps\n\nBefore you start, you need to create a `.env.local` file in the root of the project and add the following variables:\n\n**Turso database connection**\n```\nNEXT_PUBLIC_TURSO_DATABASE_URL=\"\"\nNEXT_PUBLIC_TURSO_AUTH_TOKEN=\"\"\n```\n**Auth.js config**\n```\nAUTH_DRIZZLE_URL=\"\"\nAUTH_SECRET=\"\"\n```\n**Google auth config**\n```\nAUTH_GOOGLE_ID=\"\"\nAUTH_GOOGLE_SECRET=\"\"\n```\n\n**Generate auth secret**\n\n```bash\nbunx auth secret\n```\n\nGoogle auth is the default auth provider.\n\n## Development\n\n**Database**\n\nTo start the database, you need to run the following command:\n\n```bash\nturso dev\n```\n\nThis will start the database in development mode. To more details about turso, you can check the [turso documentation](https://docs.turso.tech/introduction).\n\n\n**Database generation and migration**\n\nTo generate the database schema and run the migration, you need to run the following commands:\n\nGeneration\n```bash\nbun run db:generate\n```\n\nMigration\n```bash\nbun run db:migrate\n```\n\nDrizzle studio\n```bash\nbun run db:studio\n```\n\nThe commands above are abstraction of drizzle-kit commands, you can check the [drizzle-kit documentation](https://orm.drizzle.team/docs/kit-overview) for more details.\n\n**Server**\n\nTo start the server:\n\n```bash\nbun run dev\n```\n\n## Test\n\nTo run the tests:\n\n```bash\nbun run test\n```\n\nThis commands is configured to run with the correct environment variables file.\n\n---\n\nCarlos Costa @ 2025\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarllosnc%2Fone-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarllosnc%2Fone-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarllosnc%2Fone-stack/lists"}