Skip to content

Commit d8cb1b3

Browse files
committed
initial commit
1 parent 5c782a1 commit d8cb1b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+9
-2139
lines changed

.env.example

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ NEXT_PUBLIC_PUBLISHABLE_KEY=""
77
STRIPE_SECRET_KEY=""
88
STRIPE_WEBHOOK_SECRET=""
99
STRIPE_WEBHOOK_LOCAL_SERCRET=""
10-
PLAUSIBLE_DOMAIN=""

README.md

+6-20
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,23 @@
1-
The project that uses AI to generate forms.
1+
The project that uses AI to generate quizzes.
22

33
<img width="1399" alt="Screenshot 2024-01-22 at 3 34 26 PM" src="https://github.com/judygab/ai-form-builder-tutorial/assets/50160672/443a69ed-e441-412a-a84e-ea820022c6dc">
44

55
## Tech Stack
66

7-
- Next-auth - authentication
7+
- Next-auth - Authentication
88
- Shadcn ui - ui library
99
- Open Al - AI Integration
10+
- Langchain - LLM Framework
1011
- Drizzle - Orm
11-
- PostgreSQL - database
12-
- Stripe - payments
12+
- PostgreSQL - Database
13+
- Supabase - Database hosting
14+
- Stripe - Payments
1315
- Tanstack - Table
1416
- Typescript - Type Checking
15-
- Plausible - Analytics
1617
- Vercel - Deployment
1718
- Stripe - Payments
1819
- Zod - Schema Validation
1920

20-
21-
## Features
22-
23-
- Authentication ✅
24-
- AI Form Generation ✅
25-
- Form Publish and Submissions ✅
26-
- View your forms ✅
27-
- Admin Panel ✅
28-
- View Results ✅
29-
- Settings & Upgrade Subscription ✅
30-
- Analytics ✅
31-
- Landing page ✅
32-
- Edit forms ❌ (open to pull requests)
33-
3421
## Getting Started
3522

3623
First, run the development server:
@@ -64,7 +51,6 @@ NEXT_PUBLIC_PUBLISHABLE_KEY=""
6451
STRIPE_SECRET_KEY=""
6552
STRIPE_WEBHOOK_SECRET=""
6653
STRIPE_WEBHOOK_LOCAL_SERCRET=""
67-
PLAUSIBLE_DOMAIN=""
6854
```
6955

7056
## Deploy on Vercel

package-lock.json

-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"lucide-react": "^0.309.0",
3030
"next": "14.0.1",
3131
"next-auth": "^5.0.0-beta.5",
32-
"next-plausible": "^3.12.0",
3332
"pdf-parse": "^1.1.1",
3433
"pg": "^8.11.3",
3534
"postgres": "^3.4.3",

src/app/api/form/new/route.ts

-42
This file was deleted.

src/app/api/quizz/generate/route.ts

-115
This file was deleted.

src/app/api/quizz/generate/saveToDb.ts

-48
This file was deleted.

0 commit comments

Comments
 (0)