简体   繁体   English

为使用 AWS(特别是 S3 存储桶)托管的网站页面创建注册表单(类似于 mailchimp)

[英]Creating a sign-up form (similar to mailchimp) for a website page that is hosted using AWS (S3 bucket specifically)

I have created a web-page using Bootstrap, which is hosted on the web thanks to AWS S3 bucket and Route 53.我使用 Bootstrap 创建了一个网页,由于 AWS S3 存储桶和 Route 53,该网页托管在网络上。

I want to add a sing-up form similar to the forms created by providers like Mailchimp - from scratch (or with the help of existing frameworks).我想添加一个类似于 Mailchimp 等提供商创建的表单的单页表单 - 从头开始​​(或在现有框架的帮助下)。

The the questions boils down to:问题归结为:

  1. How can I create aa function where when a submit button is pressed, the names and email fields are saved onto a database?如何创建一个函数,当按下提交按钮时,姓名和电子邮件字段将保存到数据库中?
  2. How can I create a automatic autoresponding "welcome" message to those who signed up?如何为注册者创建自动回复的“欢迎”消息?
  3. How can I get this to function with AWS?我怎样才能让它在 AWS 上运行?

Perhaps question 1 and 2 are broad and Q3 can't be answered till 1&2 are answered.也许问题 1 和 2 很宽泛,在回答 1 和 2 之前无法回答问题 3。 If so, do link some resources that will help me learn this specifically?如果是这样,请链接一些可以帮助我专门学习这一点的资源?

As you are already using AWS, I would suggest the fastest way to achieve this would be to use the AWS Cognito hosted UI.由于您已经在使用 AWS,我建议实现这一目标的最快方法是使用 AWS Cognito 托管 UI。

https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-integration.html https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-integration.html

Cognito takes care of authentication and the saving of user details. Cognito 负责身份验证和用户详细信息的保存。 It then calls your application back.然后它会回调您的应用程序。 All you need to do is create a landing page to handle the callback from Cognito.您需要做的就是创建一个登陆页面来处理来自 Cognito 的回调。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用.toHaveBeenCalledWith的Jasmine测试失败,用于注册表单 - Jasmine test using .toHaveBeenCalledWith fails for sign-up form 有没有办法可以将数据从注册表单发送到另一个 HTML 页面? - Is there a way that I can send data from Sign-Up Form to another HTML Page? 显示注册表单时如何模糊登录的背景? - How do I blur login's background when the sign-up form is displayed? React 登录/注册表单切换问题 - React login/sign-up form toggle issues 根据下拉菜单更改注册表格? - Change sign-up form depending on the drop down-menu? 访问 Bucket 虚拟托管样式 url 已弃用? (AWS S3) - Accessing a Bucket virtual-hosted-style url deprecated? (aws s3) 如何只允许经过身份验证的用户(使用Cognito)访问他们自己的S3存储桶/密钥? - How do I only allow authenticated user (using cognito) access to their own S3 bucket/key specifically? 使用自制的html表单注册/登录网站 - sign up / sign in to a website using a self made html form 使用 api 检查 aws s3 存储桶可用性(运行状况) - aws s3 bucket availability ( health ) check using api 使用绝对路径将文件上传到 aws S3 存储桶 - Upload file to aws S3 bucket using absolute path
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM