Giter Club home page Giter Club logo

jobportal-backend's Introduction

Job Portal

The job portal project aims to establish a dynamic platform that facilitates seamless connections between employers and candidates. The primary goal is to streamline the hiring process making it efficient and effective for both parties involved.

๐Ÿ› ๏ธ Installation Steps:

1. First clone this repository install the dependencies and setup your .env file.

git clone https://github.com/RecruitCRM-Dev/JobPortal-backend.git

composer install

npm install

cp .env.example .env

2. Generate Key

php artisan key:generate

3. Then create the necessary database.

php artisan db create database job-portal

4. And run the initial migrations and seeders.

php artisan migrate --seed

API Endpoints

Employer

1. Register:

  • Endpoint: employer/register (POST)

2. Login:

  • Endpoint: employer/login (POST)

3. Logout:

  • Endpoint: employer/logout (POST)

Profile

1. Get Profile Data:

  • Endpoint: employer/profile/:id (GET)

2. Profile Update:

  • Endpoint: employer/profile/:id (POST)

Post Jobs

1. Get all the users of employer -> employerId with job -> JobId:

  • Endpoint: employer/:employerId/jobs/:jobId (GET)

2. Posted all jobs:

  • Endpoint: employer/:employerId/jobs (GET)

3. Post a job:

  • Endpoint: employer/:employerId/jobs (POST)

4. Update Job Status:

  • Endpoint: employer/:employerId/jobs/:jobId (PUT)

User

1. Register:

  • Endpoint: user/register (POST)

2. Login:

  • Endpoint: user/login (POST)

3. Logout:

  • Endpoint: user/logout (POST)

Profile

1. Get Profile Data:

  • Endpoint: user/profile/:id (GET)

2. Profile Update:

  • Endpoint: user/profile/:id (POST)

Job Application

1. Apply for a Job:

  • Endpoint: user/:id/jobs (POST)

2. List all the jobs for a user (applied jobs):

  • Endpoint: user/:userId/jobs (GET)

3. Check if the user has applied for a job or not:

  • Endpoint: user/:userId/jobs/:jobId (GET)

General Routes

1. Get all jobs:

  • Endpoint: /jobs (GET)

2. Job detail:

  • Endpoint: /jobs/:id (GET)

3. Latest jobs:

  • Endpoint: /jobs/latest (GET)

4. Send forgot password link:

  • Endpoint: /forgot-password (POST)

5. Reset password:

  • Endpoint: /reset-password/:token (POST)

6. Send verification mail:

  • Endpoint: /email/resend (POST)

7. Verify email address:

  • Endpoint: /email/verify/:userId?exp&hash (GET)

jobportal-backend's People

Contributors

theanandppatel avatar ishmeetk01 avatar d-ivyanshu avatar ariveni 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.