STEEM Explorer Now Made Open SourcesteemCreated with Sketch.

in utopian-io •  2 years ago 

STEEM Explorer Now Made Open Source

Good news, Steemians. STEEM Blockexplorer, found at https://explorer.steemliberator.com, is now open source.

image.png


What is STEEM Block Explorer

The STEEM Explorer is a Ruby on Rails repo that interacts with the STEEM blockchain to provide a frontend for searching via transaction hash, as well as viewing any users past 30 day post earnings.

By providing this code to the community, I hope to encourage users to learn STEEM programming. The more developers we have in the ecosystem, the better the products will be for every single user.

What is Ruby on Rails

Ruby on Rails is a very user friendly web framework that allows programmers to easily, and quickly, create very extensible applications. The framework makes use of the Model, View, Controller schema and makes receiving contributions to a single repo from many developers almost stress free. You should definitely read more at the Rails official site if you are interested.

Setting Up Dev Environment

  • Clone the repo
    • git clone https://github.com/netuoso/steem-explorer
    • cd steem-explorer
  • Install bundler and gems
    • gem install bundler
    • bundle install
  • Run the server
    • rails server thin
  • Open site in browser
    • http://localhost:3000

What to do Next

This part is entirely up to your imagination, but I will give a few different suggestions to maybe help you get started.

When you clone the repository, you should first follow the directions above to ensure all required dependencies are met. Next, using your favorite IDE or text editor, open the config/routes.rb file to get an idea of how the endpoints are configured. The routes will identify a particular controller or action for the endpoint.

Screen Shot 2017-11-04 at 12.16.08 PM.png

If you then open the app/controllers/pages_controller.rb file, you will be able to see how the actual controller methods are defined. The controller methods are referred to as the actions from the routes page.

Finally, the necessary HTML view files for this controller can be located in app/views/pages/. Here, you will find the files that you edit for the frontend displayed to the user. If you created a new action in the controller, you will need to also create the related view in the named folder, as well as add the new action to the routes file.

Example Adding Test Action

Add route

Screen Shot 2017-11-04 at 12.19.45 PM.png

Add controller action

Screen Shot 2017-11-04 at 12.19.53 PM.png

Add HTML view

Screen Shot 2017-11-04 at 12.21.57 PM.png

Page Result

Screen Shot 2017-11-04 at 12.20.28 PM.png


Contributing

Feel free to fork the repository and submit any pull requests that you wish to have considered to be merged into the main project.


Open Source Contribution posted via Utopian.io

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:  

Good Post :)

very informative

·

Great!!! Nice Comment!! I'll be following you!!!

wow its really an amazing news ...
it's now wordwide get its own platform whole new presentation and new new opportunities

Thanks @netuoso. Verified and accepted in Utopian.

okay, i shall start coding

Wonderful Job.
It will be awesome if somesone would make analytical tools too.
thank you

It would be nice if somebody repair steemd.com/distribution like it been earlier.
For example, Golos still has it: http://golosd.com/distribution

·

Thanks for the suggestion. I'll look into this

Definitely have to check this out as it seems very beneficial.

Congratulations @netuoso, this post is the sixth most rewarded post (based on pending payouts) in the last 12 hours written by a Hero account holder (accounts that hold between 10 and 100 Mega Vests). The total number of posts by Hero account holders during this period was 236 and the total pending payments to posts in this category was $3546.32. To see the full list of highest paid posts across all accounts categories, click here.

If you do not wish to receive these messages in future, please reply stop to this comment.

Nice contribution my friend for utopian-io, brilliant

I'll look into this.

Hey @netuoso I am @utopian-io. I have just super-voted you at 79% Power!

Suggestions https://utopian.io/rules

-Your contribution is less informative than others in this category.
-Utopian has detected 2 bot votes. I am the only bot you should love!!

Achievements

-I am a bot...I love developers... <3
-Good amount of information. Thank you!
-Votes on this contribution are going well. Nice!
-You are having more votes than average for this category. Nice!
-You are generating more rewards than average for this category. Super!
-You have a good amount of votes on your contributions. Good job!
-You have just unlocked 6 achievements. Yeah!
Up-vote this comment to grow my power and help Open Source contributions like this one.

Nice to see new tools and utilities to add to the steem space. Loving it!

Congratulations @netuoso!
Your post was mentioned in the hit parade in the following category:

  • Pending payout - Ranked 7 with $ 151,62

i_love_open_source_classic_round_sticker-re05d3b7e77de4afcac3f9d9e95a8dddb_v9waf_8byvr_630.jpg

I enjoyed reading your post.

Well done, big news for steemit community. thank you @netuoso

Good post and commentd

Very nice information sir

This wonderful post has received a bellyrub 2.67 % upvote from @bellyrub.