Moralis is a service that helps to build serverless web3 dApps.
Blog post: www.julian.io/articles/moralis.html
Video: https://youtu.be/T1Eh8D5LjFE
How to start:
- Got to Moralis.io to create a free account.
- Create your server. You'll find all the docs here https://docs.moralis.io/
- Clone this repo
- Fill up your APP Id, your server URL, and collection names for files and notes. All at the beginning of the
main.js
file - Run
npm install
- Run
npm start
- Go to the
localhost:3000
in your browser - Login with your Metamask wallet
Demo includes:
- Interactions with Ethereum blockchain - getting all transactions for logged in account
- Usage of Moralis storage functionality (Notes section). Logged-in users can add and remove notes. (it isn't secured in any form, all is exposed on the frontend. Read more about security in Moralis docs)
- File uploads handling using IPFS. Users can upload and get the files from IPFS. According to the docs, all is pinned by default.