Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

max4ever/acme_color_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Demo task for the "Acme" company. Create a RESTful API server for GET, POST, DELETE operations on a Color entity. The color has a "name" and a "hex" value.

Rules

Install php dependencies

docker run --rm -v ${PWD}:/var/www -it composer:2.3 bash -c "cd /var/www && composer install"

Run phpunit tests:

docker run --rm -v ${PWD}:/var/www -it php:7.4-alpine sh -c "cd /var/www/ && php vendor/bin/phpunit tests/"

Run

Nginx && mysql ...

Open http://localhost/color/

GET

POST

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published