This project is a demo for using Dailyfeeds's news dataset to build a decentralized news reader using Glitter Protocol.
To get started with this project, follow these steps:
- Node.js (v16.x or higher)
- npm (v6.x or higher)
- Clone the repository:
git clone https://github.com/glitternetwork/decentralized-news-tutorial.git- Navigate to the project directory:
cd decentralized-news-tutorial- Install the required dependencies:
npm installTo start the application, run the following command:
npm run devThis will start the development server, and the application should be accessible at http://localhost:5173 by default.
- Enter a keyword in the search box.
- Click the "Search" button or press "Enter" to perform the search.
- The search results will be displayed below the search box, showing the title and author of each matching mirror news.
- React - A JavaScript library for building user interfaces.
- Glitter SDK - A JavaScript SDK for interacting with the Glitter blockchain.
If you would like to contribute to this project, feel free to fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.