MAIIA - Backend Technical Test

Pre-Requisites

  • Java 11
  • Gradle
  • npm/yarn

Backend

The backend is a SpringBoot project using Gradle. You can open it in your favorite IDE and run it as a SpringBoot app through Java 11.

You can also run it through your CLI

You can run the app with the following command

./gradlew bootRun

If you want to run unit tests in CLI :

./gradlew test

Frontend

First, you need to cd into the right folder

cd ./client

Then install the project dependencies:

yarn install

Finally you can run the development server:

  For Linux and Mac users:

yarn dev

  For Windows users:

yarn dev-windows

Open http://localhost:3000 with your browser to see instructions for the technical test. By default, all API calls will be redirected to http://localhost:8080

You should consider this technical test a TDD exercise, hence the existing tests should not be modified (but feel free to add new/more test cases).

Editor

The instructions work best with Visual Studio Code which provides an API to open local files directly from the browser by clicking a link.

If you favor another text editor providing a similar API feel free to modify src/components/EditorLink.tsx to suit your needs.