API Huge Refactor + Help Steem get listed on Netcoins

in utopian-io •  6 months ago


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!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

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

Steem is only just ahead on Netcoins, so vote if you haven't already and you can do it again tomorrow.

I got a question about this SPP

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

·

yes daily

Hello @steem-plus, thank you for contributing via Utopian. As you may have noticed, @utopian-io is facing a shortage of VP. This is happening due to many contributions waiting for @utopian-io's vote leaving the account VP little time to recharge. To solve this issue, we are currently working on a new bot with different voting behavior. Your contribution has been selected for a manual reward by the team. To receive this reward, we expect you to respond to this comment within 24 hours.
Thank you.


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

·

Thank you for your hard work ;)

that's very good, as I said, I love Steemit again!! and Steem-plus too!!

Today, I install the @steem-plus extension. This is really amazing. Thank you so much @stoodkev

If I may ask.

What does this do ?

I am not completely sure

·

It lets you login to SteemConnect to unlock more features.

✔️ Voted
✔️ Bought my first Steem Monsters started pack
✔️ Bought a few extra packs
❓ Trying to understand how all the cards work :-)

·

Haha actually it doesn't seem intuitive at the beginning but after a few battles you will get it ;)

·
·

I'm sure I'll get there. I've won a few battles luckily since I discovered I had some pretty good cards I wasn't using :-)

Hi, @steem-plus!

You just got a 10.67% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

this is awesome , good day for everybudy.

Hi @steem-plus!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Congratulations @steem-plus! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

Award for the number of upvotes
Award for the total payout received

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @steemitboard:

SteemitBoard Ranking update - Resteem and Resteemed added

Support SteemitBoard's project! Vote for its witness and get one more award!

i just confirmed voting for steem. i think this is a great news for the whole steemit community. we are gaining more popularity

i just confirmed voting for steem. i think this is a great news for the whole steemit community. we are gaining more popularity and more recognition.

http://wshe.es/546pcH0h

Congratulations @steem-plus! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

Award for the number of comments

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @steemitboard:

SteemitBoard Ranking update - Resteem and Resteemed added

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @steem-plus! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

Award for the number of comments

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @steemitboard:

SteemitBoard Ranking update - Resteem and Resteemed added

Support SteemitBoard's project! Vote for its witness and get one more award!