https://github.com/dushyant89/raft-angular
Angular implementation for RAFT
https://github.com/dushyant89/raft-angular
angular angular-components distributed-consensus distributed-systems raft
Last synced: about 2 months ago
JSON representation
Angular implementation for RAFT
- Host: GitHub
- URL: https://github.com/dushyant89/raft-angular
- Owner: dushyant89
- License: mit
- Created: 2017-06-20T21:01:54.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-05T05:58:54.000Z (about 2 years ago)
- Last Synced: 2024-03-05T06:48:24.307Z (about 2 years ago)
- Topics: angular, angular-components, distributed-consensus, distributed-systems, raft
- Language: TypeScript
- Homepage:
- Size: 26.4 KB
- Stars: 7
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Raft-Angular
This project is about depicting the concepts of **RAFT** with the help of a user interface. If you are wondering what exactly **RAFT** is, i recommend this [link](https://raft.github.io) for a good grasp on inner workings of the protocol. Briefly explaining, this protocol is about how you can build your own distributed `cache/datastore` with concepts which are intuitive and reasonable as compared to other similar systems such as **Paxos**. You can think of it as TCP/IP for data communications. The choice of framework for developing the UI is Angular 4.
## Installation Instructions
* Clone the repository.
* Run `npm install` in the directory `raft-angular` to install all the required node dependencies.
* Run `npm start` which will open the page in the default browser of your choice.
* The page which is opened will have the **RAFT** in action.
---
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.2.2.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.