-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Epic: Database Operations (Post ORM Backend Implementation) #31
Comments
FrontEnd:
|
I will add a campaigns endpoint that will retrieve all campaigns in an array. With that said... The Amplify Endpoint also retrieve's an array of campaigns.
|
This is the page that needs to be updated with the new URL |
The current amplify endpoint already retrieves all the campaigns which is what I used. There's only three so yeah. But I will update it to api/campaigns. Actually, I don't know if we need to change it? I cleared it up with Manisha. |
So this is where I see the back end coming into play and where we need to add endpoints...
|
Update @manishapriya94's original post with Dev Task. One item to point out ⬇️
Having the back end automatically save data just saves the front end another call / resending that user letter information in JSON form |
@BeeXiong the search still requires api/amplify{zipcode}, this needs to be changed to api/campaigns{zipcode}. Are you able to clean up the wiki and remove the amplify table as well? I assume we're just sticking with api/campaigns for everything. |
I think we can keep the I can switch it to |
I think it's a bit confusing because |
Would |
Yess, that works great. |
Hey @BeeXiong, @nawazkhan just added some changes to the way the API was routed OpenSourceFellows/amplify-back-end#114 and then added the post function OpenSourceFellows/amplify-back-end#115 |
Notes from meeting 11/4
@BeeXiong:
|
Resolved by create_letter function in lob.js |
This epic for earth day 4/21 has moved here
User Story:
POST
to back-end to make a call to LOB APIPOST
to back-end to save record into the DBDevelopment Task
Send User Letter to Lob
POST
Function in /api/lob endpoint (lob.js)POST
request - Letters APISave User Letter Data
/api/userletter
endpoint/api/userletter
endpointGET
function/api/userletter
POST
function: user_addressbook amplify-back-end#124The text was updated successfully, but these errors were encountered: