A simple decentralised web application that allows users to read tweets, write tweets, update tweets, and delete tweets. A very simple CRUD application.
Though, while working on this project, we managed to add more features such as: Liking and disliking a tweet, rendering a timestamp for each tweets, etc.
If you like to test this project locally, you will have to install Node.js and run the following commands:
npm install
By installing the node modules, you should be able to execute npm run start
and see the web application working.
After setting up your local development, do the following steps:
- Create an
.env
file and in this file, add the following:REACT_APP_CONTRACT_ADDRESS='0x894Ba2078bC1aFd71d2f15efEE6ccf9387eE8799'
- Restart the react app:
npm run start
Since we are using TailwindCSS in this project, if you wish to customise the style of the components, make sure you execute the following command:
npx tailwindcss -i ./tailwindcss/base.css -o ./src/css/App.css --watch