External memory app - allows one to quickly post and search text notes. This repo represents the backend app - it offers http API for clients.
- Blog post: https://lessthan12ms.com/clean-architecture-implemented-as-a-php-app/
- Demo: https://ema.lessthan12ms.com
- UI/Client repo: https://github.com/lezhnev74/ema-web-client
- I needed something better than a todo app to practice Clean Architecture inspired by Uncle Bob's talks
- Evernote, disk files (like Quiver app) and other tools disappointed me. I needed a light, fast post-n-search app for storing code snippets and linux commands.
- Secondly I needed a simple app to play with the DDD concepts along with Service Bus oriented architecture. All these things found its places in this project.
#requires php7.1-apcu module (for DI-container caching), see function `container()` in helpers file
cd <project root>
# sqlite database will be located in there
mkdir storage
cp .env.example .env
# then edit .env file
composer update
# then run database migrations
php migrations/doctrine.php migrations:migrate