Thanks to visit codestin.com
Credit goes to github.com

Skip to content

πŸ”₯ API Backend undangan digital Ulems yang andal, sederhana, mudah diintegrasikan, berperforma tinggi, dan dibangun dengan "Kamu PHP Framework".

License

Notifications You must be signed in to change notification settings

SalmanAlmajali/undangan-api

Β 
Β 

Repository files navigation

kamu

PHP Programming Language Total Downloads views Repo size License

πŸ“– About Kamu

"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.

πŸ“‘ Api Spec

See in postman collection

https://www.postman.com/dewanakl/workspace/undangan/collection/20716209-a29ef362-b4dc-4c02-8904-d90749a40842?action=share

☁️ Deployment

πŸ› οΈ Run without docker
  • 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
🐳 Run with docker
  • 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
⚑ Deployment on vercel
  • Create .env file

    cp .env.example .env
  • Install package

    composer install
  • Create key application

    php saya key
  • Execute migration database

    php saya migrasi --gen
  • Push on your github.

  • Create new project in vercel.

  • Import from your repository.

  • Add environment variables :

    • DB_HOST (your host cloud dbms)
    • DB_PASS (your password cloud dbms)
    • DB_USER (your username cloud dbms)
    • DB_NAME (your name of database cloud dbms)
    • DB_PORT (your port cloud dbms)
    • DB_DRIV (type cloud dbms [ex. mysql or pgsql])
    • JWT_KEY [ex. 123]
    • HTTPS [true]
    • DEBUG [false]
    • LOG [false]
    • APP_KEY [copy from your local env]
  • Done.

πŸš€ Get Started Project

  • 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

🀝 Contributing

I'm very open to those of you who want to contribute to Kamu framework!

🐞 Security Vulnerabilities

If you find a security vulnerability in this Kamu, please email DKL via [email protected].

πŸ“œ License

Kamu framework is open-sourced software licensed under the MIT license.

About

πŸ”₯ API Backend undangan digital Ulems yang andal, sederhana, mudah diintegrasikan, berperforma tinggi, dan dibangun dengan "Kamu PHP Framework".

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 90.0%
  • CSS 7.2%
  • Hack 1.4%
  • Dockerfile 1.2%
  • JavaScript 0.2%