next-hono-lucia
A Next.js (v15) template that uses Hono as the API framework and Lucia for authentication.
File Explorer
Download Latest Version (.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
# Installation Guide
1. Get the code
git clone https://github.com/TheBinaryGuy/next-hono-lucia
Downloads the entire project code from GitHub to your computer.
cd next-hono-lucia
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t next-hono-lucia .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 next-hono-lucia
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Node.js
EasyPrerequisites
pnpm create next-app your-app-name -e https://github.com/TheBinaryGuy/next-hono-lucia
Type this command into your terminal and run it.
pnpm db:migrate
Type this command into your terminal and run it.
pnpm dev
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
