Skip to content

Commit 93a4826

Browse files
authored
Update README.md
1 parent d596aac commit 93a4826

File tree

1 file changed

+31
-30
lines changed

1 file changed

+31
-30
lines changed

README.md

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ Threads web application, a social media platform that allows users to share thei
6666
```
6767
nextjs13-threads/
6868
├── app/
69+
├ ├── favicon.ico
70+
├ ├── globals.css
6971
├ ├── (auth)/
7072
├ ├ ├── onboarding/
7173
├ ├ ├ └── page.tsx
@@ -75,6 +77,8 @@ nextjs13-threads/
7577
├ ├ ├ └── page.tsx
7678
├ ├ └── layout.tsx
7779
├ ├── (root)/
80+
├ ├ ├── layout.tsx
81+
├ ├ ├── page.tsx
7882
├ ├ ├── activity/
7983
├ ├ ├ └── page.tsx
8084
├ ├ ├── communities/
@@ -94,20 +98,16 @@ nextjs13-threads/
9498
├ ├ ├ └── page.tsx
9599
├ ├ ├── search/
96100
├ ├ ├ └── 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
111111
├── components/
112112
├ ├── atoms/
113113
├ ├ ├── CommunityCard.tsx
@@ -141,6 +141,9 @@ nextjs13-threads/
141141
├── constants/
142142
├ └── index.js
143143
├── lib/
144+
├ ├── mongoose.ts
145+
├ ├── uploadthing.ts
146+
├ ├── utils.ts
144147
├ ├── actions/
145148
├ ├ ├── community.actions.ts
146149
├ ├ ├── thread.actions.ts
@@ -149,17 +152,14 @@ nextjs13-threads/
149152
├ ├ ├── community.model.ts
150153
├ ├ ├── thread.model.ts
151154
├ ├ └── 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
158158
├── public/
159-
├ ├── assets/
160-
├ ├ └── [[...]].svg
161159
├ ├── next.svg
162-
├ └── vercel.svg
160+
├ ├── vercel.svg
161+
├ └── assets/
162+
├ └── [[...]].svg
163163
├── components.json
164164
├── middleware.ts
165165
├── next.config.ts
@@ -200,13 +200,14 @@ This is a JavaScript code contains all the constants used in the application, sp
200200

201201
`actions/` - `models/` - `validations/` - `mongoose.ts` - `uploadthing.ts` - `utils.ts`
202202

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.
210211

211212
#### public
212213

0 commit comments

Comments
 (0)