Skip to content

NONstop5/indigoLab-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project tests and linter statuses:

Main

IndigoLab test project

Requirements

  • PHP >= 8.3
  • Composer >= 2
  • Make >= 4
  • Docker

Clone project

git clone [email protected]:NONstop5/indigoLab-test.git

Run Docker

cp ./docker/.env.dist ./docker/.env

make docker-build

make docker-up-d

make docker-down

Installation

make install

php bin/console doctrine:migrations:migrate

Run linters

make lint

make lint-fix

Run tests

make test

API requests

Запрос кода подтверждения

POST

http://127.0.0.1:8000/api/user/request-code

{
   "phone_number": "+79157053551"
}

Проверка кода подтверждения

POST

http://127.0.0.1:8000/api/verify-code

{
   "phone_number": "+79157053551",
   "phone_code": "1234"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published