Skip to content

Latest commit

 

History

History
91 lines (68 loc) · 2.56 KB

README.md

File metadata and controls

91 lines (68 loc) · 2.56 KB

Bands and Albums

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.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Install

  1. Clone this repo into your desired directory:

    git -C <your path> clone https://github.com/diegocam/Bands.git
    
  2. Go into your application:

    cd <your path>
    
  3. Create the .env file by copying from the example provided (.env.example)

    cp .env.example .env
     
    
  4. Modify the .env file with your desired local environment configuration options

  5. Create your Encryption Key:

    php artisan key:generate
    
  6. Create your database tables (this will run the migrations located in /Bands/database/migrations/):

    php artisan migrate
    
  7. Populate your database tables (this will populate your tables with fake data coming form /Bands/database/seeds):

    php artisan db:seed
    
  8. Run composer:

    composer install
    
  9. Run your server:

    php artisan serve
    
  10. 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>
    

Built With

Author

Diego Camacho - Github page