starter-pack
Combines React (ft. hooks), Redux, Redux-saga and TypeScript with Auth0 as a starting point for modern web apps with solid authentication
파일 탐색기
최종 버전 다운로드 (.zip)- main.tf
- outputs.tf
- variables.tf
- versions.tf
- deploy-artifacts.bash
- deploy-infrastructure.bash
- README.md
- App.tsx
- reducer.ts
- Auth0Wrapper.tsx
- PrivateRoute.tsx
- reducer.ts
- selectors.ts
- Book.ts
- books.json
- BooksPage.css
- BooksPage.tsx
- reducer.ts
- sagas.ts
- selectors.ts
- AppFooter.tsx
- Banner.jpg
- FullscreenLoader.tsx
- GaTracker.ts
- HomePage.tsx
- Navbar.tsx
- NotFoundPage.tsx
- rebassCompat.tsx
- ScrollToTop.ts
- apiService.ts
- configureStore.ts
- favicon.ico
- index.css
- index.ejs
- index.tsx
- rootReducer.ts
- rootSaga.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- .eslintrc.js
- .gitignore
- .nvmrc
- buildspec.yml
- Dockerfile
- LICENSE
- package.json
- pnpm-lock.yaml
- README.md
- server.ts
- tsconfig-webpack.json
- tsconfig.json
- tslint.json
- webpack.config.ts
- webpack.prod.config.ts
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/jch254/starter-pack
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd starter-pack
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -t starter-pack .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run \
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Node.js
쉬움사전 준비물
pnpm install --frozen-lockfile
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
pnpm run dev
개발/실행 서버를 켭니다.
AUTH0_CLIENT_ID=abc AUTH0_DOMAIN=your-tenant.eu.auth0.com pnpm run dev
개발/실행 서버를 켭니다.
pnpm run build
배포용으로 코드를 최적화해서 빌드 파일을 생성합니다.
pnpm run prod
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
