{"id":21870011,"url":"https://github.com/solana-developers/template-next-tailwind-basic","last_synced_at":"2025-10-08T16:32:39.987Z","repository":{"id":258633124,"uuid":"855329246","full_name":"solana-developers/template-next-tailwind-basic","owner":"solana-developers","description":"Template for Create Solana dApp using Next.js, Tailwind and a basic Anchor program","archived":false,"fork":false,"pushed_at":"2025-01-10T18:33:42.000Z","size":158,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-10T19:37:25.679Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/solana-developers/create-solana-dapp","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/solana-developers.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2024-09-10T17:33:26.000Z","updated_at":"2025-01-10T18:33:44.000Z","dependencies_parsed_at":"2024-10-19T23:16:16.080Z","dependency_job_id":"0652953f-b78b-4770-b97c-0bc20c8c6eec","html_url":"https://github.com/solana-developers/template-next-tailwind-basic","commit_stats":null,"previous_names":["solana-developers/template-next-tailwind-basic"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-developers%2Ftemplate-next-tailwind-basic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-developers%2Ftemplate-next-tailwind-basic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-developers%2Ftemplate-next-tailwind-basic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-developers%2Ftemplate-next-tailwind-basic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solana-developers","download_url":"https://codeload.github.com/solana-developers/template-next-tailwind-basic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235733747,"owners_count":19036953,"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":[],"created_at":"2024-11-28T06:09:57.483Z","updated_at":"2025-10-08T16:32:39.982Z","avatar_url":"https://github.com/solana-developers.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# template-next-tailwind-basic\n\n\u003e [!WARNING]  \nTemplates for create-solana-dapp have moved to [this repo](https://github.com/solana-developers/solana-templates).\n\n## Getting Started\n\n### Prerequisites\n\n- Node v18.18.0 or higher\n\n- Rust v1.77.2 or higher\n- Anchor CLI 0.30.1 or higher\n- Solana CLI 1.18.17 or higher\n\n### Installation\n\n#### Clone the repo\n\n```shell\ngit clone \u003crepo-url\u003e\ncd \u003crepo-name\u003e\n```\n\n#### Install Dependencies\n\n```shell\npnpm install\n```\n\n#### Start the web app\n\n```\npnpm dev\n```\n\n## Apps\n\n### anchor\n\nThis is a Solana program written in Rust using the Anchor framework.\n\n#### Commands\n\nYou can use any normal anchor commands. Either move to the `anchor` directory and run the `anchor` command or prefix the command with `pnpm`, eg: `pnpm anchor`.\n\n#### Sync the program id:\n\nRunning this command will create a new keypair in the `anchor/target/deploy` directory and save the address to the Anchor config file and update the `declare_id!` macro in the `./src/lib.rs` file of the program.\n\nYou will manually need to update the constant in `anchor/lib/basic-exports.ts` to match the new program id.\n\n```shell\npnpm anchor keys sync\n```\n\n#### Build the program:\n\n```shell\npnpm anchor-build\n```\n\n#### Start the test validator with the program deployed:\n\n```shell\npnpm anchor-localnet\n```\n\n#### Run the tests\n\n```shell\npnpm anchor-test\n```\n\n#### Deploy to Devnet\n\n```shell\npnpm anchor deploy --provider.cluster devnet\n```\n\n### web\n\nThis is a React app that uses the Anchor generated client to interact with the Solana program.\n\n#### Commands\n\nStart the web app\n\n```shell\npnpm dev\n```\n\nBuild the web app\n\n```shell\npnpm build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolana-developers%2Ftemplate-next-tailwind-basic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolana-developers%2Ftemplate-next-tailwind-basic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolana-developers%2Ftemplate-next-tailwind-basic/lists"}