Skip to content

MKoding/laravel-docker

 
 

Repository files navigation

Crypto currency wallet API

Based on 540 / laravel-docker project.

Project Status Image Commit Activity Image Last Commit Image

Solution Status Image Tests Status Image Automation Status Image

Contributors of the project:

Project Contributors Image


How to install the project

The project must be mounted using docker:

  • Start docker daemon.
  • Run your docker machine:
    • docker-compose up -d
  • Enter to the docker machine:
    • docker exec -it laravel-php sh
  • From inside the machine:
    • Run: composer install
    • Run: cp .env.example .env
    • Run: php artisan key:generate
    • Run: php artisan migrate
    • Run: php artisan db:seed
  • Web running on http://localhost:8088
  • Api status check running on GET request on http://localhost:8088/api/status
  • Swagger running on http://localhost:8082/
  • Postman base collection file can be found on src/postman
  • phpMyAdmin running on http://localhost:9191
    • User: root
    • Password: secret
  • As database we use MySQL:
    • Database name: laravel
    • Database user: root
    • Database password: secret
  • To stop de container:
    • docker-compose stop

How to colaborate with the project

Install the pre-commit:

  • From outside the machine:
    • Run: composer install
    • Run: cp git-hooks/pre-commit .git/hooks/pre-commit
    • Run: chmod +x .git/hooks/pre-commit

Commit rules:

  • Commit syntax:
    • git commit -m "[] - <your commit here>"
  • If there is a "PHPCS Failed in a File", run:
    • ./phpfixer
  • Create one branch for each issue:
    • git checkout -b <branch name here>
  • If you want to merge your work with the develop branch open a pull request.
  • When an issue is closed:
    • git commit -m "[#issueId] - <your commit here>"

:)

About

Crypto currency wallet API based on 540 / laravel-docker project.

Resources

Stars

Watchers

Forks

Languages

  • VBA 63.9%
  • PHP 32.2%
  • Blade 3.2%
  • Other 0.7%