- Blog Post Canister is a TypeScript (Azle) project on the ICP (Internet Computer TypeScript) platform that performs CRUD (Create, Read, Update and Delete) operations.
- Blog Post Canister provides users with the ability to perform the following
- Create blog posts.
- See and comment on other users' blog posts.
- Get blog posts by their id.
- Edit and Update their blog posts.
- Delete blog posts.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
nvm use 18
DFX_VERSION=0.14.1 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
echo 'export PATH="$PATH:$HOME/bin"' >> "$HOME/.bashrc"
- This can be done by closing the terminal and opening a new terminal.
dfx start --background
Your terminal will display an output similar to the one below.
- Next, we will compile our canister code and install it on the local network using the dfx deploy command:
dfx deploy
- Executing the dfx deploy command should result in an output similar to:
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion to improve this, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your new feature branch (
git checkout -b feature/new_feature
) - Commit your changes (
git commit -m 'included a new feature(s)'
) - Push to the branch (
git push origin feature/new_feature
) - Open a pull request