Skip to content

Instantly share code, notes, and snippets.

@DimaMinka
Last active August 13, 2018 13:28
Show Gist options
  • Save DimaMinka/282acad16295184bb3283672944cba67 to your computer and use it in GitHub Desktop.
Save DimaMinka/282acad16295184bb3283672944cba67 to your computer and use it in GitHub Desktop.

WordPress-dev-test

Simple test for modern web developers

Project init

  • vagrant/docker init with php7.1+, nginx, mysql
  • repo fork and branch checkout
  • bedrock clone
  • sage clone and install
  • make the commit, pull request and merge to the master

Technical task

  • branch checkout
  • make metabox for pages, with repeater feature (without custom fields plugins):
  • name
  • skill
  • github link
  • get via github api the user data by link in custom fields to json
  • make fields output with blade, click on name should be open user details from json
  • make popup for the details with scss/js
  • make the commit, pull request and merge to the master

Code test

  • branch checkout
  • travis ci config
  • make phpcs test with travis on push and merge to master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment