1UP Community Creation and SettingssteemCreated with Sketch.

in utopian-io •  4 months ago

Repository

https://github.com/therealFlauwy/1UP

Following this post from @flauwy, I've been tasked to start the creation of the new 1UP.
As a reminder, @utopian-1UP was an Utopian bot front-runner in which members of the community would decide which are the best posts to vote for. the @utopian-1up would then vote for the best post every 2.4 hours, followed by hundreds of curators in the trail.

New Features

Community Creation

In the first iteration, the Community Creation page was created but not yet ready to dynamically populate the database.
A new MongoDB has now been set up and we will write and read to it via Parse.js.
After verifying that all the fields are correctly entered, the community creation page try to add the new community in the database. According to the result, it will redirect to one of the two new pages:

Error

A new .ejs view has been created to handle all kinds of erros we will have to deal with in the future.

Note that the design is not a priority for now as our first objective is to make a first working version of the project.

View Page

A new route /view/:name shows the current settings and information about the community:

Later on, an Edit button will be added for those having the permissions to edit the parameters (owner, admins and moderators (for whitelist/blacklist only)).

A random link will also be generated to allow an account to register as the trailing account of the community.

Pull Request

Create new Community on DB + View community page

GitHub Account

https://github.com/stoodkev

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:  

Your commit history consists of duplicate commit messages and have unobvious/broad commit messages.

That would be awesome if you take care of this next time. Congrats for the progress on 1up.


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, @emrebeyler!

So far this week you've reviewed 6 contributions. Keep up the good work!

Hey @stoodkev
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!