Skip to content

Lambertn33/z-lastfm-songs-app

Repository files navigation

Songs App

============

Project for managing the Songs API from https://last.fm/api

After cloning the project:

  1. run composer install
  2. cp .env.example .env
  • in .env add the following keys:

  • GOOGLE_CLIENT_ID= your google client id

  • GOOGLE_CLIENT_SECRET= your google client secret

  • LASTFM_API_KEY=your lastfm API key

LASTFM_API_URL=https://ws.audioscrobbler.com/2.0/

and update the DB keys:

DB_CONNECTION=your connection DB_HOST=your host DB_PORT=your port DB_DATABASE=your DB name DB_USERNAME=your username DB_PASSWORD=your password

  1. php artisan key:generate
  2. php artisan migrate
  3. php artisan serve
  4. npm run dev

the project is ready on http://localhost:8000/

for caching some variables for avoiding calling env variables every time when services are called tha resuts in slowing down the app, run:

  • php artisan config:cache => to cache variables
  • php artisan config:clear => to clear cached variables

for testing run:

  • php artisan test

About

A Laravel - Vue application that manages the songs with https://www.last.fm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published