-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b054486
commit 2937912
Showing
2 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,28 @@ | ||
# laravel starter kit | ||
|
||
필요한 최소한의 기능을 구현해놓은 템플릿입니다. | ||
[Sail](https://laravel.com/docs/10.x/sail)을 사용하여 실행할 수 있습니다. | ||
|
||
- PHP 8.3 & Laravel 11 | ||
- Redis | ||
- AWS ECR, EB, S3 | ||
- [next-starter-kit](https://github.com/LeeByeongMuk/next-starter-kit) | ||
PHP 8.3 & Laravel 11.x를 사용한 최소 기능(User, Post, Comment, Like)을 구현한 템플릿입니다. | ||
|
||
## Install | ||
|
||
[Sail](https://laravel.com/docs/10.x/sail)을 사용하여 실행할 수 있습니다. | ||
(배포는 AWS ECR, EB를 사용합니다) | ||
|
||
```bash | ||
brew install [email protected] composer | ||
composer install | ||
sail up # or ./vendor/bin/sail up | ||
sail artisan migrate --seed | ||
sail artisan scout:import "App\Models\Post" | ||
brew install [email protected] composer && composer install | ||
cp .env.example .env && php artisan key:generate && php artisan key:generate --env=testing | ||
|
||
./vendor/bin/sail up -d # 최초 실행시 약 10분 소요 | ||
./vendor/bin/sail artisan migrate --seed | ||
./vendor/bin/sail artisan scout:import "App\Models\Post" | ||
# ./vendor/bin/sail artisan test | ||
``` | ||
|
||
## OpenAPI | ||
|
||
Scramble - Laravel OpenAPI(Swagger) Generator 를 사용하여 API 문서를 확인할 수 있습니다. | ||
- localhost/docs/api | ||
|
||
- [localhost/docs/api](http://localhost/docs/api) | ||
|
||
### FE | ||
|
||
- [next-starter-kit](https://github.com/LeeByeongMuk/next-starter-kit) |