This is a simple blockchain web application built with React for the frontend and Node.js for the backend. It allows users to simulate a blockchain by adding blocks with custom data.
- Add blocks to the blockchain with custom data.
- View the entire blockchain with block details.
- Frontend: React.js
- Backend: Node.js, Express.js
- Database: None (In-memory storage)
- Styling: CSS
- Clone the repository:
- Install dependencies for both frontend and backend:
cd blockchain-demo
cd client
npm install
cd ..
npm install
- Start the backend server:
npm start
- Start the frontend server:
cd client
npm start
- Open your browser and navigate to http://localhost:3000 to use the application.
- Enter custom data in the input field.
- Click the "Add Block" button to add a new block to the blockchain.
- View the blockchain to see all added blocks with their details.
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
This project is licensed under the MIT License. See the LICENSE file for details.