API Huge Refactor + Help Steem get listed on Netcoins

in #utopian-io6 years ago (edited)


Before I start with this new developement, please take a minute of your time to help Steem get a free listing on Netcoins, it will considerably help this blockchain!
Follow this link and vote for Steem, you can do it once a day ;)


Thanks to @steemchiller for this screenshot.

SteemPlus API : Refactor

Today update does not bring any new feature but some necessary changes. It might cause some features not to work properly if your SteemPlus is not updated to the new 3.4.2 version. Please make sure to update it for a full SteemPlus experience (instructions below).

During the last few months, we kept a crazy developing pace to give you all the awesome features that make SteemPlus the biggest extension on the blockchain. With the integration of SteenSQL, the creation of our own APIs and the introduction of the SteemPlus Points, the code in our backend became pretty big and messy.

It was time to step back and do a huge refactor!

So here it is.

What's new ?

We reorganized the code with a new structure.

As you can see, many new folders.

Controllers

controllers.PNG

The controllers contains all the logic for every feature. This is where the SQL Queries to SteemSQL are made. This is also where we create the SPP.
Controller are divided in two categories : Jobs and API

Models

models.PNG

Models contains all our objects for our database.

  • PointDetails : Contains information about how, when, how much SPP a user earned.
  • User
  • TypeTransaction : Represent the way a user earned SPP.

Routes


routes.PNG

Routes help us to forward the request to the appropriate controller.

We also renamed all the routes to make them more user friendly.

  • /api/get-wallet-content/:username -> /wallet/:username
  • /api/get-incoming-delegation/:username -> /delegators/:username
  • /api/get-rewards/:username -> /rewards/:username
  • ...

Coming soon


Landing Page


We are peparing a SteemPlus landing page for better onboarding of new users. We aim to have it ready for the SteemFest.

Steem Monsters batch buy

I ll just throw a teaser ;)

SPP stats

@steem-plus will soon start to publish daily SPP stats updates. In the meantime, you can check our API to see how you fare in terms of SPP compared to other SteemPlus users, see how the SPP are distributed and what is the total number distributed.

Repository:

https://github.com/stoodkev/steemplus-api

Pull Requests

Installation and updates

You can download and install SteemPlus directly from the Chrome Store if you are using Chrome or Firefox(follow this link for Chrome, this one for Firefox ).
For installation procedures on Opera, please check our documentation.

Updates shouls occur automatically. If not, click right on the extension logo > Manage my extensions > Update.

Steem on!

@stoodkev and @cedricguillas for @steem-plus

Powered by @adsactly

Powered by @utopian-io

Like what I do? Vote @stoodkev for witness!

Sort:  

Thank you for your contributions. I really like the feactored code, now its way better to read the code and the repo which is much more organised now. There is one place I guess the equals is still '=='.


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Thank you for your review, @codingdefined!

So far this week you've reviewed 3 contributions. Keep up the good work!

Thank you so much for share this good information. I already 2 votes and some times after i also next vote.

Very good, congratulations.

Ps: I am your newest fan. I installed the extension today and I find it excellent.

Thank you!
Welcome to SteemPlus!
If you have any question feel free to join our Discord or contact directly @stoodkev on Discord.

Thanks for the update. I just installed the extension yesterday and I've found it incredibly useful so thank you. One point to note for the update process highlighted above, I didn't find it available until I entered "Developer mode" in Chrome. Once I checked developer mode, an update button appeared. I'm not sure if everyone will encounter this but perhaps something to note.

I am still trying to figure out the SPP stuff, but I haven't read enough about it yet.

You re very welcome!
Welcome to SteemPlus!
You can join our Discord and contact directly @stoodkev on Discord for your SPP questions.
Good point about the developer mode, we didn't notice since we are always in developement mode ;)

now No.2 is @steem will vote for No.1

thanks for the updates

Immer wieder schön davon zu lesen 😄

Klasse Arbeit, weiter so 👏👍😄

Das ist wirklich sehr gut.
Danke für die Info

I got a question about this SPP

If I have a certain amount of SPP I will start recieving upvotes regularly from your account ?

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.034
BTC 63658.84
ETH 3310.62
USDT 1.00
SBD 3.92