linkedup
linkedup copied to clipboard
An open professional network.
LinkedUp - An open professional network.
The LinkedUp sample application provides a simple implementation of an open professional network that demonstrates how to use inter-canister calls within a project.
In the LinkedUp sample application, there are two canisters:
- The
linkedupcanister creates and stores basic profile information for a user, including work experience and educational background. - The
connectdcanister creates and stores a user's connections.
Before you begin
Before building the sample application, verify the following:
- You have downloaded and installed the DFINITY Canister SDK as described in Download and install.
- You have stopped any Internet Computer network processes running on the local computer.
Demo
-
Clone the
linkeduprepository. -
Change to the local
linkedupworking directory.cd linkedup -
Install the required node modules (only needed the first time).
npm install -
Open the
dfx.jsonfile in a text editor and verify thedfxsetting has same the version number as thedfxexecutable you have installed. -
Start the replica.
dfx start --background -
Register unique canister identifiers for the
linkedupproject by running the following command:dfx canister create --all -
Build the application by running the following command:
dfx build -
Deploy the application on the local network by running the following command:
dfx canister install --all -
Copy the canister identifier for the
linkedup_assetscanister (you can usedfx canister id linkedup_assets). -
Open the
linkedup_assetscanister frontend in your web browser.For example, if using the default localhost address and port number, the URL looks similar to this:
http://localhost:8000/?canisterId=7kncf-oidaa-aaaaa-aaaaa-aaaaa-aaaaa-aaaaa-q