Project developed to allow checking available options of urban mobility.
This is API part of the project, which is responsible for fetching data from different providers and returning it in unified format.
API is consumed by applications in those repositories:
- Baqme
- Beam
- Beryl
- BinBin
- Bird
- BitMobility
- Bolt
- Docomo
- Dott
- Felyx
- GoSharing
- Hop
- Hulaj
- Lime
- Link
- Neuron
- Quick
- Ryde
- Sixt
- Spin
- Tier
- Urent
- Veo
- Voi
- WheeMove
- Wind
- Zwings
cp .env.example .env
make init
make shell
# inside container
npm run dev
Application will be running under localhost:3851 and http://escooters.blumilk.localhost/ in Blumilk traefik environment. If you don't have a Blumilk traefik environment set up, follow the instructions in this repository.
Before run every command from below list, you must run shell:
make shell
Composer:
composer <command>
Run backend tests:
composer test
Lints backend files:
composer cs
Lints and fixes backend files:
composer csf
Artisan commands:
php artisan <command>
Runs a queue that processes importers' jobs:
php artisan queue:work
If you want to run frontend, you can use following commands:
Compiles and hot-reloads frontend for development:
npm run dev
Compiles and minifies for production:
npm run build
Lints frontend files:
npm run lint
Lints and fixes frontend files:
npm run lintf
service | container name | default host port |
---|---|---|
app | escooters-app-dev | 3851 |
database | escooters-db-dev | 3853 |
mailpit | escooters-mailpit-dev | 8566 |
redis | escooters-redis-dev | 3852 |