Skip to content
forked from dfinity/examples

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

License

Notifications You must be signed in to change notification settings

hokosugi/examples

This branch is 1239 commits behind dfinity/examples:master.

Folders and files

NameName
Last commit message
Last commit date
Aug 17, 2023
Oct 21, 2020
Jul 3, 2023
Oct 2, 2023
Sep 8, 2023
Jul 3, 2023
Sep 25, 2023
Jul 3, 2023
Sep 9, 2022
Nov 11, 2022
Dec 5, 2022
Jan 20, 2022
Feb 3, 2020
Feb 1, 2021
Nov 9, 2022

Repository files navigation

DFINITY Examples for the Internet Computer

This repository provides access to sample code, applications, and microservices that run on the Internet Computer platform.

From this repository, you can download, clone, fork, or share sample projects.

Sample projects provide a way for you to experiment and collaborate with other developers. The projects and sample code are not, however, intended to be used as commercial applications and do not provide any explicit or implied support or warranty of any kind.

To get started:

  1. Open a terminal shell on your local computer.

  2. Download the DFINITY Canister SDK, if needed:

    sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
    
  3. Select a language—for example, c or motoko—to explore the examples available in the language of your choice.

  4. Clone the repository to download the examples repo to your local workspace.

  5. Open the project folder for the example you want to use.

  6. Start a local internet computer replica by running the following command:

    dfx start
    
  7. Open a new terminal shell on your local computer.

  8. Build the sample project by running the following command:

    dfx build
    

Security Considerations and Security Best Practices

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

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Motoko 29.3%
  • JavaScript 28.6%
  • Rust 10.4%
  • HTML 8.1%
  • TypeScript 7.1%
  • Svelte 7.0%
  • Other 9.5%