"Kamu" merupakan PHP framework yang sangat simpel, memberikan pengalaman seolah-olah berada di localhost meskipun dalam mode production. Dibantu dengan "Saya" konsol yang membantu pengembangan aplikasi secara efisien.
See in postman collection
https://www.postman.com/dewanakl/workspace/undangan/collection/20716209-a29ef362-b4dc-4c02-8904-d90749a40842?action=share
Create file env
cp .env.example .env
Install package
composer install
Create key application
php saya key
Execute migration database
php saya migrasi --gen
Run in development server
php saya coba
Create file env
cp .env.example .env
Change and customize env file
BASEURL=https://your.domain.or.ipaddress:8080/
DB_DRIV=pgsql
DB_HOST=db
DB_PORT=5432
DB_NAME=undangan
DB_USER=root
DB_PASS=12345678
JWT_KEY=valueIsSecure
Build and run image
docker compose up --build -d
Execute migration
NOTE: Wait until the database is ready.
docker exec undangan-app php saya migrasi --gen
Clone or download this repository
git clone https://github.com/dewanakl/undangan-api.git
Install package
composer install
Create .env file
cp .env.example .env
Execute migration database
php saya migrasi --gen
Create key application
php saya key
Push on your github.
Create new project in vercel.
Import from your repository.
Change environment variables in your project on vercel.
Add this :
Click deployments tab in vercel project.
Click the most recent deploy.
Click dot three and redeploy.
Done.
Create a project with composer
composer create-project kamu/kamu coba-app
Move the folder
cd coba-app
Run in development server
php saya coba
I'm very open to those of you who want to contribute to Kamu framework!
If you find a security vulnerability in this Kamu, please email DKL via dewanakretarta29@gmail.com.
Kamu framework is open-sourced software licensed under the MIT license.