geobas / laravel-web-service-assignment

The goal of this assignment is to create a simple web service that will handle articles and their related comments, as well as send the articles to at least one external service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Technical test for a simple web service written in Laravel CI

Description

The goal of this assignment is to create a simple web service that will handle articles and their related comments, as well as send the articles to at least one external service.


Set up

1. git clone git@github.com:geobas/laravel-web-service-assignment.git
2. docker-compose up -d && docker exec -it laravel-web-service-app bash
3. composer install
4. composer run-script post-root-package-install
5. Modify the generated .env accordingly to .docker/mysql/.env
6. ./artisan migrate --seed
7. Go to http://localhost:8080

Postman collection

  • A collection of all endpoints is available here
  • Create a new Environment and set a 'domain' variable with value http://localhost:8080

Execute tests

composer test

About

The goal of this assignment is to create a simple web service that will handle articles and their related comments, as well as send the articles to at least one external service


Languages

Language:PHP 87.6%Language:Blade 11.1%Language:Shell 0.7%Language:Dockerfile 0.6%