Skip to content

Commit 31a0f0d

Browse files
author
maharshi
committed
Upload API collection and fix side menu toggle issue
1 parent 8673537 commit 31a0f0d

File tree

15 files changed

+721
-173
lines changed

15 files changed

+721
-173
lines changed

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 31 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

React-Redux.postman_collection.json

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
{
2+
"info": {
3+
"_postman_id": "af37b9f9-ade3-4c76-b98b-2ef8988eb0a4",
4+
"name": "React-Redux",
5+
"description": "Laravel , react js and redux functionality",
6+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
7+
},
8+
"item": [
9+
{
10+
"name": "Login",
11+
"request": {
12+
"method": "POST",
13+
"header": [],
14+
"body": {
15+
"mode": "formdata",
16+
"formdata": [
17+
{
18+
"key": "email",
19+
"value": "mike01@mailinator.com",
20+
"type": "text"
21+
},
22+
{
23+
"key": "password",
24+
"value": "12345678",
25+
"type": "text"
26+
}
27+
]
28+
},
29+
"url": {
30+
"raw": "{{site_url}}login",
31+
"host": [
32+
"{{site_url}}login"
33+
]
34+
}
35+
},
36+
"response": []
37+
},
38+
{
39+
"name": "Register",
40+
"request": {
41+
"method": "POST",
42+
"header": [],
43+
"body": {
44+
"mode": "formdata",
45+
"formdata": [
46+
{
47+
"key": "name",
48+
"value": "mike01",
49+
"type": "text"
50+
},
51+
{
52+
"key": "email",
53+
"value": "mike01@mailinator.com",
54+
"type": "text"
55+
},
56+
{
57+
"key": "password",
58+
"value": "12345678",
59+
"type": "text"
60+
},
61+
{
62+
"key": "password_confirmation",
63+
"value": "12345678",
64+
"type": "text"
65+
}
66+
]
67+
},
68+
"url": {
69+
"raw": "{{site_url}}register",
70+
"host": [
71+
"{{site_url}}register"
72+
]
73+
}
74+
},
75+
"response": []
76+
},
77+
{
78+
"name": "User Profile",
79+
"protocolProfileBehavior": {
80+
"disableBodyPruning": true
81+
},
82+
"request": {
83+
"method": "GET",
84+
"header": [
85+
{
86+
"key": "Authorization",
87+
"value": "{{token}}",
88+
"type": "text"
89+
}
90+
],
91+
"body": {
92+
"mode": "formdata",
93+
"formdata": []
94+
},
95+
"url": {
96+
"raw": "{{site_url}}profile",
97+
"host": [
98+
"{{site_url}}profile"
99+
]
100+
}
101+
},
102+
"response": []
103+
},
104+
{
105+
"name": "Users Data",
106+
"protocolProfileBehavior": {
107+
"disableBodyPruning": true
108+
},
109+
"request": {
110+
"method": "GET",
111+
"header": [
112+
{
113+
"key": "Authorization",
114+
"type": "text",
115+
"value": "{{token}}"
116+
}
117+
],
118+
"body": {
119+
"mode": "formdata",
120+
"formdata": []
121+
},
122+
"url": {
123+
"raw": "{{site_url}}users/list",
124+
"host": [
125+
"{{site_url}}users"
126+
],
127+
"path": [
128+
"list"
129+
]
130+
}
131+
},
132+
"response": []
133+
}
134+
],
135+
"protocolProfileBehavior": {}
136+
}

React-Redux.postman_environment.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"id": "d47aa793-f067-4245-a9a3-05ba9a431d78",
3+
"name": "React-Redux",
4+
"values": [
5+
{
6+
"key": "site_url",
7+
"value": "http://127.0.0.1:8000/api/",
8+
"enabled": true
9+
},
10+
{
11+
"key": "token",
12+
"value": "Bearer dasdasd",
13+
"enabled": true
14+
}
15+
],
16+
"_postman_variable_scope": "environment",
17+
"_postman_exported_at": "2020-09-12T08:46:16.795Z",
18+
"_postman_exported_using": "Postman/7.32.0"
19+
}

package-lock.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@
2626
"sass-loader": "^8.0.0"
2727
},
2828
"dependencies": {
29+
"react-feather": "^2.0.8",
2930
"react-redux": "^7.2.1",
3031
"react-router-dom": "^5.2.0",
3132
"redux": "^4.0.5",
32-
"redux-thunk": "^2.3.0"
33+
"redux-thunk": "^2.3.0",
34+
"react-router": "latest"
3335
}
3436
}

0 commit comments

Comments
 (0)