Skip to content

Commit 3a57946

Browse files
reset_password
1 parent 58d1edf commit 3a57946

11 files changed

+544
-41
lines changed

Codelink.postman_collection.json

+362
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,362 @@
1+
{
2+
"info": {
3+
"_postman_id": "8660bce9-2bc5-4a8d-b9f1-c2bffef530a2",
4+
"name": "Codelink",
5+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
6+
"_exporter_id": "21426657"
7+
},
8+
"item": [
9+
{
10+
"name": "user/signup",
11+
"request": {
12+
"method": "POST",
13+
"header": [
14+
{
15+
"key": "Accept",
16+
"value": "application/json",
17+
"type": "text"
18+
},
19+
{
20+
"key": "Authorization",
21+
"value": "application/json",
22+
"type": "text"
23+
}
24+
],
25+
"body": {
26+
"mode": "formdata",
27+
"formdata": [
28+
{
29+
"key": "name",
30+
"value": "Eman Elhelaly",
31+
"type": "text"
32+
},
33+
{
34+
"key": "email",
35+
"value": "[email protected]",
36+
"type": "text"
37+
},
38+
{
39+
"key": "password",
40+
"value": "123123",
41+
"type": "text"
42+
},
43+
{
44+
"key": "password_confirmation",
45+
"value": "123123",
46+
"type": "text"
47+
}
48+
]
49+
},
50+
"url": {
51+
"raw": "http://localhost:8000/api/user/signup",
52+
"protocol": "http",
53+
"host": [
54+
"localhost"
55+
],
56+
"port": "8000",
57+
"path": [
58+
"api",
59+
"user",
60+
"signup"
61+
]
62+
}
63+
},
64+
"response": []
65+
},
66+
{
67+
"name": "user/login",
68+
"request": {
69+
"method": "POST",
70+
"header": [
71+
{
72+
"key": "Accept",
73+
"value": "application/json",
74+
"type": "text"
75+
},
76+
{
77+
"key": "Authorization",
78+
"value": "application/json",
79+
"type": "text"
80+
}
81+
],
82+
"body": {
83+
"mode": "formdata",
84+
"formdata": [
85+
{
86+
"key": "email",
87+
"value": "[email protected]",
88+
"type": "text"
89+
},
90+
{
91+
"key": "password",
92+
"value": "123123",
93+
"type": "text"
94+
}
95+
]
96+
},
97+
"url": {
98+
"raw": "http://localhost:8000/api/user/login",
99+
"protocol": "http",
100+
"host": [
101+
"localhost"
102+
],
103+
"port": "8000",
104+
"path": [
105+
"api",
106+
"user",
107+
"login"
108+
]
109+
}
110+
},
111+
"response": []
112+
},
113+
{
114+
"name": "user/logout",
115+
"request": {
116+
"auth": {
117+
"type": "bearer",
118+
"bearer": [
119+
{
120+
"key": "token",
121+
"value": "2|1KlbVffmp2rVmRxXjT5rQs9uHLUlYpk3RdbkueHK",
122+
"type": "string"
123+
}
124+
]
125+
},
126+
"method": "GET",
127+
"header": [
128+
{
129+
"key": "Accept",
130+
"value": "application/json",
131+
"type": "text"
132+
},
133+
{
134+
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
135+
"key": "Authorization",
136+
"value": "application/json",
137+
"type": "text"
138+
}
139+
],
140+
"url": {
141+
"raw": "http://localhost:8000/api/user/logout",
142+
"protocol": "http",
143+
"host": [
144+
"localhost"
145+
],
146+
"port": "8000",
147+
"path": [
148+
"api",
149+
"user",
150+
"logout"
151+
]
152+
}
153+
},
154+
"response": []
155+
},
156+
{
157+
"name": "user/send-mail",
158+
"request": {
159+
"auth": {
160+
"type": "noauth"
161+
},
162+
"method": "POST",
163+
"header": [
164+
{
165+
"key": "Accept",
166+
"value": "application/json",
167+
"type": "text"
168+
},
169+
{
170+
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
171+
"key": "Authorization",
172+
"value": "application/json",
173+
"type": "text"
174+
}
175+
],
176+
"body": {
177+
"mode": "formdata",
178+
"formdata": [
179+
{
180+
"key": "email",
181+
"value": "[email protected]",
182+
"type": "text"
183+
}
184+
]
185+
},
186+
"url": {
187+
"raw": "http://127.0.0.1:8000/api/user/send-mail",
188+
"protocol": "http",
189+
"host": [
190+
"127",
191+
"0",
192+
"0",
193+
"1"
194+
],
195+
"port": "8000",
196+
"path": [
197+
"api",
198+
"user",
199+
"send-mail"
200+
]
201+
}
202+
},
203+
"response": []
204+
},
205+
{
206+
"name": "user/check-code",
207+
"request": {
208+
"auth": {
209+
"type": "noauth"
210+
},
211+
"method": "POST",
212+
"header": [
213+
{
214+
"key": "Accept",
215+
"value": "application/json",
216+
"type": "text"
217+
},
218+
{
219+
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
220+
"key": "Authorization",
221+
"value": "application/json",
222+
"type": "text"
223+
}
224+
],
225+
"body": {
226+
"mode": "formdata",
227+
"formdata": [
228+
{
229+
"key": "email",
230+
"value": "[email protected]",
231+
"type": "text"
232+
},
233+
{
234+
"key": "code",
235+
"value": "4118",
236+
"type": "text"
237+
}
238+
]
239+
},
240+
"url": {
241+
"raw": "http://127.0.0.1:8000/api/user/check-code",
242+
"protocol": "http",
243+
"host": [
244+
"127",
245+
"0",
246+
"0",
247+
"1"
248+
],
249+
"port": "8000",
250+
"path": [
251+
"api",
252+
"user",
253+
"check-code"
254+
]
255+
}
256+
},
257+
"response": []
258+
},
259+
{
260+
"name": "user/check-email",
261+
"request": {
262+
"auth": {
263+
"type": "noauth"
264+
},
265+
"method": "POST",
266+
"header": [
267+
{
268+
"key": "Accept",
269+
"value": "application/json",
270+
"type": "text"
271+
},
272+
{
273+
"key": "Authorization",
274+
"value": "application/json",
275+
"type": "text"
276+
}
277+
],
278+
"body": {
279+
"mode": "formdata",
280+
"formdata": [
281+
{
282+
"key": "email",
283+
"value": "[email protected]",
284+
"type": "text"
285+
}
286+
]
287+
},
288+
"url": {
289+
"raw": "http://localhost:8000/api/user/check-email",
290+
"protocol": "http",
291+
"host": [
292+
"localhost"
293+
],
294+
"port": "8000",
295+
"path": [
296+
"api",
297+
"user",
298+
"check-email"
299+
]
300+
}
301+
},
302+
"response": []
303+
},
304+
{
305+
"name": "user/reset-password",
306+
"request": {
307+
"auth": {
308+
"type": "bearer",
309+
"bearer": [
310+
{
311+
"key": "token",
312+
"value": "1|Hgm1Fqts79EHDBGi43EgozfNkyZirhwzOFHXX5gQ",
313+
"type": "string"
314+
}
315+
]
316+
},
317+
"method": "POST",
318+
"header": [
319+
{
320+
"key": "Accept",
321+
"value": "application/json",
322+
"type": "text"
323+
},
324+
{
325+
"key": "Authorization",
326+
"value": "application/json",
327+
"type": "text"
328+
}
329+
],
330+
"body": {
331+
"mode": "formdata",
332+
"formdata": [
333+
{
334+
"key": "password",
335+
"value": "123456",
336+
"type": "text"
337+
},
338+
{
339+
"key": "password_confirmation",
340+
"value": "123456",
341+
"type": "text"
342+
}
343+
]
344+
},
345+
"url": {
346+
"raw": "http://localhost:8000/api/user/reset-password",
347+
"protocol": "http",
348+
"host": [
349+
"localhost"
350+
],
351+
"port": "8000",
352+
"path": [
353+
"api",
354+
"user",
355+
"reset-password"
356+
]
357+
}
358+
},
359+
"response": []
360+
}
361+
]
362+
}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1- Clone the project
1313

1414
```bash
15-
git clone https://github.com/EmanElhelaly11/CodeLink.git
15+
git clone https://github.com/Code-Link-organization/code-link-backend.git
1616
```
1717

1818
2- Set up the configuration

0 commit comments

Comments
 (0)