mauveine / stockmarketapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Logo

Build Status Total Downloads Latest Stable Version License

Laravel + Jetstream

Steps to be done to make the code workable:

  • With PHP8.1 run composer install
  • Copy .env file from .env.example and fill the empty fields from the bottom
  • ./vendor/bin/sail up -d
  • Have the queue service working in the background. Example: sail artisan queue:work
  • Run the migration: sail artisan migrate:fresh --seed
  • Run the scout script for faster model loading: sail artisan scout:import "App\Models\NasdaqListedCompany"
  • Login with the user stock@example.com , password: password

Testing

For testing purposes, there needs to be a different database created.

Copy the .env.example into .env.testing and change the values accordingly

Make sure to run the migration script to fill the database first: sail artisan migrate:fresh --seed --env=testing

To test the only classes that are needed, run the following commands:

sail artisan test --filter=Rapid
sail artisan test --filter=SearchController

License

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

About


Languages

Language:PHP 49.3%Language:Vue 49.1%Language:JavaScript 0.9%Language:Shell 0.5%Language:Blade 0.2%Language:CSS 0.0%