An open API service indexing awesome lists of open source software.

https://github.com/tbreuss/electricbass

My long time hobby project about bass guitar, bass playing, music, and more.
https://github.com/tbreuss/electricbass

bass-guitar blog bootstrap5 example-project music website yii2

Last synced: 12 months ago
JSON representation

My long time hobby project about bass guitar, bass playing, music, and more.

Awesome Lists containing this project

README

          

# Electricbass

> My long time hobby project about bass playing and more.

## Note

This project does not contain a database.
Without one, it cannot be started locally.
However, the project can serve as an illustrative example for a Yii2 web application.
I hope this is helpful for one or the other.

## Static Code Analysis

To analyse code base using PHPStan run the following command.

~~~bash
vendor/bin/phpstan analyse --memory-limit=256M
~~~

Or

~~~bash
docker-compose run php vendor/bin/phpstan analyse --memory-limit=256M
~~~

## PHP CodeSniffer

Analyse

vendor/bin/phpcs

Fix

vendor/bin/phpcbf

## Build Asset Files

Build CSS

npm run build-css

Build minified CSS

npm run build-min-css

Build JavaScript

npm run build-js

Build minified JavaScript

npm run build-min-js

Generated asset files are stored in folder `/assets/app/dist`.

## cURL Calls (for local development)

Normal call

curl https://www.electricbass.test --insecure

Test redirection

curl -L --max-redirs 5 http://electricbass.test/blog/ --insecure

## Google YouTube API

https://www.googleapis.com/youtube/v3/playlistItems?key=API_KEY&playlistId=PLsJsWn3-KmsqhFcERx2TjNH0VnUEk1lyG&part=snippet&maxResults=50