wilsonosuji / job-search

a job search site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Summary

JobSearch is an open‑source project.
Users can search and get job positions.
JobSearch uses web scraping to searches and saves job positions.
Job search connected to 5 websites :

5 websites list
Linkedin
E-estekhdam
Yarijob
Karboom
Jobinja

And it extracts data from them using web scraping and return it as a clean Json result. I used Postgresql database for this project.
I created a simple front‑end using Html, Css and Javascript to allow users to search and get their results.

Setting up things

Environment

I used two databases for JobSearch, one of them is for Django tables and the other one is for Jobs. Job results insert in second one.
You can use one database if you want, if so fill both database variables like the same.
Create a file named .env in the JobSearch directory and add all the variables there. An example of .env file:

JOBS_HOST = host1
JOBS_DATABASE = database1
JOBS_USER = user1
JOBS_PASSWORD = password1
# Django database
JS_HOST = host2
JS_DATABASE = database2
JS_USER = user2
JS_PASSWORD = password2

Commands

  1. python manage.py migrate
  2. python manage.py createsuperuser
  3. python manage.py runserver

Frontend

It's just a really simple example. I created it using HTML, Css and Javascript to show you how to use APIs in Frontend. (I'm not a frontend developer, so sorry beacuse of this template)

Demo : https://j0b-search.herokuapp.com/

Files

Front-end templates
Front CSS
Front Javascript
echo # job-search

About

a job search site

License:Apache License 2.0


Languages

Language:JavaScript 90.1%Language:Python 6.3%Language:CSS 3.0%Language:HTML 0.6%