@@ -7,6 +7,19 @@ This project shows the power of Next.js and serves as a practical demonstration
7
7
## Table of Contents
8
8
9
9
- [ 🌟 ** Features** ] ( #-features )
10
+ - [ 🖼️ ** UI Preview** ] ( #-ui-preview )
11
+ - [ ** Landing Page** ] ( #landing-page )
12
+ - [ ** Light Mode** ] ( #light-mode )
13
+ - [ ** Dark Mode** ] ( #dark-mode )
14
+ - [ ** Login Page** ] ( #login-page )
15
+ - [ ** Light Mode** ] ( #light-mode-1 )
16
+ - [ ** Dark Mode** ] ( #dark-mode-1 )
17
+ - [ ** Register Page** ] ( #register-page )
18
+ - [ ** Light Mode** ] ( #light-mode-2 )
19
+ - [ ** Dark Mode** ] ( #dark-mode-2 )
20
+ - [ ** Homepage (To-Do List)** ] ( #homepage-to-do-list )
21
+ - [ ** Light Mode** ] ( #light-mode-3 )
22
+ - [ ** Dark Mode** ] ( #dark-mode-3 )
10
23
- [ 📂 ** File Structure** ] ( #-file-structure )
11
24
- [ 📋 ** API Endpoints** ] ( #-api-endpoints )
12
25
- [ ** 1. Prerequisites** ] ( #1-prerequisites )
@@ -16,15 +29,10 @@ This project shows the power of Next.js and serves as a practical demonstration
16
29
- [ ** 5. Run the Development Server** ] ( #5-run-the-development-server )
17
30
- [ ** 6. Build for Production** ] ( #6-build-for-production )
18
31
- [ 🌐 ** Using the App** ] ( #-using-the-app )
19
- - [ 🖼️ ** UI Preview** ] ( #-ui-preview )
20
- - [ ** Landing Page** ] ( #landing-page )
21
- - [ ** Login Page** ] ( #login-page )
22
- - [ ** Register Page** ] ( #register-page )
23
- - [ ** Homepage (To-Do List)** ] ( #homepage-to-do-list )
24
- - [ ** Dark Mode** ] ( #dark-mode )
25
32
- [ 💡 ** Notes** ] ( #-notes )
26
33
- [ 🧪 ** Testing** ] ( #-testing )
27
34
- [ ** Running Tests** ] ( #running-tests )
35
+ - [ 🐳 Containerization] ( #-containerization )
28
36
- [ 🔧 ** Contributing** ] ( #-contributing )
29
37
- [ 📝 ** License** ] ( #-license )
30
38
- [ 📧 ** Contact** ] ( #-contact )
@@ -44,6 +52,64 @@ This project shows the power of Next.js and serves as a practical demonstration
44
52
- Easy-to-understand file structure and codebase
45
53
- Customizable with additional features and improvements
46
54
55
+ ## 🖼️ ** UI Preview**
56
+
57
+ ### ** Landing Page**
58
+
59
+ #### ** Light Mode**
60
+
61
+ <p align =" center " >
62
+ <img src =" images/landing-bright.png " alt =" Landing Page " width =" 100% " style =" border-radius : 10px " />
63
+ </p >
64
+
65
+ #### ** Dark Mode**
66
+
67
+ <p align =" center " >
68
+ <img src =" images/landing-dark.png " alt =" Landing Page in Dark Mode " width =" 100% " style =" border-radius : 10px " />
69
+ </p >
70
+
71
+ ### ** Login Page**
72
+
73
+ #### ** Light Mode**
74
+
75
+ <p align =" center " >
76
+ <img src =" images/login-bright.png " alt =" Login Page " width =" 100% " style =" border-radius : 10px " />
77
+ </p >
78
+
79
+ #### ** Dark Mode**
80
+
81
+ <p align =" center " >
82
+ <img src =" images/login-dark.png " alt =" Login Page in Dark Mode " width =" 100% " style =" border-radius : 10px " />
83
+ </p >
84
+
85
+ ### ** Register Page**
86
+
87
+ #### ** Light Mode**
88
+
89
+ <p align =" center " >
90
+ <img src =" images/register-bright.png " alt =" Register Page " width =" 100% " style =" border-radius : 10px " />
91
+ </p >
92
+
93
+ #### ** Dark Mode**
94
+
95
+ <p align =" center " >
96
+ <img src =" images/register-dark.png " alt =" Register Page in Dark Mode " width =" 100% " style =" border-radius : 10px " />
97
+ </p >
98
+
99
+ ### ** Homepage (To-Do List)**
100
+
101
+ #### ** Light Mode**
102
+
103
+ <p align =" center " >
104
+ <img src =" images/home-bright.png " alt =" Homepage " width =" 100% " style =" border-radius : 10px " />
105
+ </p >
106
+
107
+ #### ** Dark Mode**
108
+
109
+ <p align =" center " >
110
+ <img src =" images/home-dark.png " alt =" Homepage in Dark Mode " width =" 100% " style =" border-radius : 10px " />
111
+ </p >
112
+
47
113
## 📂 ** File Structure**
48
114
49
115
Below is the comprehensive file structure for the project:
@@ -191,66 +257,6 @@ The production build will be served at `http://localhost:3000`.
191
257
- Login: Access your account through the ` /auth/login ` page.
192
258
3 . ** Manage To-Dos** : Access the main to-do list page (` / ` ) where you can add, edit, and delete to-dos, as well as toggle dark mode.
193
259
194
- ## 🖼️ ** UI Preview**
195
-
196
- ### ** Landing Page**
197
-
198
- #### ** Light Mode**
199
-
200
- <p align =" center " >
201
- <img src =" images/landing-bright.png " alt =" Landing Page " width =" 100% " style =" border-radius : 10px " />
202
- </p >
203
-
204
- #### ** Dark Mode**
205
-
206
- <p align =" center " >
207
- <img src =" images/landing-dark.png " alt =" Landing Page in Dark Mode " width =" 100% " style =" border-radius : 10px " />
208
- </p >
209
-
210
- ### ** Login Page**
211
-
212
- #### ** Light Mode**
213
-
214
- <p align =" center " >
215
- <img src =" images/login-bright.png " alt =" Login Page " width =" 100% " style =" border-radius : 10px " />
216
- </p >
217
-
218
- #### ** Dark Mode**
219
-
220
- <p align =" center " >
221
- <img src =" images/login-dark.png " alt =" Login Page in Dark Mode " width =" 100% " style =" border-radius : 10px " />
222
- </p >
223
-
224
- ### ** Register Page**
225
-
226
- #### ** Light Mode**
227
-
228
- <p align =" center " >
229
- <img src =" images/register-bright.png " alt =" Register Page " width =" 100% " style =" border-radius : 10px " />
230
- </p >
231
-
232
- #### ** Dark Mode**
233
-
234
- <p align =" center " >
235
- <img src =" images/register-dark.png " alt =" Register Page in Dark Mode " width =" 100% " style =" border-radius : 10px " />
236
- </p >
237
-
238
- ### ** Homepage (To-Do List)**
239
-
240
- #### ** Light Mode**
241
-
242
- <p align =" center " >
243
- <img src =" images/home-bright.png " alt =" Homepage " width =" 100% " style =" border-radius : 10px " />
244
- </p >
245
-
246
- #### ** Dark Mode**
247
-
248
- <p align =" center " >
249
- <img src =" images/home-dark.png " alt =" Homepage in Dark Mode " width =" 100% " style =" border-radius : 10px " />
250
- </p >
251
-
252
- ---
253
-
254
260
## 💡 ** Notes**
255
261
256
262
- This application uses local storage to manage user data and to-do items. For a more robust application, consider integrating a real database (e.g., MongoDB, PostgreSQL).
@@ -274,6 +280,16 @@ yarn test
274
280
275
281
The tests will run and display the results in the terminal.
276
282
283
+ ## 🐳 ** Containerization**
284
+
285
+ This project includes a ` Dockerfile ` for containerization. To build the Docker image, run:
286
+
287
+ ``` bash
288
+ docker compose up --build
289
+ ```
290
+
291
+ This command will build the Docker image and start the container. The application will be accessible at ` http://localhost:3000 ` .
292
+
277
293
## 🔧 ** Contributing**
278
294
279
295
Contributions are welcome! If you'd like to contribute, please fork the repository, make your changes, and create a pull request.
0 commit comments