Skip to content

valentininua/test-task-5feb

Repository files navigation

Start

symfony server:start

Project Structure

src/
├── Application/          # Application services / Сервисы приложения
│   └── Service/
├── Domain/               # Domain entities and logic / Доменные сущности и логика
│   ├── Entity/
│   ├── Service/
│   └── ValueObject/
├── Infrastructure/       # Infrastructure layer / Инфраструктурный слой
│ 
└── Controller/

Apply

POST /api/loans/apply

Example

{
    "firstName": "John",
    "lastName": "Doe",
    "age": 30,
    "state": "CA",
    "ssn": "123-45-6789",
    "ficoScore": 700,
    "email": "[email protected]",
    "phone": "+1234567890",
    "monthlyIncome": 5000,
    "loanName": "Personal Loan",
    "termMonths": 12,
    "interestRate": 5.5,
    "amount": 10000
}

Test

php bin/phpunit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages