Code Monkey home page Code Monkey logo

laravel-bank-search's Introduction

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

laravel-bank-search's People

Contributors

wobqqq avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.