The Magic Frog in French (Development Update #3) by helo

image.png

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. ;-)

curateur-grenouille.png

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.

curator-hall-of-fame.png

The core of the template is here, you can see my guesstimating fonction.
curator-template.png


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:

curator-api.png

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.

curator-api-get.png

This function provides the end point for the api.

curator-api-index.png

The configuration for the certificates:

https-1.png

The plug it in and voila!

post-listening.png

Previous contributions in this series

How to contribute

Simple! 1. fork, 2. modify, 3. submit a pull request to the official repository.

Repositories

Proof of work

GitHub Account

https://github.com/gluneau

To see the changes in action... PARTICIPATE!

Visit:
the-magic-frog.com or
fr.the-magic-frog.com

H2
H3
H4
Upload from PC
Video gallery
3 columns
2 columns
1 column
10 Comments