Some checks failed
Telegram Mini App Shop Builder / Compute version metadata (push) Has been cancelled
Telegram Mini App Shop Builder / Run Frontend tests (push) Has been cancelled
Telegram Mini App Shop Builder / Run Backend tests (push) Has been cancelled
Telegram Mini App Shop Builder / Run PHP_CodeSniffer (push) Has been cancelled
Telegram Mini App Shop Builder / Build module. (push) Has been cancelled
Telegram Mini App Shop Builder / release (push) Has been cancelled
34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
# Demo code for interviewing
|
|
|
|
This is my personal commercial pet project, so:
|
|
|
|
1. All sensitive data has been renamed and/or deleted. It can break autoloading and other cases, but the code is ready for reviewing anyway.
|
|
2. All git commits history has been squashed to the one by the previous reason.
|
|
3. The minimum php version is 7.4. This is requirement by the system (external CMS in which my code integrates). So the main PHP8 features not implemented. But that doesn't mean I don't have the latest PHP versions skills.
|
|
|
|
# Directory structure
|
|
|
|
The project has monorepo includes frontend (vuejs) and backend (php).
|
|
|
|
## Backend structure main points:
|
|
```
|
|
backend - native php code with my framework.
|
|
└── src
|
|
├── app - the main application code
|
|
├── bastion - the admin panel application code
|
|
├── cli.php - cli entrypoint
|
|
├── composer.json
|
|
├── composer.lock
|
|
├── configs
|
|
├── console - CLI application
|
|
├── database
|
|
├── framework - self-written php framework
|
|
├── phpstan.neon
|
|
├── phpunit.xml
|
|
├── stubs
|
|
└── tests
|
|
```
|
|
|
|
|
|
|