Skip to main content

Supported Coding Test Boilerplates

The project boilerplates you can import into your coding test repository, and how to import one by hand.

Written by Pernilla Ahl

Below you can find a list of supported project boilerplates that you can import using the setup-boilerplate GitHub Actions workflow in your coding test repository.

Each boilerplate includes a minimal project for the selected tech stack and the necessary setup for running the assignment tests remotely.


Available Boilerplates

Backend

Frontend

Fullstack

Mobile


Importing a Boilerplate Manually

Prerequisites

It is recommended to use the GitHub Actions workflow for importing a desired boilerplate project, but if you instead prefer to import boilerplate manually (if you use a Windows machine, do the steps below from git bash), follow the steps below:

  1. Go to your assignment repo's directory in your terminal.

  2. Export the desired boilerplate name from the list above. E.g., export boilerplate=backend-boilerplate-php-laravel

  3. Copy, paste, and run the following snippet:

    For all templates except Mobile:

    cat <<EOF >>init.sh 
    #!/bin/sh
    git clone https://github.com/DevSkillsHQ/$boilerplate.git
    cp $boilerplate/package.json .
    cp $boilerplate/cypress.json .
    cp -r $boilerplate/app* .
    rm -rf $boilerplate
    npm i
    git add cypress.json package* app*
    git commit -m 'Init boilerplate'
    EOF
    chmod +x init.sh
    ./init.sh
    rm init.sh

    For Mobile:

    cat <<EOF >>init.sh 
    #!/bin/sh
    git clone git@github.com:DevSkillsHQ/$boilerplate.git
    rm -rf $boilerplate/.git
    cp -r $boilerplate app/
    rm -rf $boilerplate
    git add app/
    git commit -m 'Init boilerplate'
    EOF
    chmod +x init.sh
    ./init.sh
    rm init.sh

💡 Tip: The coding test itself can import a boilerplate for you when you pick a tech stack. See How to set up the codebase for your coding test.


Any Questions?

Use the chat in the bottom right corner to connect with a member of our support team.

Did this answer your question?