yii2-angular-boilerplate
Yii2 REST API + Angular 12 Boilerplate (Frontend/Backend)
파일 탐색기
최종 버전 다운로드 (.zip)- main.yml
- extensions.json
- settings.json
- AppAsset.php
- RbacController.php
- console.php
- db.php
- params.php
- test.php
- test_db.php
- web.php
- SiteController.php
- HttpBearerAuth.php
- 000-default.conf
- apache2.conf
- .bashrc
- composer
- docker-entrypoint.sh
- base.ini
- xdebug.ini
- html.php
- email-confirmation-html.php
- password-reset-token-html.php
- signup-confirmation-html.php
- signup-success-html.php
- m170125_081951_create_setting_table.php
- m170125_082006_create_user_table.php
- m170506_004517_init_rbac.php
- LoginForm.php
- PasswordResetForm.php
- PasswordResetRequestForm.php
- PasswordResetTokenVerificationForm.php
- Setting.php
- SignupConfirmForm.php
- SignupForm.php
- User.php
- UserEditForm.php
- UserSearch.php
- SettingController.php
- StaffController.php
- UserController.php
- Module.php
- .gitignore
- .gitignore
- .gitignore
- AcceptanceTester.php
- FunctionalTester.php
- UnitTester.php
- _bootstrap.php
- yii
- yii.bat
- _bootstrap.php
- PingCest.php
- SettingCest.php
- UserCest.php
- UserTest.php
- _bootstrap.php
- _bootstrap.php
- acceptance.suite.yml.example
- functional.suite.yml
- unit.suite.yml
- main.php
- about.php
- contact.php
- error.php
- index.php
- login.php
- .gitignore
- site.css
- .htaccess
- favicon.ico
- index-test.php
- index.php
- robots.txt
- .bowerrc
- .dockerignore
- .editorconfig
- .gitignore
- codeception.yml
- composer.json
- composer.lock
- Dockerfile
- LICENSE.md
- phpcs.xml.dist
- requirements.php
- yii
- yii.bat
- settings.json
- tsconfig.e2e.json
- nginx.conf
- docker-entrypoint-dev.sh
- docker-entrypoint.sh
- dashboard-routing.module.ts
- dashboard.component.html
- dashboard.component.ts
- dashboard.module.ts
- backend-layout.component.html
- backend-layout.component.ts
- simple-layout.component.html
- simple-layout.component.ts
- login-routing.module.ts
- login.component.html
- login.component.ts
- login.module.ts
- logout-routing.module.ts
- logout.component.ts
- logout.module.ts
- auth.guard.ts
- global.service.spec.ts
- global.service.ts
- pagination.ts
- response-body.ts
- setting-data.service.ts
- setting.ts
- staff-data.service.ts
- staff-list.ts
- staff.service.ts
- staff.ts
- user-data.service.ts
- user-list.ts
- user.ts
- 404.component.html
- 404.component.ts
- setting-global-form.component.html
- setting-global-form.component.ts
- setting-global-list.component.html
- setting-global-list.component.ts
- setting-global-routing.module.ts
- setting-global.module.ts
- setting-routing.module.ts
- setting.module.ts
- spinner.component.scss
- spinner.component.ts
- spinner.scss
- shared.module.ts
- shared.service.ts
- staff-form.component.html
- staff-form.component.ts
- staff-list.component.html
- staff-list.component.ts
- staff-routing.module.ts
- staff.module.ts
- user-form.component.html
- user-form.component.ts
- user-list.component.html
- user-list.component.ts
- user-routing.module.ts
- user.module.ts
- app.component.html
- app.component.scss
- app.component.spec.ts
- app.component.ts
- app.module.ts
- app.routing.ts
- ngx-bootstrap-logo.svg
- .gitkeep
- environment.prod.ts
- environment.ts
- _custom.scss
- _variables.scss
- styles.scss
- favicon.ico
- index.html
- main.ts
- polyfills.ts
- test.ts
- tsconfig.app.json
- tsconfig.spec.json
- typings.d.ts
- .browserslistrc
- .dockerignore
- .editorconfig
- .eslintrc.json
- .gitignore
- .prettierignore
- .prettierrc.js
- angular.json
- Dockerfile
- karma.conf.js
- package-lock.json
- package.json
- README.md
- tsconfig.json
- tslint.json
- settings.json
- index.e2e-spec.ts
- login.e2e-spec.ts
- global.po.ts
- header.po.ts
- index.po.ts
- login.po.ts
- tsconfig.e2e.json
- nginx.conf
- docker-entrypoint-dev.sh
- docker-entrypoint.sh
- account-edit.component.html
- account-edit.component.ts
- account-routing.module.ts
- account.component.html
- account.component.ts
- account.module.ts
- confirm-routing.module.ts
- confirm.component.html
- confirm.component.ts
- confirm.module.ts
- index-routing.module.ts
- index.component.html
- index.component.ts
- index.module.ts
- frontend-layout.component.html
- frontend-layout.component.ts
- login-routing.module.ts
- login.component.html
- login.component.ts
- login.module.ts
- logout-routing.module.ts
- logout.component.ts
- logout.module.ts
- auth.guard.ts
- global.service.spec.ts
- global.service.ts
- response-body.ts
- user-data.service.ts
- user.service.ts
- user.ts
- 404.component.html
- 404.component.ts
- password-reset-routing.module.ts
- password-reset.component.html
- password-reset.component.ts
- password-reset.module.ts
- password-reset-request-routing.module.ts
- password-reset-request.component.html
- password-reset-request.component.ts
- password-reset-request.module.ts
- sample-page-routing.module.ts
- sample-page.component.html
- sample-page.component.ts
- sample-page.module.ts
- spinner.component.scss
- spinner.component.ts
- spinner.scss
- shared.module.ts
- signup-routing.module.ts
- signup.component.html
- signup.component.ts
- signup.module.ts
- app-routing.module.ts
- app.component.html
- app.component.scss
- app.component.spec.ts
- app.component.ts
- app.module.ts
- ngx-bootstrap-logo.svg
- .gitkeep
- environment.prod.ts
- environment.ts
- _custom.scss
- _variables.scss
- styles.scss
- favicon.ico
- index.html
- main.ts
- polyfills.ts
- test.ts
- tsconfig.app.json
- tsconfig.spec.json
- typings.d.ts
- .browserslistsrc
- .dockerignore
- .editorconfig
- .eslintrc.json
- .gitignore
- .prettierignore
- .prettierrc.js
- angular.json
- Dockerfile
- karma.conf.js
- package-lock.json
- package.json
- README.md
- tsconfig.json
- tslint.json
- my.cnf
- nginx.conf
- robots.txt
- .gitignore
- .gitlab-ci.yml
- docker-compose.actions.yml
- docker-compose.yml
- LICENSE
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/chrisleekr/yii2-angular-boilerplate
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd yii2-angular-boilerplate
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
$ docker-compose up -d
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
docker exec -it api /bin/sh
이 명령어를 터미널에 그대로 입력해 실행하세요.
docker exec api composer run sniff
이 명령어를 터미널에 그대로 입력해 실행하세요.
docker exec api composer run test:unit
이 명령어를 터미널에 그대로 입력해 실행하세요.
docker logs backend --follow
이 명령어를 터미널에 그대로 입력해 실행하세요.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Node.js
쉬움사전 준비물
$ npm run test
이 명령어를 터미널에 그대로 입력해 실행하세요.
$ npm run e2e
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
4. PHP (Composer)
쉬움사전 준비물
docker exec api composer run sniff
이 명령어를 터미널에 그대로 입력해 실행하세요.
docker exec api composer run test:unit
이 명령어를 터미널에 그대로 입력해 실행하세요.
php -S localhost:8000 같은 내장 서버로 실행한 뒤 브라우저에서 http://localhost:8000 으로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
