This application keeps track of your favorite bands and albums.
With this application, you will be able to do the following:
- Store different bands and their albums into a database
- Visually manage the contents of your database
- Edit each band's and/or album's information
- Delete a band with its corresponding albums
- Delete single albums separately
- See a list of albums per band
Each list (bands/albums), is fetched via AJAX calls using the DataTables library alongside with Bootstrap. This offers a great advantage as it provides you with pagination, searching, sorting, etc.. Using Bootstrap also helps keeping a visually pleasant/modern application.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
-
Clone this repo into your desired directory:
git -C <your path> clone https://github.com/diegocam/Bands.git
-
Go into your application:
cd <your path>
-
Create the
.env
file by copying from the example provided (.env.example
)cp .env.example .env
-
Modify the
.env
file with your desired local environment configuration options -
Create your Encryption Key:
php artisan key:generate
-
Create your database tables (this will run the migrations located in
/Bands/database/migrations/
):php artisan migrate
-
Populate your database tables (this will populate your tables with fake data coming form
/Bands/database/seeds
):php artisan db:seed
-
Run composer:
composer install
-
Run your server:
php artisan serve
-
You should get the below message. If so, open up your browser and go to
http://127.0.0.1:8000
. Enjoy.Laravel development server started: <http://127.0.0.1:8000>
Diego Camacho - Github page