{"id":27401274,"url":"https://github.com/edjcase/typescript_pds_ic","last_synced_at":"2025-04-14T03:54:38.255Z","repository":{"id":272334523,"uuid":"916245570","full_name":"edjCase/typescript_pds_ic","owner":"edjCase","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-13T18:23:58.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T19:32:02.737Z","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/edjCase.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":"2025-01-13T18:18:13.000Z","updated_at":"2025-01-13T18:24:01.000Z","dependencies_parsed_at":"2025-01-13T19:32:37.627Z","dependency_job_id":"a74e051f-cf8e-4a81-baf4-5f1191effb93","html_url":"https://github.com/edjCase/typescript_pds_ic","commit_stats":null,"previous_names":["edjcase/typescript_pds_ic"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edjCase%2Ftypescript_pds_ic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edjCase%2Ftypescript_pds_ic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edjCase%2Ftypescript_pds_ic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edjCase%2Ftypescript_pds_ic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edjCase","download_url":"https://codeload.github.com/edjCase/typescript_pds_ic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819370,"owners_count":21166474,"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":"2025-04-14T03:54:37.633Z","updated_at":"2025-04-14T03:54:38.242Z","avatar_url":"https://github.com/edjCase.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azle Hello World\n\n- [Installation](#installation)\n- [Deployment](#deployment)\n\nAzle helps you to build secure decentralized/replicated servers in TypeScript or JavaScript on [ICP](https://internetcomputer.org/). The current replication factor is [13-40 times](https://dashboard.internetcomputer.org/subnets).\n\nPlease remember that Azle is in beta and thus it may have unknown security vulnerabilities due to the following:\n\n- Azle is built with various software packages that have not yet reached maturity\n- Azle does not yet have multiple independent security reviews/audits\n- Azle does not yet have many live, successful, continuously operating applications deployed to ICP\n\n## Installation\n\n\u003e Windows is only supported through a Linux virtual environment of some kind, such as [WSL](https://learn.microsoft.com/en-us/windows/wsl/install)\n\nYou will need [Node.js 20](#nodejs-20) and [dfx](#dfx) to develop ICP applications with Azle:\n\n### Node.js 20\n\nIt's recommended to use nvm to install Node.js 20:\n\n```bash\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash\n```\n\nRestart your terminal and then run:\n\n```bash\nnvm install 20\n```\n\nCheck that the installation went smoothly by looking for clean output from the following command:\n\n```bash\nnode --version\n```\n\n### dfx\n\nInstall the dfx command line tools for managing ICP applications:\n\n```bash\nDFX_VERSION=0.22.0 sh -ci \"$(curl -fsSL https://internetcomputer.org/install.sh)\"\n```\n\nCheck that the installation went smoothly by looking for clean output from the following command:\n\n```bash\ndfx --version\n```\n\n## Deployment\n\nTo create and deploy a simple sample application called `hello_world`:\n\n```bash\n# create a new default project called hello_world\nnpx azle new hello_world --http-server --experimental\ncd hello_world\n```\n\n```bash\n# install all npm dependencies including azle\nnpm install\n```\n\n```bash\n# start up a local ICP replica\ndfx start --clean\n```\n\nIn a separate terminal in the `hello_world` directory:\n\n```bash\n# deploy your canister\ndfx deploy\n```\n\nIf you would like your canister to autoreload on file changes:\n\n```bash\nAZLE_AUTORELOAD=true dfx deploy\n```\n\nView your frontend in a web browser at `http://[canisterId].raw.localhost:8000`.\n\nTo obtain your application's [canisterId]:\n\n```bash\ndfx canister id backend\n```\n\nCommunicate with your canister using any HTTP client library, for example using `curl`:\n\n```bash\ncurl http://[canisterId].raw.localhost:8000/db\ncurl -X POST -H \"Content-Type: application/json\" -d \"{ \\\"hello\\\": \\\"world\\\" }\" http://[canisterId].raw.localhost:8000/db/update\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedjcase%2Ftypescript_pds_ic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedjcase%2Ftypescript_pds_ic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedjcase%2Ftypescript_pds_ic/lists"}