{"id":22812848,"url":"https://github.com/nishantcoder108/dcrud","last_synced_at":"2025-03-30T21:41:53.872Z","repository":{"id":264967825,"uuid":"875345523","full_name":"NishantCoder108/dcrud","owner":"NishantCoder108","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-19T18:17:53.000Z","size":182,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T18:17:04.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/NishantCoder108.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-10-19T18:17:50.000Z","updated_at":"2024-10-19T18:17:57.000Z","dependencies_parsed_at":"2024-11-27T02:03:40.824Z","dependency_job_id":"611a10e0-ea75-4f36-8036-73eca0627852","html_url":"https://github.com/NishantCoder108/dcrud","commit_stats":null,"previous_names":["nishantcoder108/dcrud"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishantCoder108%2Fdcrud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishantCoder108%2Fdcrud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishantCoder108%2Fdcrud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishantCoder108%2Fdcrud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NishantCoder108","download_url":"https://codeload.github.com/NishantCoder108/dcrud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246385406,"owners_count":20768668,"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-12-12T12:13:59.353Z","updated_at":"2025-03-30T21:41:53.846Z","avatar_url":"https://github.com/NishantCoder108.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dcrud\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/counter-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%2Fnishantcoder108%2Fdcrud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnishantcoder108%2Fdcrud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnishantcoder108%2Fdcrud/lists"}