@@ -66,6 +66,8 @@ Threads web application, a social media platform that allows users to share thei
66
66
```
67
67
nextjs13-threads/
68
68
├── app/
69
+ ├ ├── favicon.ico
70
+ ├ ├── globals.css
69
71
├ ├── (auth)/
70
72
├ ├ ├── onboarding/
71
73
├ ├ ├ └── page.tsx
@@ -75,6 +77,8 @@ nextjs13-threads/
75
77
├ ├ ├ └── page.tsx
76
78
├ ├ └── layout.tsx
77
79
├ ├── (root)/
80
+ ├ ├ ├── layout.tsx
81
+ ├ ├ ├── page.tsx
78
82
├ ├ ├── activity/
79
83
├ ├ ├ └── page.tsx
80
84
├ ├ ├── communities/
@@ -94,20 +98,16 @@ nextjs13-threads/
94
98
├ ├ ├ └── page.tsx
95
99
├ ├ ├── search/
96
100
├ ├ ├ └── page.tsx
97
- ├ ├ ├── thread/
98
- ├ ├ ├ ├── [id]/
99
- ├ ├ ├ ├ └── page.tsx
100
- ├ ├ ├ └── reactions/[id]/
101
- ├ ├ ├ └── page.tsx
102
- ├ ├ ├── layout.tsx
103
- ├ ├ └── page.tsx
104
- ├ ├── api/
105
- ├ ├ ├── uploadthing/
106
- ├ ├ ├ └── page.tsx
107
- ├ ├ └── webhook/clerk/
108
- ├ ├ └── route.tsx
109
- ├ ├── favicon.ico
110
- ├ └── globals.css
101
+ ├ ├ └── thread/
102
+ ├ ├ ├── [id]/
103
+ ├ ├ ├ └── page.tsx
104
+ ├ ├ └── reactions/[id]/
105
+ ├ ├ └── page.tsx
106
+ ├ └── api/
107
+ ├ ├── uploadthing/
108
+ ├ ├ └── page.tsx
109
+ ├ └── webhook/clerk/
110
+ ├ └── route.tsx
111
111
├── components/
112
112
├ ├── atoms/
113
113
├ ├ ├── CommunityCard.tsx
@@ -141,6 +141,9 @@ nextjs13-threads/
141
141
├── constants/
142
142
├ └── index.js
143
143
├── lib/
144
+ ├ ├── mongoose.ts
145
+ ├ ├── uploadthing.ts
146
+ ├ ├── utils.ts
144
147
├ ├── actions/
145
148
├ ├ ├── community.actions.ts
146
149
├ ├ ├── thread.actions.ts
@@ -149,17 +152,14 @@ nextjs13-threads/
149
152
├ ├ ├── community.model.ts
150
153
├ ├ ├── thread.model.ts
151
154
├ ├ └── user.model.ts
152
- ├ ├── validations/
153
- ├ ├ ├── thread.ts
154
- ├ ├ └── user.ts
155
- ├ ├── mongoose.ts
156
- ├ ├── uploadthing.ts
157
- ├ └── utils.ts
155
+ ├ └── validations/
156
+ ├ ├── thread.ts
157
+ ├ └── user.ts
158
158
├── public/
159
- ├ ├── assets/
160
- ├ ├ └── [[...]].svg
161
159
├ ├── next.svg
162
- ├ └── vercel.svg
160
+ ├ ├── vercel.svg
161
+ ├ └── assets/
162
+ ├ └── [[...]].svg
163
163
├── components.json
164
164
├── middleware.ts
165
165
├── next.config.ts
@@ -200,13 +200,14 @@ This is a JavaScript code contains all the constants used in the application, sp
200
200
201
201
` actions/ ` - ` models/ ` - ` validations/ ` - ` mongoose.ts ` - ` uploadthing.ts ` - ` utils.ts `
202
202
203
- The ** lib** folder holds crucial components for _ Threads App_ :
204
- ** actions** : Manage actions for Community, Thread, and User entities using Mongoose for database interaction.
205
- ** models** : Define mongoose schemas for Community, Thread, and User entities.
206
- ** validations** : Provide validation schemas with Zod for Thread and User data.
207
- ** mongoose.ts** : Establishes and manages MongoDB connections for the application.
208
- ** uploadthing.ts** : Offers a React utility for simplified file uploads to UploadThing.
209
- ** utils.ts** : Contains various reusable utility functions.
203
+ The ** lib** folder holds crucial components for _ Threads App_ :\
204
+
205
+ - ** actions** : Manage actions for Community, Thread, and User entities using Mongoose for database interaction.\
206
+ - ** models** : Define mongoose schemas for Community, Thread, and User entities.\
207
+ - ** validations** : Provide validation schemas with Zod for Thread and User data.\
208
+ - ** mongoose.ts** : Establishes and manages MongoDB connections for the application.\
209
+ - ** uploadthing.ts** : Offers a React utility for simplified file uploads to UploadThing.\
210
+ - ** utils.ts** : Contains various reusable utility functions.
210
211
211
212
#### public
212
213
0 commit comments