Skip to content

0xalpha0123/bookchain-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This is Bookchain, it is a decentralized virtual library to keep track of your physical library. Library? Yes, we do mean books. This app consists of two components, this is the back-end portion. The front-end is written in React, and is located here Bookchain-Interface. This repository is written in Solidity and is built upon the block chain.

Getting Started

  1. This project is built in Solidity, want more info? See the resources section below.
  2. git clone or fork this repository $ git clone https://github.com/bluesky-coder/bookchain-backend.git
  3. Install Solidity $ npm install -g solc
  4. Install Truffle $ npm install -g truffle
  5. Install Testrpc $ npm install ethereumjs-testrpc

Running

  1. In a separate terminal session run $ testrpc
  2. Run $ truffle migrate this will migrate the contracts

Testing

  1. In a separate terminal session run $ testrpc

Running the command testrpc, runs the localhost blockchain on port 8545

  1. Run $ truffle test this command will run the test suite.

You can also run truffle test test/<filename> to run a single test file instead of the entire suite

Resources

Contributions

  1. Fork the repository
  2. Find a problem
  3. Make a PR

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published