Skip to content

wobqqq/laravel-bank-search

Repository files navigation

Bank search

Services and Tools

  • NGINX
  • PHP 8.3
  • Composer 2.7
  • MySQL 8.0
  • Laravel 11
  • Nova 4

Usage

.env configuration

Number of parallel processes for web resource parsing:

PARSER_QUEUE_PROCESSES=15

Number of retries to parse the resource if an error occurs:

PARSER_REQUEST_RETRIES=3

Minimum number of characters that page content can contain:

PARSER_MIN_PAGE_CONTENT_SIZE=100

Commands

Start the resource parser:

docker exec -t laravel-bank-search-php-fpm php artisan app:resource-parser

Managing resources and pages

http://localhost/admin

Default credentials:

Email: [email protected]

Password: admin

API documentation

http://localhost/api/documentation

Search Example

http://localhost/search-example

Quick Start Installation

Step 1. Install Docker, Docker Compose.

Step 2. Clone the repository of project.

Step 3. Create a .env file based on .env.example and set up the environment variables:

cp .env.example .env

Step 4. Create a auth.json file based on auth.example.json and set your project credentials:

cp auth.example.json auth.json

Step 5. Set your UID and GID in the .env file (By default these values are set to 1000).

Step 6. Run the containers:

docker-compose up -d

This will run all the services described in docker-compose.yml in the background.

Step 7. Run project installation:

docker exec -t laravel-bank-search-php-fpm composer project.install

This will run composer install, DB migrations, IDE helper, etc.

Step 8. Open the application in your browser:

Application URL - http://localhost

Running and Stopping the Project

After the quick start installation, you can start and stop the project with the following commands.

Run the containers:

docker-compose up -d

Stop the containers:

docker-compose down

Additional Commands

Code fix:

docker exec -t laravel-bank-search-php-fpm composer code.fix

Code analysis:

docker exec -t laravel-bank-search-php-fpm composer code.analyse

Code fix and analysis:

docker exec -t laravel-bank-search-php-fpm composer code.debug

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages