An open API service indexing awesome lists of open source software.

https://github.com/spacesick/blip

Example Laravel + Xendit full stack payment app for educational purposes
https://github.com/spacesick/blip

laravel livewire payment-gateway xendit

Last synced: 7 months ago
JSON representation

Example Laravel + Xendit full stack payment app for educational purposes

Awesome Lists containing this project

README

          

# Blip

An example full stack payment app built using Laravel, Livewire, and Xendit for educational purposes.

## Running locally

Make sure you have PHP 8.2, Composer, Node.js, and NPM (or any other Node package manager you desire) installed on your machine.

1. Clone the repo.
2. Create a `.env` file in the root project directory using `.env.example`. Notably, you must fill in `APP_KEY`, `XENDIT_API_KEY`, and `XENDIT_PUBLIC_API_KEY`.
3. Create a mysql database. You can use XAMPP here.
4. Run the following commands,

```bash
composer install
npm install

npm run build # or npm run dev

php artisan key:generate

php artisan migrate:fresh --seed
php artisan storage:link

php artisan serve --port=8000
```

## Information

Default seeded user credentials:
- email: `test@example.com`
- password: `terminal`