Indexer front-end is an interface that allows the user to access needed services to push a content in the blockchain and attach it in the Janus system. It also charges gas and tributes for this services, working as a facilitator. The indexer front end helps to publish and index the websites. Publish in the IPFS and return the valid hash or validate the ipfs hash entered and index the informations on the Janus platform.
Search front-end is an interface that allows the user to search for websites and contents that were indexed in the Janus platform. The search interface is an easy way to find websites and contents uploaded on the blockchain, it locates the matching tags the user is looking for with the ones on the system and return a list of results that may interest for the user.
Smart Contract: A smart contract is a computer protocol intended to digitally facilitate, verify, or enforce the negotiation or performance of a contract.
Solidity: Solidity is an object-oriented programming language for writing smart contracts. It is used for implementing smart contracts on various blockchain platforms, most notably, Ethereum.
IPFS: The InterPlanetary File System is a protocol and peer-to-peer network for storing and sharing data in a distributed file system.
Ethereum: Is an open source, public, blockchain-based distributed computing platform and operating system featuring smart contract functionality.
Web3: Web3 is a collection of libraries which allow you to interact with a local or remote ethereum node, using a HTTP or IPC connection.
Vue: Is a progressive framework for building user interfaces.
Windows users only
For those who use Windows is necessary to install and configure web3.
# install dependencies yarn install
Run the Indexer dapp
# build the core package: yarn lerna run build --scope=@4cadia/janus-indexer-core # serve with hot reload at localhost:8080 yarn lerna run dev --scope=@4cadia/janus-indexer-dapp
# run unit tests yarn test:unit [--scope=<package>]
# run all tests yarn test [--scope=<package>]
# run linters yarn lint [--scope=<package>]
# run linter to automatically fix code yarn lint-fix [--scope=<package>]
- Fork it (https://github.com/4cadia-foundation/janus/fork)
- Create your feature branch (
git checkout -b feature/fooBar)
- Commit your changes (
git commit -am 'Add some fooBar')
- Push to the branch (
git push origin feature/fooBar)
- Create a new Pull Request