Bikeo is a web-based application that allows cyclists to browse available city bikes, make reservations, rent bikes, and manage their accounts and rental history.
System operators can manage the bike fleet, track bike locations, and handle maintenance. The system integrates with external services for payments, authentication, and bike tracking.
To streamline development and testing, the project utilizes Docker along with a Makefile to simplify common tasks.
The following commands are available:
- Start the application:
make start
This diagram illustrates the primary actors interacting with the system and its external dependencies.
This diagram provides a high-level view of the system's internal architecture, detailing the main containers and their interactions.
This diagram shows the internal parts of the Food Ordering API, how they work together, and how they connect to outside systems.
The project includes various levels of tests
- Run tests:
make test
- Location:
tests/unit - Purpose: Validate individual components and functions in isolation, primarily within the domain layer.
- Location:
tests/integration - Purpose: Test the application and infrastructure layers with database access.
Before running tests, database migrations are executed once - this is controlled by the
APP_RESET_DATABASEvariable, which can be set inphpunit.xml.distor in the environment. Each test runs within a separate transaction: it creates the necessary data, performs assertions, and then rolls back the transaction. As a result, the database remains empty and unchanged after each test.
- Location:
tests/architecture - Purpose: Ensure the system's architecture aligns with design principles and requirements.
- 🧠 PHPStan – Static Analysis
- 🎨 PHP CS Fixer – Code Style Enforcement Purpose: Maintain high code quality aligns with coding standards.