Welcome to Day 3 of the Motoko Bootcamp. As we near the middle of the week, we hope you're all advancing, acquiring new skills, and enjoying the journey.
Today, we'll address the essential building blocks for creating an application on the Internet Computer: CRUD operations and authentication.
It's vital to master the topics we'll explore today. If you need assistance, don't hesitate to reach out to your teammates or mentors. Remember, we're all here to learn, share a laugh, and support one another. 😉
Be sure to consult the calendar for the precise schedule of each lecture.
Title | Mentor | Description |
---|---|---|
Motoko: HashMap & CRUD | Ricardo | This lecture covers CRUD operations on canisters, which involve managing data through Create, Read, Update, and Delete operations. |
Frontend, authentication and Internet Identity | Kyle | In this lecture you'll understand how to connect your canister to a frontend using the JavaScript agent. |
When starting your day use this list as a guide, it contains all the material that you need to read and the challenges you need to tackle.
- Read Chapter 3: Primitive Types
- Read Chapter 6: Storing data in data structures
- Read Chapter 7: Non-primitives types.
- Read Chapter 8: Advanced types
- Read Chapter 9: Handling errors
- Read Chapter 10: Identity on the Internet Computer in full.
- Read Appendix 3: A new chapter in digital identity: Internet Identity
- Complete the project of the day.
Before finishing your day, review the following list and ensure that you have addressed each item on it. It's important that you have a clear understanding of all these concepts. Why not try explaining them to one of your teammate to gauge your level of understanding?
- Understanding that mutable state cannot be shared between actors.
- Getting familiar with more advanced types such: Optional & Generic types.
- Getting familiar with using data structures such as: HashMap and TrieMap.
- Understanding what is a Principal, how it's used on the Internet Computer and being able to manipulate the primitive type
Principal
in Motoko. - Understanding how to interact with a canister using the JavaScript agent.
- Understanding how to use Internet Identity as an authentication service and how it works.
The Internet Computer reached 1 Billion blocks within 14 months of it's launch. It would take 18,0000 years for Bitcoin to get there.
Good luck 🍀