GithubHelp home page GithubHelp logo

rimplenetsaas's Introduction

  1. Wallets: Create, Read, Delete **DONE
  2. Users: Create, Read, Update, Delete, (Login) **DONE
  3. Tansactions: Credit, Debit, Transfer **DONE
  4. API
  5. API Docs
  6. Count requests

// app\Listeners\RouterMatchedListener.php namespace App\Listeners;

use Cache; use Illuminate\Routing\Route; use Illuminate\Support\Facades\Log;

class RouterMatchedListener { /** * Handle the event. * * @param router.matched $event * @return void */ public function handle(Route $route) { $uri = md5($route->getUri()); if( ! Cache::has($uri)) { Cache::forever($uri, 1); } else { Cache::increment($uri); } } }

Then you would register that Event Listener in app\Providers\EventServiceProvider: protected $listen = [ 'router.matched' => [ 'App\Listeners\RouterMatchedListener', ], ];

Then, when you need to get the visits for a particular route, you just call this: $visits = Cache::get(md5(Request::path()));

TODO

  1. Withdrawals
  2. Woocommerce
  3. Wallet Balance
  4. Investment Plan
  5. MLM Matrix

HOW-TO

  1. Get Access Token: POST /api/token?key=API_KEY_HERE or POST /api/login?email=[email protected]&password=password

  2. If need be, refresh token: POST /api/refresh

  3. Endpoints => Register Users: POST /api/user-register Login Users: POST /api/user-login Update Users Profile: POST /api/user-profile-update Get User Detail: GET /api/user-profile

    Create Wallet: POST /api/create-wallet Create Credit: POST /api/create-credit Create Debit: POST /api/create-debit Create Transfer: POST /api/create-transfer

rimplenetsaas's People

Contributors

laravellously avatar

Watchers

James Cloos avatar  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.