This is a simple CRUD web app inspired by Twitter.
The intent of this repo is to show simple components for building a backend API that you can use to get started with the Internet Computer.
There are two ways to interact with this backend canister:
a. Sending it messages via the DFX command line tool
b. Attaching a web app which sends the backend canister messages using JavaScript
The goal and intent of this app is to take someone who has never deployed to the Internet Computer or used Motoko and walk through the basics. It is deliberately simplistic and tries to explain many steps which more experienced engineers may find verbose.
- Basics of Motoko
- Basics of the developer flow (coding, deploying, calling your app, etc...)
- How to make a Key Value Store
- How to call your backend via DFX
- Shows all of the logged in user's most recent tweets
- Creates a new post as the logged in user
- Shows the most recent tweets by user's the logged in user is following
- see tweets by a particular user
public func get_tweet(userid: Text) : async [Tweet] {}
- Allows the authenticated user to follow another user on the platform
public follow_user(userId: Text) : async Bool