Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Example applications, microservices, and code samples for the Internet Computer

License

NotificationsYou must be signed in to change notification settings

dfinity/examples

Repository files navigation

Get started building on ICP with the sample applications in this repository. From this repository, you can deploy, download, clone, fork, or share sample projects.

The projects in this repository are not intended to be used as commercial applications and do not provide any explicit or implied support or warranty of any kind.

You can also contribute your own project or suggest updates to published projects using the standard GitHub workflow.

Sample applications

Code samples are organized by programming language:

Some examples include frontends written in a variety of frameworks, such as React, JavaScript, etc.

Additional frontend samples can be found in the following folders:

Deploying samples

ICP Ninja

You can open and deploy examples withICP Ninja, a web-based tool that allows you to create and manage Internet Computer projects without downloading any tools or setting up a local environment.

To contribute an example that will be featured on ICP Ninja, check out theNINJA_CONTRIBUTING.md file.

GitHub Codespaces or Gitpod

This repo can be opened in a web-based developer environment such asGitHub Codespaces orGitpod, allowing you to edit and deploy the sample projects without downloading any tools or setting up a local environment.

Get started with GitHub codespaces.

Get started with Gitpod.

dfx

dfx is a command-line tool used to create, deploy. and manage projects on ICP. To download and use dfx with this examples repo, run the following commands locally (macOS/Linux systems):

git clone https://github.com/dfinity/examples.gitcd examplessh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"

Then, navigate into the folder of the sample that you want to use and follow the project's README instructions to setup and deploy the sample code.

Resources

Security considerations and best practices

If you base your application on one of these examples, we recommend you familiarize yourself with and adhere to thesecurity best practices for developing on the Internet Computer. The examples provided here may not implement all the best practices.


[8]ページ先頭

©2009-2025 Movatter.jp