
New Features
- Hall-of-fame Curators, front-end and api
- NodeJs https without proxy
This development contribution will show how I implemented the Curator section of the Hall-of-Fame for the front and back end of the Magic Frog Project all languages included. The new Curator sections is sandwich between the Delegators and the Contributors. You can observe the gestimated amount of SBD each curator has contributed by upvoting our story posts. And this is the result:
A big thank you to @roxane who's comment gave me the idea make this implementations, and for @mkt who can still show me a thing or two. ;-)
I've added two functions to the front-end to populate the new Curator.vue
template. As you can see a top 12 is being used here as it fits very well with the 3 column grid.
The core of the template is here, you can see my guesstimating fonction.
Have you ever wondered how to start a NodeJs https server? Look no further, I had to set it up for development with self signed certificates. You can also use production certificates as well. Checkout the updated README.md
Here is an example on how to call it and what you get:
This new functions gets all the value of all the votes for each curator, rshares is a bit abstract, we will multiply it later to get the equivalent SBD.
This function provides the end point for the api.
The configuration for the certificates:
The plug it in and voila!
Previous contributions in this series
- The Magic Frog in French (Development Update) by helo
- The Magic Frog in French (Development Update #2) by helo
How to contribute
Simple! 1. fork, 2. modify, 3. submit a pull request to the official repository.
Repositories
Proof of work
GitHub Account
Visit:
the-magic-frog.com or
fr.the-magic-frog.com
the-magic-frog.com or
fr.the-magic-frog.com