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
GearUP is a crowd funding app for artists to request supplies they need. It is a full stack SOA application that utilizes GraphQL to communicate between the front and back end. The back end also utilizes Sidekiq and Action Mailer to send confirmation and update emails to its users. There is an option to create an account to add a new post, or donors can search and select a project to donate to without having to create an account.
27
41
@@ -35,7 +49,8 @@ The backend app exposes a GraphQL API endpoint with data for performing queries
35
49
36
50
1.`POST /graphql`
37
51
38
-
Queries:
52
+
**Queries:**<br>
53
+
All Artists:
39
54
```
40
55
query artists {
41
56
artists {
@@ -70,7 +85,8 @@ query artists {
70
85
}
71
86
```
72
87
73
-
Mutations:
88
+
**Mutations:**<br>
89
+
Create Post:
74
90
```
75
91
mutation {
76
92
createPost(input:{
@@ -93,6 +109,32 @@ mutation {
93
109
}
94
110
}
95
111
```
112
+
113
+
Create Donation:
114
+
```
115
+
mutation UpdatePost {
116
+
updatePost(input: {
117
+
id: 1
118
+
title: "I need "
119
+
details: "Don't worry"
120
+
imageUrl: "http://wiegand.test/jaye_reinger"
121
+
requestedAmount: 3444.00
122
+
currentAmount: 0
123
+
artistId: 1
124
+
}) {
125
+
post {
126
+
id
127
+
title
128
+
details
129
+
imageUrl
130
+
requestedAmount
131
+
currentAmount
132
+
}
133
+
errors
134
+
}
135
+
}
136
+
```
137
+
96
138
### Future Iterations
97
139
1. Add funcionality for payment processing using services such as PayPal, Venmo, Square, and/or Apple Pay
0 commit comments