Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dkhorev/spot-n-plus-1-sql-query-problems-early
This is a repo with example code for article https://medium.com/@dkhorev/laravel-spot-n-1-sql-query-problems-early-be28125ea8d4
https://github.com/dkhorev/spot-n-plus-1-sql-query-problems-early
laravel sql unit-testing
Last synced: about 2 months ago
JSON representation
This is a repo with example code for article https://medium.com/@dkhorev/laravel-spot-n-1-sql-query-problems-early-be28125ea8d4
- Host: GitHub
- URL: https://github.com/dkhorev/spot-n-plus-1-sql-query-problems-early
- Owner: dkhorev
- License: mit
- Created: 2022-07-16T13:00:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T18:58:43.000Z (over 1 year ago)
- Last Synced: 2023-02-23T10:28:12.867Z (over 1 year ago)
- Topics: laravel, sql, unit-testing
- Language: PHP
- Homepage:
- Size: 505 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dkhorev/spot-n-plus-1-sql-query-problems-early
This is a repo with example code for
article [https://medium.com/@dkhorev/laravel-spot-n-1-sql-query-problems-early-be28125ea8d4](https://medium.com/@dkhorev/laravel-spot-n-1-sql-query-problems-early-be28125ea8d4)### Setup & run
`composer i`
`cp .env.example .env`
Fill in DB credentials in `.env`
Seed database: `php artisan migrate:fresh --seed`