Skip to content

An open-source project to search, scrap pages and return job position as Json result.

License

Notifications You must be signed in to change notification settings

AnonC0DER/JobSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Js