Welcome to the Job Portal project! This web application is built using PHP, Laravel, MySQL, and Bootstrap to create a modern and efficient job portal. This document provides an overview of the project structure and includes relevant code snippets.
The project is organized into several main components:
-
Frontend:
- Views designed using HTML, CSS (Bootstrap), and Blade templates in Laravel.
- JavaScript for dynamic behavior, especially in the job search functionality.
-
Backend:
- Backend logic implemented using PHP and the Laravel framework.
- Laravel's Eloquent ORM used for interacting with the MySQL database.
-
Database:
- MySQL employed to store user data, job listings, and application information.
-
Authentication:
- Laravel's built-in authentication system used for user registration, login, and access control.
-
Admin Panel:
- Admin panel implemented to manage categories, jobs, and users with custom views and functionalities.
This project is designed to work with XAMPP, a free and open-source cross-platform web server solution stack package. Before running the application, ensure that you have XAMPP installed and configured on your machine.
- Download XAMPP from the official website: XAMPP Download.
- Install XAMPP following the installation instructions provided on the website.
Before running the Job Portal project, make sure that the Apache and MySQL modules are running in the XAMPP Control Panel:
- Open the XAMPP Control Panel.
- Start the Apache module.
- Start the MySQL module.
Now that XAMPP is installed and the necessary modules are running, proceed with the installation steps mentioned in the next sections of this README to set up and run the Job Portal project.
- PHP installed
- Composer installed
- Laravel installed
- MySQL server installed
-
Clone the repository:
git clone git@github.com:Saket2701/Job-Portal.git
-
Navigate to the project directory:
cd /c/Xampp/htdocs/jobboard
-
Install dependencies:
composer install
-
Install frontend dependencies and compile assets::
npm install && npm run dev
-
Database Configuration
a. Copy Environment File
- Locate the
.env.example
file in your Laravel project. - Make a copy of this file and name the duplicate
.env
.
b. Update Database Configuration
- Open the newly created
.env
file in a text editor. - Look for the section related to database configuration (usually starts with
DB_
). - Update the values for
DB_CONNECTION
,DB_HOST
,DB_PORT
,DB_DATABASE
,DB_USERNAME
, andDB_PASSWORD
to match your local database setup.
c. Accessing the Database via phpMyAdmin
- If you are using a local development environment, you can manage your databases through phpMyAdmin.
- Access phpMyAdmin by navigating to http://localhost/phpmyadmin/ in your web browser.
d. Additional Notes
- Make sure the database specified in your
.env
file exists in your local MySQL or MariaDB server. - Double-check that the database credentials in the
.env
file match your local setup.
- Locate the
-
Run migrations to create the database tables:
php artisan migrate
-
Start the development server:
php artisan serve
8.Open your browser and visit http://localhost:8000 to access the Job Portal.
- Registration and login functionality.
- User profiles with the ability to update details and upload CVs.
- Display of jobs with details, including descriptions and social media sharing links.
- Multi-input based search functionality.
- Secure login for administrators.
- Admin dashboard displaying stats.
- Admin management of categories, jobs, and users.
- Users can save jobs for later and view their applications.
The Basic Layout will look like this-
Untitled.video.mp4
Demo for Jobs Section-
Untitled.video.1.mp4
Demo for Admin Panel-
Untitled.video.2.mp4
Congratulations! You've successfully set up and explored the Job Portal project. Feel free to explore the codebase further to understand the implementation details.