Giter Site home page Giter Site logo

job_finder's Introduction

Installation Steps

composer install
cp .env.example .env
php artisan key:generate

Add the DB Credentials & APP_URL

Next make sure to create a new database and add your database credentials to your .env file:

import job_finder.sql

DB_HOST=localhost
DB_DATABASE=job_finder
DB_USERNAME=homestead
DB_PASSWORD=secret

You will also want to update your website URL inside of the APP_URL variable inside the .env file:

APP_URL=http://localhost:8000

Troubleshooting: Specified key was too long error. If you see this error message you have an outdated version of MySQL, use the following solution: https://laravel-news.com/laravel-5-4-key-too-long-error

And we're all good to go!

Start up a local development server with php artisan serve.

API Endpoits

1-{baseUrl}/api/v1/vacancies/{Vacancy Id}

Response

{ "data": { "id": 1, "job_title": "avc", "seniority_level": "adwq", "country": "wqweq", "city": "ewfdew", "salary": "35435", "currency": "wfeew", "company_size": "233", "company_domain": "sdfsd", "created_at": null, "updated_at": null, "deleted_at": null, "skills": [ { "id": 1, "name": "kkk", "created_at": null, "updated_at": null, "deleted_at": null, "pivot": { "vacancy_id": 1, "skill_id": 1 } } ] } }

2-{baseUrl}/api/v1/vacancies?search={Search String}&sort={asc}

Response

{ "current_page": 1, "data": [ { "id": 1, "job_title": "avc", "seniority_level": "a", "country": "wqweq", "city": "ewfdew", "salary": "35435", "currency": "wfeew", "company_size": "233", "company_domain": "sdfsd", "created_at": null, "updated_at": null, "deleted_at": null, "skills": [ { "id": 1, "name": "kkk", "created_at": null, "updated_at": null, "deleted_at": null, "pivot": { "vacancy_id": 1, "skill_id": 1 } } ] }, { "id": 2, "job_title": "avc", "seniority_level": "b", "country": "wqweq", "city": "ewfdew", "salary": "23432", "currency": "wfeew", "company_size": "233", "company_domain": "sdfsd", "created_at": null, "updated_at": null, "deleted_at": null, "skills": [] } ], "first_page_url": "http://job_finder.test/api/v1/vacancies?page=1", "from": 1, "last_page": 1, "last_page_url": "http://job_finder.test/api/v1/vacancies?page=1", "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "http://job_finder.test/api/v1/vacancies?page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ], "next_page_url": null, "path": "http://job_finder.test/api/v1/vacancies", "per_page": 15, "prev_page_url": null, "to": 2, "total": 2 }

3-{baseUrl}/api/v1/matching-position?current_experiences_level={Current Level}&skills={Comma Separated Skill List}

Response

{ "data": { "id": 1, "job_title": "avc", "seniority_level": "adwq", "country": "wqweq", "city": "ewfdew", "salary": "35435", "currency": "wfeew", "company_size": "233", "company_domain": "sdfsd", "created_at": null, "updated_at": null, "deleted_at": null, "skills": [ { "id": 1, "name": "kkk", "created_at": null, "updated_at": null, "deleted_at": null, "pivot": { "vacancy_id": 1, "skill_id": 1 } } ] } }

...

job_finder's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.