Search developers on github by username!
This is a simple approach to build a decoupled application using DDD, Hexagonal Architecture, and CQRS.
This application should be used only as example to apply some best practices. For the moment is an incomplete example, only is used as proof of concept.
By the way ... this application only use next concepts (for time being):
- query bus
- Value object
- Read model
- Docker Compose ^ 3.4
- clone this project:
https://github.com/juancama/devhub.git
- default setup:
make setup
Port is not available? you can change.
# .env
DEVELOPER_HUB_WEB_PORT=<yourPort>
- Setup your personal token (https://github.com/settings/tokens)
# ./applications/developer-hub/.env
GITHUB_USER=<username>
GITHUB_TOKEN=<token
- Run app!
make serve
- Web search:
go to http://localhost:3200
- CLI search:
make search-developer username="juancama"
$ make help
setup First time application setup
serve Up application
tests Run all tests
unit-tests Run unit tests
integration-tests Run integration tests
composer Execute composer command. Example: make composer cmd="require ramsey/uuid"