https://serverless-stack.com/ logo
#help
Title
# help
s

Saman -

11/11/2021, 4:17 PM
Hey guys, I am trying to implement a notification and freind request type of thing like Instagram does. Any tips which AWS services I should be using?
g

Garret Harp

11/11/2021, 6:03 PM
You just use a database and make a friend request item and a notification item. Can be any database you want but I personally always go for DynamoDB since its serverless.
s

Saman -

11/11/2021, 7:00 PM
So something like this
Copy code
friends:[id:1,id:2,.... etc
g

Garret Harp

11/11/2021, 7:02 PM
How you store it depends on the database you choose but you would probably want to store each friend as its own item unless you plan on having it restricted to a certain amount of friends.
ö

Ömer Toraman

11/11/2021, 7:16 PM
For sending push notifications you can take a look into AWS Pinpoint
And for database, check AWS Neptune, it is a graph based, which is common as a storage layer for social apps
s

Saman -

11/11/2021, 7:25 PM
Thanks boys, ill check it out!
@Ömer Toraman You got any good article or YouTube video for learning AWS Neptune?
s

Saman -

11/12/2021, 12:13 PM
Thanks!
2 Views