Skip to content

Commit

Permalink
Merge pull request #2287 from dfinity/link-fix
Browse files Browse the repository at this point in the history
Fix links in Sample Overview page
  • Loading branch information
jessiemongeon1 authored Dec 14, 2023
2 parents f6f61df + 2fe8e22 commit baa15fe
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions docs/samples/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,53 +5,53 @@ Take a look at some sample dapps below and see the possibilities of building on
## Hello, world!

The dapp equivalent of 'Hello, World!' with a separate backend and frontend canister serving a web page.
- [Documentation](./hello).
- [Documentation](/docs/current/samples/hello).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/hello).
- [Rust](https://github.com/dfinity/examples/tree/master/rust/hello).
- [See a running example](https://6lqbm-ryaaa-aaaai-qibsa-cai.ic0.app/).

## Actor classes

A sample dapp that shows a dynamic actor (class) instantiation.
- [Documentation](./actor-classes).
- [Documentation](/docs/current/samples/actor-classes).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/classes).

## Actor reference

A simple dapp that hows the management canister as an actor (reference).
- [Documentation](./actor-reference).
- [Documentation](/docs/current/samples/actor-reference).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/actor_reference).

## Calculator

This example demonstrates a basic calculator dapp. It uses an orthogonally persistent cell variable to store an arbitrary precision integer that represents the result of the most recent calculation.
- [Documentation](./calculator).
- [Documentation](/docs/current/samples/calculator).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/calc).

## Certified variables

This dapp provides a frontend and a backend that shows a simple certified variable (a single 32-bit number), with client-side certificate validation.
- [Documentation](./cert-var).
- [Documentation](/docs/current/samples/cert-var).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/cert-var)

## Counter

A simple dapp that shows a basic (stable) variable demo.
- [Documentation](./counter).
- [Documentation](/docs/current/samples/counter).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/counter)

## Basic decentralized autonomous organization (DAO)

