Skip to content
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

Amplify backend and db #12989

Closed
4 tasks done
GustavoMFS opened this issue Nov 20, 2023 · 3 comments
Closed
4 tasks done

Amplify backend and db #12989

GustavoMFS opened this issue Nov 20, 2023 · 3 comments
Assignees
Labels
Hosting Issues related to Amplify Hosting question General question transferred This issue was transferred from another Amplify project

Comments

@GustavoMFS
Copy link

Before opening, please confirm:

App Id

NEW_APP

AWS Region

us-east-2

Amplify Hosting feature

Backend builds

Question

Im still learning to deploy websites and i got an dev intership on a company, despite they dont have an dev. So I created an frontend on angular and the backend on node.js, its working and sending the data to mongodb. My question is how do i deploy the site online? I wanted to try amplify and could deploy the frontend, but i dont know how to connect it to my backend, also about the data I tried to create an exemple of what the data would look like on amplify but it doesnt have an object or array type, the data would be something like that:

key: string;
tableName: string;
debito: {
masterCard: { valor: number },
visa: { valor: number },
outros: { valor: number },
}

can I deploy my front and backend together on amplify? and can i store the data exactly the way my code is making or if i dont, can i still use another db like mongo?

@GustavoMFS GustavoMFS added the question General question label Nov 20, 2023
@Jay2113
Copy link

Jay2113 commented Feb 8, 2024

Hi @GustavoMFS 👋 , thanks for reaching out. Have you looked at our getting started guide for full-stack deployments: https://docs.aws.amazon.com/amplify/latest/userguide/deploy-backend.html?

Also, since your backend is built with Node.js you will need to setup an API of some sort to interact with your mongo db database from the frontend. For better assistance, I am going to transfer this issue to the amplify-js repository.

@Jay2113 Jay2113 transferred this issue from aws-amplify/amplify-hosting Feb 8, 2024
@Jay2113 Jay2113 added the transferred This issue was transferred from another Amplify project label Feb 8, 2024
@nadetastic
Copy link
Member

Hi @GustavoMFS following up here - did the comment from @Jay2113 address you concerns, or did you have any additional questions?

@nadetastic nadetastic self-assigned this Mar 5, 2024
@nadetastic nadetastic added the Hosting Issues related to Amplify Hosting label Mar 5, 2024
@nadetastic
Copy link
Member

Hi 👋 Closing this issue as we have not heard back from you. If you are still experiencing this, please feel free to reply back and provide any information previously requested and we'd be happy to re-open the issue.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hosting Issues related to Amplify Hosting question General question transferred This issue was transferred from another Amplify project
Projects
None yet
Development

No branches or pull requests

3 participants