Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vijethph/ledgercoin

An Angular app to visualize the working of blockchain.
https://github.com/vijethph/ledgercoin

angular blockchain express mongodb nodejs typescript

Last synced: about 1 month ago
JSON representation

An Angular app to visualize the working of blockchain.

Awesome Lists containing this project

README

        

[![Status](https://img.shields.io/badge/status-active-success.svg?style=flat-square&logo=angular)]()
[![GitHub issues](https://img.shields.io/github/issues/vijethph/LedgerCoin?style=flat-square)](https://github.com/vijethph/LedgerCoin/issues)
[![Contributors](https://img.shields.io/github/contributors/vijethph/LedgerCoin?style=flat-square)](https://github.com/vijethph/LedgerCoin/graphs/contributors)
[![GitHub forks](https://img.shields.io/github/forks/vijethph/LedgerCoin?color=blue&style=flat-square)](https://github.com/vijethph/LedgerCoin/network)
[![GitHub stars](https://img.shields.io/github/stars/vijethph/LedgerCoin?color=yellow&style=flat-square)](https://github.com/vijethph/LedgerCoin/stargazers)
[![GitHub license](https://img.shields.io/github/license/vijethph/LedgerCoin?style=flat-square)](https://github.com/vijethph/LedgerCoin/blob/master/LICENSE)
[![Made with TypeScript](https://img.shields.io/badge/made%20with-typescript-blue?style=for-the-badge&logo=typescript&labelColor=023047)](https://www.typescriptlang.org/)
[![made-with-angular](https://img.shields.io/badge/made%20with-angular-1abc9c.svg?style=for-the-badge&labelColor=2c3e50)](https://angular.io/)
[![forthebadge](https://forthebadge.com/images/badges/powered-by-black-magic.svg)](https://forthebadge.com)
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/vijethph/LedgerCoin)





Logo

LedgerCoin


An Angular App that visualizes the working of blockchain.




Report Bug
ยท
Request Feature

## Table of Contents

- [About the Project](#about-the-project)
- [Built With](#built-with)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)
- [Acknowledgements](#acknowledgements)

## About The Project

Project working second screenshot

This is a Angular app that uses [MongoDB](https://www.mongodb.com), [Express Framework](https://expressjs.com), [Node.js](https://nodejs.org/en) and [Angular Framework](https://angular.io) to visualize the working of Blockchain, with user authentication. It uses a simple implementation of Blockchain with Proof-of-Work algorithm, verification, wallet generation and transaction signing features. It also makes use of [CoinGecko API](https://www.coingecko.com/en/api) to display the latest currency exchange rates with respect to BitCoin.

### Built With

This project is entirely built with the following components and languages:

- [MongoDB](https://www.mongodb.com) - NoSQL Database
- [Express](https://expressjs.com/) - Server Framework
- [Angular Framework](https://angular.io) - Frontend Component-based Framework
- [Node.js Runtime](https://nodejs.org/en) - Server Environment
- [TypeScript](https://www.typescriptlang.org/) - Programming Language
- [CoinGecko API](https://www.coingecko.com/en/api) - Currency Exchange Rate API

## Getting Started

Follow these instructions in order to get a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites

Node.js>=16 and MongoDB>=4.2 should be present. After installation, check Node.js version, and MongoDB daemon status using

```sh
node --version
service mongod status
```

### Installation

1. Clone the repo

```git
git clone https://github.com/vijethph/LedgerCoin.git
```

2. Open the downloaded folder

```sh
cd LedgerCoin
```

3. Modify the MongoDB URI in `server.ts` file inside `src` folder as per your DB configuration. Then import the required dependencies in both of these folders: `src` and `client`, using

```sh
npm install
```

4. Run the program using

```sh
npm run dev
```

The app should be running in `http://localhost:3000` in your browser.

Another way to install this app is to use Docker Compose. Run this command to start the app:
```
docker-compose up
```
This will run the app at http://localhost:3000, which can be seen in your browser.

## Usage

Once the app starts, you can create an account in `Register` page, and then login to find the visualization of blockchain. Some transactions are already made by the system for you to get a basic idea of how the blockchain works. You can click on each block, and find the corresponding transactions made under each block.

You can also create transactions by giving money (not real, of course) to any person, and sign the pending transactions. You can also change the difficulty of mining, and view the wallet amounts of parties involved.

## Contributing [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat-square)](https://github.com/vijethph/LedgerCoin/pulls)

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## License

Distributed under the MIT License.

## Contact

Vijeth P H - [@vijethph](https://github.com/vijethph)

Project Link: [https://github.com/vijethph/LedgerCoin](https://github.com/vijethph/LedgerCoin)

## Thank You!

[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)

If you like this project, please โญ this repo and share it with others ๐Ÿ‘

## Acknowledgements

- [MongoDB Docs](https://docs.mongodb.com/)
- [Angular Framework Docs](https://angular.io/docs)
- [CoinGecko API Docs](https://www.coingecko.com/api/documentations/v3)
- [SavjeeCoin](https://github.com/Savjee/SavjeeCoin)