Skip to content

senthiljruby/tiniest-blockchain-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiniest Blockchain

About

Part 1,

This project uses Tiniest Blockchain - 1.

Part 2,

This project uses Tiniest Blockchain - 2.

Getting Started

Part 1

Getting up and running is as easy as 1, 2, 3.

  1. Make sure you have NodeJS and npm installed.

  2. Install your dependencies

    cd path/to/tiniest-blockchain/tiniest_blockchain_part_1; npm install
    
  3. Start your app

    node index.js
    

Part 2

Running the instance through DOCKER

  1. docker-compose up -d
  2. Browse the app in the browser with http://localhost:3000

(or)

Getting up and running is as easy as 1, 2, 3.

  1. Make sure you have NodeJS and npm installed.

  2. Install your dependencies

    cd path/to/tiniest-blockchain/tiniest_blockchain_part_2; npm install
    
  3. Start your app

    node index.js
    

Testing

Simply run npm test and all your tests in the test/ directory will be run.

Test Coverage

Simply run npm run coverage:nyc or npm run coverage:ist to get the test coverage in coverage folder

Changelog

1.0.0

  • Initial release

License

Copyright (c) 2019

Licensed under the MIT license.

Author

Senthil Kumar Bhaskaran