authverse 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -0
- package/dist/index.cjs +827 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +799 -0
- package/dist/template/api/route.ts +4 -0
- package/dist/template/app-auth-uiDesign/forget/page.tsx +7 -0
- package/dist/template/app-auth-uiDesign/layout.tsx +9 -0
- package/dist/template/app-auth-uiDesign/login/page.tsx +7 -0
- package/dist/template/app-auth-uiDesign/reset-password/page.tsx +7 -0
- package/dist/template/app-auth-uiDesign/signup/page.tsx +7 -0
- package/dist/template/components/ForgetComponent.tsx +121 -0
- package/dist/template/components/GithubProviders.tsx +21 -0
- package/dist/template/components/GoogleProviders.tsx +21 -0
- package/dist/template/components/LoginComponent.tsx +145 -0
- package/dist/template/components/Logout.tsx +21 -0
- package/dist/template/components/ResetComponent.tsx +150 -0
- package/dist/template/components/SingUpComponent.tsx +173 -0
- package/dist/template/config/drizzle.config.ts +13 -0
- package/dist/template/config/prisma.config.ts +12 -0
- package/dist/template/db/drizzle.ts +6 -0
- package/dist/template/db/schema.ts +68 -0
- package/dist/template/email/reset-password.tsx +132 -0
- package/dist/template/lib/Mongodb/auth.ts +20 -0
- package/dist/template/lib/Mysql/auth.ts +27 -0
- package/dist/template/lib/Postgresql/auth.ts +20 -0
- package/dist/template/lib/auth-client.ts +5 -0
- package/dist/template/lib/auth-drizzle.ts +16 -0
- package/dist/template/prisma/mongodb/schema.prisma +70 -0
- package/dist/template/prisma/mysql/schema.prisma +68 -0
- package/dist/template/prisma/postgresql/schema.prisma +68 -0
- package/dist/template/proxy/proxy.ts +15 -0
- package/dist/template/server/user.ts +49 -0
- package/package.json +62 -0
package/README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# Authverse
|
|
2
|
+
|
|
3
|
+
Authverse is a modern, lightweight, and developer-friendly
|
|
4
|
+
authentication CLI that helps you set up a **full authentication system
|
|
5
|
+
in one command**.
|
|
6
|
+
|
|
7
|
+
It provides ready-made auth screens, fully configured databases Prisma
|
|
8
|
+
or Drizzle, Better Auth integration, and secure authentication flows
|
|
9
|
+
all generated instantly inside your project.
|
|
10
|
+
|
|
11
|
+
Authverse is built for developers who want **fast, clean, and professional authentication**, without spending days configuring everything manually.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## What Is Authverse?
|
|
16
|
+
|
|
17
|
+
Authverse is a CLI tool that creates a full authentication setup for your
|
|
18
|
+
Next.js project.
|
|
19
|
+
It automatically integrates:
|
|
20
|
+
|
|
21
|
+
- **Better Auth** modern auth framework
|
|
22
|
+
- **ShadCN UI auth screens**
|
|
23
|
+
- **Prisma or Drizzle database setup**
|
|
24
|
+
- **OAuth providers**
|
|
25
|
+
- **API routes + folder structure**
|
|
26
|
+
- **Environment variables**
|
|
27
|
+
- **Full TypeScript support**
|
|
28
|
+
|
|
29
|
+
Instead of manually installing dozens of packages, wiring backend routes,
|
|
30
|
+
and designing UI screens Authverse does everything for you.
|
|
31
|
+
|
|
32
|
+
With just **one single run command**, you get:
|
|
33
|
+
|
|
34
|
+
- Complete backend + frontend authentication setup
|
|
35
|
+
- Fully generated auth UI
|
|
36
|
+
- OAuth + email/password
|
|
37
|
+
- Production-ready security
|
|
38
|
+
- Developer-friendly codebase
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Features
|
|
43
|
+
|
|
44
|
+
- **Login**
|
|
45
|
+
- **Sign Up**
|
|
46
|
+
- **Forgot Password**
|
|
47
|
+
- **Reset Password**
|
|
48
|
+
- **Google OAuth**
|
|
49
|
+
- **GitHub OAuth**
|
|
50
|
+
- **Integrated Better Auth**
|
|
51
|
+
- **ShadCN UI auth screens**
|
|
52
|
+
- **Prisma or Drizzle database support**
|
|
53
|
+
- **Modern folder structure**
|
|
54
|
+
- **TypeScript support**
|
|
55
|
+
- **Production-ready configuration**
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Quick Start
|
|
60
|
+
|
|
61
|
+
Run the following command to initialize Authverse:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
npx authverse@latest init
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Authverse will guide you step-by-step to choose:
|
|
68
|
+
|
|
69
|
+
- Your UI framework
|
|
70
|
+
- Your database Prisma or Drizzle
|
|
71
|
+
- Whether to include auth UI screens
|
|
72
|
+
- Your OAuth providers
|
|
73
|
+
- And automatically generate everything for you
|
|
74
|
+
|
|
75
|
+
After running the CLI, your project will be fully ready with
|
|
76
|
+
**Better Auth**, **ShadCN UI components**, and **database integration**.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Documentation
|
|
81
|
+
|
|
82
|
+
Full documentation is available on the official website:
|
|
83
|
+
**https://authverse.dev**
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## License
|
|
88
|
+
|
|
89
|
+
Authverse is MIT licensed.
|
|
90
|
+
Created and maintained by **Abdirahman Mohamoud**.
|