Coder Social home page Coder Social logo

payment-api's Introduction

Yope API

  • It is currency-agnostic and blockchain-agnostic.
  • It exposes a RESTful API which can be consumed by any client program. Read our documentation here: developer.yope.com
  • Transactions happen off-chain so there is no need to wait for confirmations and there is no limit to the number of transactions or internal wallets that a user can have. Writing to the blockchain occurs only when the user deposits or withdraws their Yope balance, while internal transactions between Yope wallets happen at the speed of the internet, rather than the speed of the blockchain.
  • Yope API authentication is performed through the blockchain, given that accounts, profiles and roles are registered in the blockchain, and as such are totally decentralised (coming soon)
  • It can be locally installed in a matter of seconds, thanks to an up-to-date Docker image stored into the Hub registry (coming soon)
  • Dockerisation makes it easy for any developer to be up and running writing smart contracts within 10 minutes, ready for integration into the Ethereum blockchain (coming soon)
  • The Yope API is perfectly designed to buy or sell virtual goods and to register them as smart contracts.

Minimum prerequisites

  • java 8
  • Apache Maven v.3.0.3
  • Neo4j v.2.3.0
  • Redis v.2.8.12

System requirements

  • at least 2GB RAM

How to run it locally

  • clone the project and build it from the root executing mvn clean install command

  • run Neo4j executing neo4j start command and change the password in localhost:7474 using the same neo4jPassword defined in yope-payment-rest/application.yml

  • run Redis executing redis-server command

  • run the project executing mvn spring-boot:run command from the yope-payment-rest path

  • test it executing the command curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"email\": \"[email protected]\", \"firstName\": \"John\", \"lastName\": \"Bull\", \"name\": \"VEGA\", \"password\": \"pwd123\" }" \ 'http://localhost:8080/accounts'.

  • the response should be like { "header" : { "success" : true, "status" : 200 }, "body" : { "type" : "SELLER", "id" : 37, "email" : "[email protected]", "firstName" : "John", "lastName" : "Bull", "status" : "ACTIVE", "registrationDate" : 1451239489421 } }

More infos: http://developer.yope.io

Documentation: http://docs.yope.apiary.io

Cookbook: https://github.com/yopeio/payment-api/blob/master/YD-Cookbook-291115-1530-187.pdf

payment-api's People

Contributors

davassi avatar enr74 avatar massigerardi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.