Steemblr development update 04

in #utopian-io6 years ago

Untitled-Design.md.jpg

Steemblr is open source microblogging platform powered by steem blockchain . It allows user to post and explore content which is smaller than a traditional blog.

You can check developer verion here: https://steemblr.com

Repository

https://github.com/snwolak/steemblr

New Features

Post types in explore section

Every page except trending is now loaded from database accordingly to its type. Database contains posts published only on steemblr.

It was done by replacing steem-js api calls with firebase queries, app is saving posts to database in same format so there was no need for unnessessery work. To decide which post type should be loaded there was added switch statement.

https://github.com/snwolak/steemblr/commit/fddca6cdfee359b1c7aaf34c43bbe7f2142258ff

Loading post by author

To avoid app crashing and provide better experience, modal and main blog view are now loading author posts from firebase. Similar to explore view it was implemented by replacing steem-js api calls with firebase queries. To check if user exist in database, before rendering, function checks database. If user doesn't exist instead of blog, app renders 'Not found' page.

https://github.com/snwolak/steemblr/commit/1900d32eee648c5720c29411d701b19be3e7a557
https://github.com/snwolak/steemblr/commit/cbeb39e9e6d2028c62eb08535326007732b5e974
https://github.com/snwolak/steemblr/commit/d5ea18140da49bbea6f7127c18536226a86eef79

Not found page

Default 404 page created to show when user tries to enter non existing page in application.

404.jpg

It was created with styled-components and react-router to redirect user to homepage.

https://github.com/snwolak/steemblr/commit/004ddf257a94fc8c3175adacc86b1fbb1ba84d51

Tags Checking

User post is automaticly categorized as adult content or not. It is done by checking tags, when user submits new post. Function searches for NSFW tags by summing user tags and tags that needs to be filtered together and if it finds duplicates post will be saved as NSFW in database, it doesn't affect steem post itself.

https://github.com/snwolak/steemblr/commit/3013b17777b237b5d5e5706981702ebf7397def8
https://github.com/snwolak/steemblr/commit/4cfab86950f30f5a115909767e38b114d57e3eaf

Github Account

https://github.com/snwolak

Since I'm going on vacation there won't be update next week.
Also I submitted steemblr to google cloud startup program and got 3000$ in google cloud credits which is great!
startup.md.jpg

Sort:  

Thanks for the contribution, @snwolak! It's a cool little update with some nice features - keep it up!

Since I'm going on vacation there won't be update next week.

Have fun!

Also I submitted steemblr to google cloud startup program and got 3000$ in google cloud credits which is great!

That sounds amazing (not sure what you can do with the credits, but $3000 is A LOT!).

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]

Yeah thanks, theese $3000 can pay for every backend 'thing' that website needs :)

Congratulations! Your post has been selected as a daily Steemit truffle! It is listed on rank 6 of all contributions awarded today. You can find the TOP DAILY TRUFFLE PICKS HERE.

I upvoted your contribution because to my mind your post is at least 15 SBD worth and should receive 57 votes. It's now up to the lovely Steemit community to make this come true.

I am TrufflePig, an Artificial Intelligence Bot that helps minnows and content curators using Machine Learning. If you are curious how I select content, you can find an explanation here!

Have a nice day and sincerely yours,
trufflepig
TrufflePig

Hey @snwolak
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Great job this database expects to participate soon