-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfolderstructure.txt
More file actions
34 lines (34 loc) · 1.44 KB
/
folderstructure.txt
File metadata and controls
34 lines (34 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
ebook-downloader/
├── client/ # Frontend (React + Vite + Tailwind)
│ ├── public/
│ └── src/
│ ├── assets/ # Images, logos, etc.
│ ├── components/ # Reusable UI components (Navbar, Card, etc.)
│ ├── pages/ # Page components (Home, Login, Signup, Dashboard)
│ ├── routes/ # Route definitions (optional)
│ ├── services/ # API calls using axios
│ ├── context/ # Auth context or global state
│ ├── App.jsx
│ └── main.jsx
│ ├── tailwind.config.js
│ ├── postcss.config.js
│ ├── index.css
│ └── vite.config.js
│
├── server/ # Backend (Express + MongoDB)
│ ├── config/
│ │ └── db.js # MongoDB connection setup
│ ├── controllers/ # Controller functions for routes
│ ├── models/ # Mongoose models (User, Ebook)
│ ├── routes/ # Express routes
│ │ ├── authRoutes.js
│ │ └── ebookRoutes.js
│ ├── middleware/
│ │ └── auth.js # JWT auth middleware
│ ├── uploads/ # (Optional) if storing ebook files
│ ├── .env
│ ├── server.js # Entry point
│ └── package.json
│
├── README.md
└── .gitignore