Skip to content

sonalidudhia/mini_wallet

Repository files navigation

mini_wallet

Test App

Local development

Follow these steps to run the project locally:

  1. Install PHP dependencies with Composer:
composer install
  1. Install JavaScript dependencies:
npm install
  1. Start the frontend build/watch (Vite):
npm run dev
  1. Copy the example environment file and update it:
cp .env.example .env
  • Add your Pusher account credentials to the .env file (APP_ID, APP_KEY, APP_SECRET, and APP_CLUSTER or equivalent) so real-time events work.
  1. Run database migrations:
php artisan migrate
  1. Seed the database (creates test user(s)):
php artisan db:seed
  1. Serve the application locally:
php artisan serve
  1. Login with the test account:
  1. Open the wallet page in your browser:
http://127.0.0.1:8000/wallet
  1. Now you can exercise and test the page.

  2. To verify Pusher real-time functionality, run the queue worker locally in a separate terminal:

php artisan queue:work

Notes:

  • If you use a different host/port for php artisan serve, update the URL accordingly.
  • Ensure queue driver is configured in .env (e.g., QUEUE_CONNECTION=database) and migrations for jobs are in place if using the database queue.

About

Test App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published