You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<palign="center">A progressive <ahref="http://nodejs.org"target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
My Learning Project in Nest.JS, Creating Simple Contact API
28
25
29
26
## Project Checklist
27
+
30
28
### User Endpoint
29
+
31
30
-[x] Register User
32
31
-[x] Send Email to Verify User
33
32
-[x] Verify User
@@ -38,6 +37,7 @@ My Learning Project in Nest.JS, Creating Simple Contact API
38
37
-[x] Logout User
39
38
40
39
### Contact Endpoint
40
+
41
41
-[x] Get All Contact & Search Contact
42
42
-[x] Create Contact
43
43
-[x] Get Contact
@@ -46,26 +46,31 @@ My Learning Project in Nest.JS, Creating Simple Contact API
46
46
-[x] Delete Contact
47
47
48
48
### Address Endpoint
49
+
49
50
-[x] Get All Addresses in the Contact
50
51
-[x] Create Addresses of Contact
51
52
-[x] Get Address
52
53
-[x] Update Address
53
54
-[x] Delete Address
54
55
55
-
56
56
### Todo
57
+
57
58
-[ ] Make Endpoint for forgot password
58
-
-[] Setup Swagger UI
59
-
-[ ] Create setup for multer to upload in cloud bucket like Cloudflare R2, AWS S3, or GCP Cloud Storage
59
+
-[x] Setup Swagger UI
60
+
-[ ] Create setup for multer to upload in cloud bucket like Cloudflare R2, AWS S3, or GCP Cloud Storage
60
61
61
62
## Project Endpoint
63
+
62
64
You can see at **doc** folder or import the postman collection.
65
+
or you can go to swagger api docs:
66
+
67
+
[SWAGGER API DOCS](https://localhost:3000/api)
63
68
64
69
## Project setup
65
70
66
71
```bash
67
-
$ npm install
68
-
$ npx prisma init
72
+
npm install
73
+
npx prisma init
69
74
```
70
75
71
76
## Setup your .env
@@ -87,7 +92,7 @@ HASHIDS_SALT=YOURSALT
87
92
## Run Prisma
88
93
89
94
```bash
90
-
$ npx prisma migrate dev
95
+
npx prisma migrate dev
91
96
```
92
97
93
98
## Compile and run the project
@@ -111,7 +116,9 @@ $ npm run test
111
116
```
112
117
113
118
## Another way to Run
119
+
114
120
More simple shortcut to use in windows :D
121
+
115
122
```bash
116
123
run.bat dev|test|build|lint|prod
117
124
```
@@ -123,8 +130,8 @@ When you're ready to deploy your NestJS application to production, there are som
123
130
If you are looking for a cloud-based platform to deploy your NestJS application, check out [Mau](https://mau.nestjs.com), our official platform for deploying NestJS applications on AWS. Mau makes deployment straightforward and fast, requiring just a few simple steps:
124
131
125
132
```bash
126
-
$ npm install -g mau
127
-
$ mau deploy
133
+
npm install -g mau
134
+
mau deploy
128
135
```
129
136
130
137
With Mau, you can deploy your application in just a few clicks, allowing you to focus on building features rather than managing infrastructure.
0 commit comments