QueryJane | Platform administrators can share new companies and job offers from the "Admin dashboard" page on QueryJane Twitter account

in #utopian-io6 years ago (edited)

QueryJane is a web application developed with Django that allows to connect with companies and experts in different sectors of the cannabis industry. Beta version is available here.


queryjanefull.png

In order to promote registered companies and created job offers, I have added a new functionality that allows to platform administrators to share companies profiles and job offers on the official Qjane Twitter account. Let me show you how it works:

New Features

Platform administrators dashboard.

Some users have administration permissions on the platform. For these users, there is now available a new section called "administrators dashboard". They can access to this new view by clicking the button Qjane Admin in the main menu dropdown. This link is available only for users with administration role.


Screen Shot 2018-03-06 at 10.45.19 AM.png

By clicking this link, users will be redirected to the admin dashboard view. In this view there are available two lists. A list with active companies that have not been shared on the Qjane twitter account, and a list with active job offers that have not been shared on the Qjane tiwitter account.


Screen Shot 2018-03-06 at 10.48.59 AM.png

Share to Twitter account.

Per each company and per each job offer in this view, there is available a button that allows administrators to share the selected element in the Qjane Twitter account.


Screen Shot 2018-03-06 at 10.52.48 AM.png

By clicking this button, the company profile or the job offer detail will be shared in the Qjane Twitter account.


Screen Shot 2018-03-06 at 10.54.04 AM.png

Once a company or a job offer has been shared, the shared element will not be available on this the Administrators dashboard page again. Each company and each job offer can be shared only once.


I have integrated twython to the project, a pure Python wrapper for the Twitter API. this library allows an easy integration with the official Qjane Twitter account.

To share a company profile or a job offer detail, I have created a function that runs as a second level task using huey. Why? So as not to interfere with the normal flow of the page, because connecting with Twitter API could take some extra time. Take a look to these functions in the code source. These tasks are executed by an Ajax request to a view launched when users click the Share button.

When a company profile is shared, the tweet looks like this:


Screen Shot 2018-03-06 at 11.23.00 AM.png

When a job offer is shared, the tweet looks like this:


Screen Shot 2018-03-06 at 11.26.10 AM.png


Commits from ad0ed58 to d9ae32e.


Screen Shot 2018-02-03 at 10.23.10 PM.png


How to contribute?

QueryJane has been developed using the Django framework. You can fork the project, and run it locally is very easy. Follow the steps described in the open source repository installation guide. The project has been configured using Docker. you only need to install Docker and follow these steps.

Future work.

Take a look to our public trello board. This is the easiest way to know our roadmap.

  • Activate Spanish site.
  • SEO optimization.
  • Advertising campaign.

A Very complete application to boost the growth of a specific industry has been developing here. With a large number of tools to facilitate alliances and contacts within the cannabis industry, we are only a few design and SEO adjustments to be able to launch an advertising campaign on social networks soon. Next days I will we working in the activation of the Spanish site by integrating i18n to promote it in some South American countries in which there are legislations around the medicinal use of cannabis that allow entrepreneurship in this sector. Also, I will be working too on some strategies to promote the application in Canada and USA.

If you want to contribute, please join my Discord.


Have happy days ✌



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.

[utopian-moderator]

Hey @kit.andres I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.033
BTC 63851.10
ETH 3059.36
USDT 1.00
SBD 3.85