https://github.com/shubhamatkal/web-development-notes-angela-yu-course-from-udemy
This contains notes for Complete web development course , by angela yu which is available on udemy
https://github.com/shubhamatkal/web-development-notes-angela-yu-course-from-udemy
angela-yu notes udemy-course webdevelopment
Last synced: 3 months ago
JSON representation
This contains notes for Complete web development course , by angela yu which is available on udemy
- Host: GitHub
- URL: https://github.com/shubhamatkal/web-development-notes-angela-yu-course-from-udemy
- Owner: shubhamatkal
- Created: 2023-12-13T02:50:34.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-13T02:59:56.000Z (almost 2 years ago)
- Last Synced: 2025-06-10T05:44:27.167Z (5 months ago)
- Topics: angela-yu, notes, udemy-course, webdevelopment
- Language: JavaScript
- Homepage:
- Size: 7.56 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Copyright 2022 London App Brewery LTD (www.appbrewery.com)
The code in this tutorial project is licended under the Apache License, Version 2.0 (the "License");
you may not use this project except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Here is the TL;DR version of the above licence:
https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)
# To Deploy
1. Find out your principal id:
```
dfx identity get-principal
```
2. Replace the in main.mo with the principal you got from step 1.
```
let owner : Principal = Principal.fromText("");
```
3. Open up a new terminal in this VSCode project and deploy the token canister:
```
dfx deploy
```
4. Start the frontend:
```
npm start
```
5. Set the canister id to a local variable:
```
CANISTER_PUBLIC_KEY="principal \"$( \dfx canister id token )\""
```
6. Transfer half a billion tokens to the canister Principal ID:
```
dfx canister call token transfer "($CANISTER_PUBLIC_KEY, 500_000_000)"
```
7. Claim the tokens from the faucet on the frontend website.
8. Get token canister id:
```
dfx canister id token
```