PIKOBAR Tes Masif COVID-19
Backend API untuk Aplikasi Pendaftaran dan Undangan Tes Masif COVID-19 PIKOBAR.
Petunjuk development
- Ikuti Development Guides https://github.com/jabardigitalservice/development-guides
- Clean Code, ikuti standard style FIG PSR-12 dengan menggunakan PHP Code Sniffer.
- Clean Architecture, ikuti Laravel Best practices https://github.com/alexeymezenin/laravel-best-practices
- Maksimalkan fitur-fitur built-in Laravel. Minimum dependencies.
- Thin Controller. Gunakan Single Action Controller.
- Tulis script Unit dan Feature Test.
- Horizontal scalable, perhatikan 12-factor https://12factor.net
- Log, Log, Log!
Arsitektur Stack
- PHP 7.4, Laravel
- MySQL 5.7
- Keycloak Identity & Access Management
- Postman
Bagaimana cara memulai development?
Clone Repository terlebih dahulu:
$ git clone https://github.com/jabardigitalservice/pikobar-rapidtest-api
Copy file config dan sesuaikan konfigurasinya
$ copy .env-example .env
Install dependencies menggunakan Composer"
$ composer install
Jalankan Artisan untuk migrasi dan seed database:
$ php artisan migrate:fresh --seed
Jalan Artisan Local Development Server:
$ php artisan serve
Run Code Style check
$ ./vendor/bin/phpcs
Run Unit & Feature Test
$ ./vendor/bin/phpunit
Bagaimana cara deployment ke server?
Proses deployment menggunakan CI/CD AWS CodePipeline, CodeBuild, dan AWS Elastic Container Service (ECS).
Kontributor
Terima kasih banyak untuk rekan-rekan volunteers (hire them!),
- Oky Saputra https://github.com/oky31
- Yazid Nurfadil https://github.com/yazidnurfadil