Skip to content
Janus Platform monorepo
Vue JavaScript TypeScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
packages chore: deployed indexer smart contract to rinkeby Jan 5, 2020
.babelrc.json chore: Added Jest config Sep 23, 2019
.editorconfig chore(deps): Reorganized depencencies Oct 8, 2019
.eslintignore Finished initial setup with examples Sep 19, 2019
.eslintrc.json chore: Added Jest config Sep 23, 2019
.gitignore
.prettierrc.json
README.md chore(deps): Reorganized depencencies Oct 8, 2019
jest.config.js chore: Added Jest config Sep 23, 2019
lerna.json Finished initial setup with examples Sep 19, 2019
package.json chore: deployed indexer smart contract to rinkeby Jan 5, 2020
postcss.config.js chore: Imported Indexer dapp Sep 23, 2019
tsconfig.json
yarn.lock chore: deployed indexer smart contract to rinkeby Jan 5, 2020

README.md

Janus

Applications

Indexer

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

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.

Featured Technologies

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.

TypeScript: Is an open-source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript, and adds optional static typing to the language.

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.

Prerequites

Windows users only

For those who use Windows is necessary to install and configure web3.

Installation

# 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 Tests

# run unit tests
yarn test:unit [--scope=<package>]
# run all tests
yarn test [--scope=<package>]

Other Commands

# run linters
yarn lint [--scope=<package>]
# run linter to automatically fix code
yarn lint-fix [--scope=<package>]

Contributing

  1. Fork it (https://github.com/4cadia-foundation/janus/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
You can’t perform that action at this time.