Job Board is a web application built with the Laravel framework that streamlines the job search process. Employers can create and manage job listings, while job seekers can easily search for opportunities and submit their applications.
Follow these steps to set up the project locally:
-
Clone the Repository:
git clone https://github.com/MuhammadZulhusni/Job-Board.git
-
Navigate to the Project Folder:
cd Job-Board
-
Install Dependencies:
Use Composer to install all required dependencies:
composer install
-
Set Up Environment Variables:
Copy the example environment file and update it with your specific configuration:
cp .env.example .env
Ensure that your
.env
file contains the correct database connection information:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database_name DB_USERNAME=your_database_username DB_PASSWORD=your_database_password
-
Generate Application Key:
php artisan key:generate
-
Run Database Migrations:
Make sure your database connection is correctly set in the
.env
file, then run the migrations:php artisan migrate
-
Start the Development Server:
php artisan serve
-
Compile Front-End Assets:
Install and compile the necessary front-end assets using npm:
npm install && npm run dev
You can now access the application at http://localhost:8000.
To refresh the database and seed it with dummy data:
-
Run the following command:
php artisan migrate:fresh --seed
Note: This command will drop all tables, run the migrations, and then seed the database with the dummy data.
Contributions are welcome! If you'd like to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeatureName
). - Make your changes.
- Commit your changes (
git commit -am 'Add some feature'
). - Push to your branch (
git push origin feature/YourFeatureName
). - Submit a Pull Request.