Skip to content

Commit 82be911

Browse files
committed
fixes
1 parent bae2847 commit 82be911

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

+10153
-3284
lines changed

.env.example

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ ANTHROPIC_API_KEY=
2727
# OpenAI (DALL-E)
2828
OPENAI_API_KEY=
2929

30+
# Resend (production)
31+
RESEND_API_KEY=
32+
RESEND_FROM_EMAIL=No Context <noreply@nocontextbot.com>
33+
34+
# MailHog (development only — emails visible at http://localhost:8025)
35+
MAILHOG_HOST=localhost
36+
MAILHOG_PORT=1025
37+
3038
# Stripe
3139
STRIPE_SECRET_KEY=
3240
STRIPE_PUBLISHABLE_KEY=

components.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": true,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "",
8+
"css": "src/app/globals.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"iconLibrary": "lucide",
14+
"rtl": false,
15+
"aliases": {
16+
"components": "@/components",
17+
"utils": "@/lib/utils",
18+
"ui": "@/components/ui",
19+
"lib": "@/lib",
20+
"hooks": "@/hooks"
21+
},
22+
"registries": {}
23+
}

docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,12 @@ services:
1313
volumes:
1414
- postgres_data:/var/lib/postgresql/data
1515

16+
mailhog:
17+
image: mailhog/mailhog:latest
18+
platform: linux/amd64
19+
ports:
20+
- "1025:1025"
21+
- "8025:8025"
22+
1623
volumes:
1724
postgres_data:

package.json

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "",
55
"scripts": {
6-
"dev": "next dev",
6+
"dev": "concurrently --kill-others \"next dev --turbopack\" \"pnpm run db:sync --accept-data-loss && pnpm run db:studio\"",
77
"build": "prisma generate && prisma db push && next build",
88
"start": "next start",
99
"lint": "eslint . && prettier --check .",
@@ -12,7 +12,13 @@
1212
"db:generate": "prisma generate",
1313
"db:migrate": "prisma migrate dev",
1414
"db:push": "prisma db push",
15-
"db:studio": "prisma studio",
15+
"db:studio": "prisma studio --browser none",
16+
"db:validate": "prisma validate",
17+
"db:sync": "pnpm db:validate && pnpm db:generate && pnpm db:push",
18+
"db:sync:force": "pnpm db:validate && pnpm db:generate && prisma db push --accept-data-loss",
19+
"db:seed": "pnpm db:sync && prisma db seed",
20+
"up": "docker compose -f development/docker-compose.yaml up -d --wait",
21+
"down": "docker compose -f development/docker-compose.yaml down",
1622
"test": "jest",
1723
"test:watch": "jest --watch",
1824
"test:coverage": "jest --coverage",
@@ -26,6 +32,8 @@
2632
"@prisma/adapter-pg": "^7.4.0",
2733
"@prisma/client": "^7.4.0",
2834
"@prisma/client-runtime-utils": "^7.4.0",
35+
"@react-email/components": "^1.0.7",
36+
"@react-email/render": "^2.0.4",
2937
"@slack/web-api": "^7.14.1",
3038
"@tailwindcss/postcss": "^4.1.18",
3139
"@types/node": "^25.2.3",
@@ -34,18 +42,22 @@
3442
"@upstash/qstash": "^2.9.0",
3543
"@upstash/redis": "^1.36.2",
3644
"@vercel/blob": "^2.2.0",
45+
"bcryptjs": "^3.0.3",
3746
"class-variance-authority": "^0.7.1",
3847
"clsx": "^2.1.1",
3948
"dotenv": "^17.3.1",
4049
"lucide-react": "^0.564.0",
4150
"motion": "^12.34.0",
4251
"next": "^16.1.6",
4352
"next-auth": "^5.0.0-beta.30",
53+
"nodemailer": "^8.0.1",
4454
"openai": "^6.21.0",
4555
"postcss": "^8.5.6",
4656
"prisma": "^7.4.0",
57+
"radix-ui": "^1.4.3",
4758
"react": "^19.2.4",
4859
"react-dom": "^19.2.4",
60+
"resend": "^6.9.2",
4961
"sharp": "^0.34.5",
5062
"stripe": "^20.3.1",
5163
"tailwind-merge": "^3.4.0",
@@ -56,8 +68,11 @@
5668
"@testing-library/jest-dom": "^6.9.1",
5769
"@testing-library/react": "^16.3.2",
5870
"@testing-library/user-event": "^14.6.1",
71+
"@types/bcryptjs": "^3.0.0",
5972
"@types/jest": "^30.0.0",
73+
"@types/nodemailer": "^7.0.9",
6074
"@types/sharp": "^0.31.1",
75+
"concurrently": "^9.2.1",
6176
"eslint": "^9.39.2",
6277
"eslint-config-next": "^16.1.6",
6378
"husky": "^9.1.7",
@@ -68,7 +83,9 @@
6883
"node-mocks-http": "^1.17.2",
6984
"prettier": "^3.8.1",
7085
"prettier-plugin-tailwindcss": "^0.7.2",
71-
"ts-jest": "^29.4.6"
86+
"shadcn": "^3.8.4",
87+
"ts-jest": "^29.4.6",
88+
"tw-animate-css": "^1.4.0"
7289
},
7390
"lint-staged": {
7491
"*.{ts,tsx,js,jsx,css,json,md}": "prettier --write"

0 commit comments

Comments
 (0)