Giter Site home page Giter Site logo

vault's Introduction

Vault

A Symfony 6 application to retrieve and store music for Medlybox. Rewritten concepts from medlybox/import.

php-composer-and-tests docker-publish

Quick Start

This project uses Docker and docker-compose to manage project dependencies. You will need up to date installed and working versions of both. PHP 8.2 is used within the nginx + FPM container setup. There is only one container running fpm for the vault service. Use the nginx image build to Medleybox

# Install PHP dependencies on to host
composer install

# Build docker images
bin/docker-build

# Start docker containers
bin/docker-up

Once the containers have started within the stack, you will have access to the Symfony Console via the provided bin script bin/docker-console.

Bin Scripts

Bin scripts have been written to automate common CLI tasks:

Script Description
bin/docker-build Build docker images via docker-compose
bin/docker-console Run the Symfony Console within the vault container
bin/docker-entrypoint Docker image entrypoint for vault. Starts FPM and then Nginx
bin/docker-up Start the stack locally via docker-compose
bin/run-tests Run PHP CS tests using phpstan and phpcs

Testing

PHP Coding Standards tests using phpstan and squizlabs/php_codesniffer using the Symfony:risky ruleset. Use the run-tests bin script to use the correct command line arguments for each program.

docker-compose exec vault bin/run-tests 

Fix reported issues with phpcbf:

vendor/bin/phpcbf --standard=PSR12 --colors src

API Endpoint tests

Import

curl -d "uuid=dQw4w9WgXcQ" -X POST http://localhost:8084/entry/import

License

GNU General Public License v3.0 or later

See LICENCE to see the full text.

vault's People

Contributors

alpharecon19 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

vault's Issues

Create readme

Create the project readme and detail setup instructions

[Tracker] API

  • Setup controllers and routing within Symfony
  • Implement route for importing tracks

Code Quality

Implement code quality checks to this repo. Possibly via Github Actions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.