Decentralized governance is highlight of ICP and is illustrated by the basic DAO sample code. It illustrates how to initialize a set of accounts and corresponding tokens, how account owners can submit proposals for other account owners to vote on, and how a proposal is executed given enough favorable votes.
- [Documentation](./dao).
- [Documentation](/docs/current/samples/dao).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/basic_dao).
- [Rust](https://github.com/dfinity/examples/tree/master/rust/basic_dao).
- [YouTube tutorial](https://youtu.be/3IcYlieA-EE).

## Basic decentralized exchange (DEX)

To enable DeFi applications on ICP, canisters need to interact with token canisters and the ledger canister. This example dapp illustrates these interactions by showing how to enable an Exchange to take custody of funds, update an internal balance book as users trade, and give custody back to the user as funds are withdrawn.
- [Documentation](./dex).
- [Documentation](/docs/current/samples/dex).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/defi).
- [Rust](https://github.com/dfinity/examples/tree/master/rust/defi).
- [See a running example](https://gzz56-daaaa-aaaal-qai2a-cai.ic0.app/).
Expand All @@ -63,7 +63,7 @@ Create, access, modify confidential notes from multiple devices using [Internet
1. Client-side, end-to-end encryption.
2. Multi-user and multi-device support.

- [Documentation](./encrypted-notes).
- [Documentation](/docs/current/samples/encrypted-notes).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/encrypted-notes-dapp/src/encrypted_notes_motoko).
- [Rust](https://github.com/dfinity/examples/tree/master/motoko/encrypted-notes-dapp/src/encrypted_notes_rust).
- [See a running example](https://cvhrw-2yaaa-aaaaj-aaiqa-cai.ic0.app/).
Expand All @@ -72,148 +72,148 @@ Create, access, modify confidential notes from multiple devices using [Internet
## Echo

This sample dapp gives a basic query function demo.
- [Documentation](./echo).
- [Documentation](/docs/current/samples/echo).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/echo).

## Factorial

This sample dapp shows a basic factorial demo.
- [Documentation](./factorial).
- [Documentation](/docs/current/samples/factorial).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/factorial).

## Game of Life
A dapp sample that demonstrates Conway’s [Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life), running in a Motoko canister. Demonstrates upgrades among three versions and state migration using stable variables.
- [Documentation](./game-of-life).
- [Documentation](/docs/current/samples/game-of-life).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/life).

## HTTP counter
The example demonstrates a counter dapp and an HTTP interface. It is essentially an iteration on the counter canister which adds native HTTP interfaces.
- [Documentation](./http-counter).
- [Documentation](/docs/current/samples/http-counter).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/http_counter).

## Hosting a static website

This tutorial shows how to quickly set up a static website structure, add content and basic styling, and deploy to ICP.
- [Documentation](./host-a-website).
- [Documentation](/docs/current/samples/host-a-website).
- [YouTube tutorial](https://www.youtube.com/watch?v=JAQ1dkFvfPI).

## Hosting a web game

The example shows how to deploy a web game on ICP, sample code can be found at [samples repo](https://github.com/dfinity/examples/tree/master/hosting).
- [Documentation](./host-a-webgame).
- [Documentation](/docs/current/samples/host-a-webgame).

## ICP transfer

This sample code demonstrates how a dapp can transfer ICP to its most active users.
- [Documentation](./token-transfer).
- [Documentation](/docs/current/samples/token-transfer).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/ledger-transfer).
- [Rust](https://github.com/dfinity/examples/tree/master/rust/tokens_transfer).

## Internet Identity integration

- [Documentation](./internet-identity-sample).
- [Documentation](/docs/current/samples/internet-identity-sample).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/internet_identity_integration).
- [Unity mobile integration](./native-app-integration).

## Invoice canister

- [Documentation](./invoice-canister).
- [Documentation](/docs/current/samples/invoice-canister).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/invoice-canister).

## Minimal counter dapp

The example dapp shows how to build a very basic dapp with both backend and frontend, using Motoko for the backend functionality and plain HTML and JavaScript for the frontend. The dapp is a simple counter, which will increment a counter by clicking a button in the frontend.

- [Documentation](./minimal-counter-dapp).
- [Documentation](/docs/current/samples/minimal-counter-dapp).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/minimal-counter-dapp).

## NFT minting

This NFT minting dapp showcases how easy it can be to create a user generated NFT and share it. This dapp uses the [DIP721](https://github.com/Psychedelic/DIP721) NFT standard.
- [Documentation](./nft).
- [Documentation](/docs/current/samples/nft).
- [Rust](https://github.com/dfinity/examples/tree/master/rust/dip721-nft-container).
- [YouTube tutorial](https://youtu.be/1po3udDADp4).

## NFT wallet
This is an NFT wallet example dapp that utilizes minted NFTs from the Rust dip721-nft-container. Among some of its essential features, the wallet can register NFTs, transfer out NFTs and check how many NFTs it contains. This dapp includes a frontend UI for interaction.

- [Documentation](./nft-wallet).
- [Documentation](/docs/current/samples/nft-wallet).
- [Rust](https://github.com/dfinity/examples/tree/master/rust/nft-wallet).

## Periodic tasks

This example demonstrates different ways of scheduling periodic tasks on the Internet Computer: timers and heartbeats. The example shows the difference between the two, and helps to decide which method suits you the best.
- [Documentation](./periodic-tasks.md).
- [Documentation](/docs/current/samples/periodic-tasks).
- [Rust](https://github.com/dfinity/examples/tree/master/rust/periodic_tasks).

## Persistent storage

The example dapp shows how to build a simple dapp in Motoko, which will have persistent storage. The dapp is a simple counter, which will increment a counter, retrieve the counter value and reset the counter value by calling backend functions. The functions are exposed through a Candid interface.

- [Documentation](./persistent-storage).
- [Documentation](/docs/current/samples/persistent-storage).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/persistent-storage).

## Phone book

This simple dapp is a CRUD-like demo service for storing pieces of related information, such as names and phone numbers.
- [Documentation](./phonebook).
- [Documentation](/docs/current/samples/phonebook).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/phone-book).

## Point of sale (POS)

This app demonstrates a real world use case for [ckBTC](https://internetcomputer.org/docs/current/developer-docs/integrations/bitcoin/ckbtc/) on the Internet Computer. It is a simple point of sale app that allows users to charge customers using ckBTC. It also demonstrates the [HTTPS outcall](https://internetcomputer.org/docs/current/developer-docs/integrations/https-outcalls/) functionality by sending notifications to users when a payment is received.

- [Documentation](./pos).
- [Documentation](/docs/current/samples/pos).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/ic-pos).
- [See a running example](https://hngac-6aaaa-aaaal-qb6tq-cai.icp0.io/).

## PubSub

This sample shows multiple canisters, with publisher-subscriber inter-canister calls.
- [Documentation](./pub-sub).
- [Documentation](/docs/current/samples/pub-sub).
- [PubSub](https://github.com/dfinity/examples/tree/master/motoko/pub-sub).

## Quicksort

This example shows how to sort an array, via quicksort, in Motoko.
- [Documentation](./quicksort).
- [Documentation](/docs/current/samples/quicksort).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/quicksort).

## QR code generator

This example shows that an Internet Computer dapp can perform a long-running computation, like image processing, in a single message execution which is possible due to a unique feature called Deterministic Time Slicing (DTS) that automatically divides long computations into smaller slices executed across multiple blocks.

- [Documentation](qr-code).
- [Documentation](/docs/current/samples/qr-code).
- [Rust](https://github.com/dfinity/examples/tree/master/rust/qrcode).

## Random maze

This sample shows how to create a simple frontend in JavaScript where the previous samples did not provide a frontend, this sample provides both a frontend and a backend. It creates a random maze generation, with ICP-based randomness.
- [Documentation](./random-maze).
- [Documentation](/docs/current/samples/random-maze).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/random_maze).

## Sending and receiving cycles

This sample dapp illustrates how to receive and transfer cycles and check a balance.
- [Documentation](./sending-and-receiving-cycles).
- [Documentation](/docs/current/samples/sending-and-receiving-cycles).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/hello_cycles).

## Simple to-do

This sample is a CRUD-like demo service, sans a front end; see also: phone book and superheroes.
- [Documentation](./simple-to-do).
- [Documentation](/docs/current/samples/simple-to-do).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/simple-to-do).

## Superheros

This example is a simple CRUD dapp.
- [Documentation](./superheros).
- [Documentation](/docs/current/samples/superheros).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/superheroes).

## Who am I?

This dapp is a simple canister that reports the Principal of its caller.
- [Documentation](./whoami).
- [Documentation](/docs/current/samples/whoami).
- [Motoko](https://github.com/dfinity/examples/tree/master/motoko/whoami).

## Explore further samples in Motoko
Expand Down

0 comments on commit baa15fe

Please sign in to comment.