简体   繁体   English

亚马逊网络服务移动中心

[英]Amazon Web Services Mobile Hub

I am fleshing out a craigslist type app where I would want to connect users based on distance. 我正在充实craigslist类型的应用程序,在该应用程序中我想根据距离连接用户。 I want them to be able to have a profile and images on that profile depicting what they want to sell(very rough description). 我希望他们能够有个人资料和该个人资料上的图片来描述他们想要出售的商品(非常粗糙的描述)。 Right now I am trying to tackle the Back end of this. 现在,我正在尝试解决此问题的后端。 I hope to use Amazon Web Services in order to create a database that can then store the profiles, user info, images, etc. My question is within the AWS mobile hub, between features such as a NoSQL database, user data storage, cloud logic, and app content delivery, which should I include and focus the brunt of my effort on. 我希望使用Amazon Web Services创建一个可以存储配置文件,用户信息,图像等的数据库。我的问题是在AWS移动中心内,在NoSQL数据库,用户数据存储,云逻辑等功能之间,以及应用内容交付,这应该是我的工作重点,而重点应该放在其中。

So a Quick rundown of services you might need along with their mobile hub names: 因此,您可能需要快速列出的服务及其移动集线器名称:

  • AWSCognito (User Sign in) - this will provide authentication workflow/user registration/storing private data like user preferences etc. AWSCognito(用户登录) -这将提供身份验证工作流/用户注册/存储私有数据,例如用户首选项等。
  • DynamoDB (NoSQL) - this will house all data that you want users to share (like products table, users' public profile data etc.) DynamoDB(NoSQL) -将容纳您希望用户共享的所有数据(例如产品表,用户的公共资料数据等)
  • AWSSNS (Push Notification) - this will allow you to send notifications (push/sms/email) etc. AWSSNS(推送通知) -这将允许您发送通知(推送/短信/电子邮件)等。
  • AWSS3 (user data storage) - this you will need to store files (for example pictures of products). AWSS3(用户数据存储) -您将需要存储文件(例如产品图片)。 DynamoDB has a hard limit on how much you can store in it per item so its good practice to store images in S3 with their keys stored in Dynamo DynamoDB对每个项目中可以存储多少存储空间有硬性限制,因此,将图像存储在S3中以及将其密钥存储在Dynamo中是一种很好的做法
  • AWSLambda (cloud logic) - with lambda you can essentially create a backend for your app. AWSLambda(云逻辑) -使用lambda,您基本上可以为您的应用程序创建一个后端。 one useful example is, lets say you wanted to send a notification to owner everytime someone shows interest in their listing. 一个有用的示例是,假设您希望在有人对自己的列表感兴趣时,向所有者发送通知。 You can set up a trigger in lambda that does that by sending out a notification each time a new record in dynamo is created. 您可以在lambda中设置一个触发器,该触发器通过在每次创建dynamo中的新记录时发出通知来做到这一点。

I think that should be good to start with. 我认为一开始应该很好。 Keep in mind that each of these services come with their own learning curve (some of them steep) so be patient :) 请记住,每项服务都有自己的学习曲线(有些陡峭),请耐心等待:)

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM