This is a whoami
example intended to demonstrate how an Internet Computer developer might integrate with the dfinity/internet-identity. The demo is currently focus on showing how to test the internet_identity
canister functions in a local environment.
This demo is inspired by the krpeacock/auth-client-demo), and the code in this demo can serve as a complement to it. You may learn from this demo if your project is:
- create from the
dfx new
command with a two canisters (front-end & back-end) structure. - using
Rust
as back-end language - intended to integrate the
React
framework - intended to integrate
Tailwind CSS
- having some errors when following other tutorials
Clone the project and use the following commands:
# Starts the replica, running in the background
dfx start --background
# Deploys your canisters to the replica and generates your candid interface
dfx deploy
Once the job completes, you can see the urls for each of the canisters in your console.
To get started, you might want to explore the project directory structure and the default configuration file. Working with this project in your development environment will not affect any production deployment or identity tokens.
To learn more before you start working with whoami, see the following documentation available online:
- Quick Start
- SDK Developer Tools
- Rust Canister Devlopment Guide
- ic-cdk
- ic-cdk-macros
- Candid Introduction
- JavaScript API Reference
If you want to start working on your project right away, you might want to try the following commands:
cd whoami/
dfx help
dfx canister --help