next-hono-lucia
A Next.js (v15) template that uses Hono as the API framework and Lucia for authentication.
파일 탐색기
최종 버전 다운로드 (.zip)- extensions.json
- settings.json
- .gitkeep
- page.tsx
- verification-form.tsx
- page.tsx
- register-form.tsx
- login-form.tsx
- page.tsx
- page.tsx
- layout.tsx
- route.ts
- client-user.tsx
- layout.tsx
- not-found.tsx
- page.tsx
- avatar.tsx
- breadcrumb.tsx
- button.tsx
- card.tsx
- checkbox.tsx
- collapsible.tsx
- dropdown-menu.tsx
- form.tsx
- input-otp.tsx
- input.tsx
- label.tsx
- password-input.tsx
- separator.tsx
- sheet.tsx
- sidebar.tsx
- skeleton.tsx
- sonner.tsx
- tooltip.tsx
- app-sidebar.tsx
- auth-provider.tsx
- logout.tsx
- nav-main.tsx
- nav-projects.tsx
- nav-user.tsx
- providers.tsx
- team-switcher.tsx
- theme-toggle.tsx
- confirmation-code.tsx
- client.ts
- server.ts
- use-mobile.tsx
- routes.ts
- utils.server.tsx
- utils.ts
- auth.ts
- index.ts
- send-registration-code.ts
- verify.ts
- index.ts
- login.ts
- logout.ts
- index.ts
- secret.ts
- actions.ts
- client.ts
- error.ts
- index.ts
- types.ts
- 0000_snapshot.json
- _journal.json
- 0000_stiff_lightspeed.sql
- index.ts
- schema.ts
- auth.ts
- globals.css
- .dockerignore
- .env
- .eslintrc.js
- .gitignore
- .prettierrc.js
- CODE_OF_CONDUCT.md
- components.json
- custom.d.ts
- Dockerfile
- drizzle.config.ts
- LICENSE
- next-env.d.ts
- next.config.ts
- package.json
- pnpm-lock.yaml
- postcss.config.js
- README.md
- reset.d.ts
- tailwind.config.ts
- tsconfig.json
- tsconfig.tsbuildinfo
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/TheBinaryGuy/next-hono-lucia
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd next-hono-lucia
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -t next-hono-lucia .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 next-hono-lucia
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Node.js
쉬움사전 준비물
pnpm create next-app your-app-name -e https://github.com/TheBinaryGuy/next-hono-lucia
이 명령어를 터미널에 그대로 입력해 실행하세요.
pnpm db:migrate
이 명령어를 터미널에 그대로 입력해 실행하세요.
pnpm dev
개발/실행 서버를 켭니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
