QueryJane - Development Update

in #utopian-io8 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

I have been a bit inactive, but since last week I have resumed the development of the application. I've been working on several features, let me show you.


New Features

Added job type attribute to job offer model.

I have added a new attribute to the JobOffer model called job_type.


Screen Shot 2018-02-20 at 2.28.49 PM.png

Take a look to the JOB_TYPE_CHOICESdefinition:


Screen Shot 2018-02-20 at 2.31.00 PM.png

This new attribute allows users to classify the published job offers by type of job. Users can select one of the following options:

  • Freelance.
  • Full time.
  • Internship.
  • Part time.
  • Temporary.
  • Volunteer.

In the new job offer form is now available the Job type field:


Screen Shot 2018-02-20 at 2.40.48 PM.png

This new attribute will be displayed in the job offers list and in the job offer detail.

Job offers list:


Screen Shot 2018-02-20 at 2.44.13 PM.png

Job offer detail:


Screen Shot 2018-02-20 at 2.45.08 PM.png

Users can now filter job offers by job type. The field job type has been added to the job offers filter form in the jobs list:


Screen Shot 2018-02-20 at 3.01.17 PM.png

The detailed code changes related to this feature can be found in this commit.

Added contact form.

I have added the "Contact Us" section. The link is available in the application footer:


Screen Shot 2018-02-20 at 3.13.03 PM.png

Users must fill in the following fields:

  • Subject.
  • Name.
  • Email.
  • Message.

The phone field is optional:


Screen Shot 2018-02-20 at 3.18.24 PM.png

If the user is authenticated, the name filed will have the user name as default value, and the email field will be hidden.


Screen Shot 2018-02-20 at 3.24.23 PM.png

have used the generic class-based views provided by Django. In this particular case, I have used the FormView class, that allows to display a form a manage form events in a very easy way.

When a users submits the contact form, an email is sent to the platform administrators with the message details:


Screen Shot 2018-02-20 at 3.36.48 PM.png

Users are redirected to the confirmation page:


Screen Shot 2018-02-20 at 3.38.25 PM.png

The detailed code changes related to this feature can be found in this commit.

Display country flag.

QueryJane is detecting the user country. I have added the flags images to the repo and now, when a country name is displayed, the country flag is displayed to. This is a front end feature that allows display the companies, users and job offers information in a more beautiful way. Take a look to two sections in which flags are displayed:

Home page:


Screen Shot 2018-02-20 at 3.46.58 PM.png

Job offers list:


Screen Shot 2018-02-20 at 3.53.55 PM.png

I have created a new attribute in the Country model called flag. It allows to identify the country image using the country code. All flags have been saved in the format country_code.png.

The detailed code changes related to this feature can be found in this commit.



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


Find my Github account here.


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.

  • Activate Spanish site.
  • Styles adjustment: I have contacted @cunigarro, a very professional front end developer that I met a few years ago. I invited him to create an Utopian account and he will be working in some front end requirements.
  • Advertising campaign.

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 @vladimir-simovic, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

Congratulations @kit.andres! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of comments

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.082
BTC 61674.69
ETH 1647.32
USDT 1.00
SBD 0.42