Skip to content

Laravel job listing app refactored from Brad Traversy code

Notifications You must be signed in to change notification settings

shahghasiadil/laragigs-refactored

 
 

Repository files navigation

LaraGigs app

An app for listing Laravel gigs/jobs. This project is from my YouTube "Laravel From Scratch 2022" course.

Alt text

Usage

Database Setup

This app uses MySQL. To use something different, open up config/Database.php and change the default driver.

To use MySQL, make sure you install it, setup a database and then add your db credentials(database, username and password) to the .env.example file and rename it to .env

Generate Key

To run laravel project generating keys are required make sure that you have .env , run the following command it will set APP_KEY=base64:xxxxxxxxxxxxxxxxxxxx to .env

php artisan key:generate

Migrations & Seeding The Database

To create all the nessesary tables, columns and add the dummy listings with a single user, run the following

php artisan migrate --seed

File Uploading

When uploading listing files, they go to "storage/app/public". Create a symlink with the following command to make them publicly accessible.

php artisan storage:link

Running Then App

Upload the files to your document root, Valet folder or run

php artisan serve

License

The LaraGigs app is open-sourced software licensed under the MIT license.

About

Laravel job listing app refactored from Brad Traversy code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 55.5%
  • HTML 32.9%
  • Blade 11.3%
  • JavaScript 0.3%