Skip to content

Backend social network application using serverless framework ,typescript, AWS, SDKv3, DynamoDB Single table design, Hexagonal Arquitecture, Best practices.

Notifications You must be signed in to change notification settings

khaeldev/social-network-app

Repository files navigation

Social Network app

Backend social network application using serverless framework ,typescript, AWS, SDKv3, DynamoDB Single table design, Hexagonal Arquitecture, Best practices.

🔗 Links

linkedin

Kenny Luque

Usage

Clone this repository and install dependencies

  • Install CLI serverless

    npm install serverless -g

  • setting credentials

    aws configure

  • deploy

    npm run deploy

Blogs list

Estrctura del proyecto

├── src
│   ├── functions
│   │   └── getSurvey
│   └── core
│       ├── config
│       │   └── environment.ts
│       ├── app
│       │   ├── schemas
│       │   ├── usecases
│       │   └── ports
│       ├── domain
│       │   ├── models
│       │   └── services
│       │       └── repositories
│       └── infrastructure
│           ├── adapters
│           ├── repositories
│           └── utils
├── test
│   ├── functions
│   │   └── ...
│   └── core
│        └── ...
├── serverless.yml
└── package.json

Social network business use case

This use case talks about using DynamoDB as a social network. A social network is an online service that lets different users interact with each other. The social network we'll design will let the user see a timeline consisting of their posts, their followers, who they are following, and the posts written by who they are following. The access patterns for this schema design are:

  • Get user information for a given userID

  • Get follower list for a given userID

  • Get following list for a given userID

  • Get post list for a given userID

  • Get user list who likes the post for a given postID

  • Get the like count for a given postID

  • Get the timeline for a given userID

Single table design

STD

About

Backend social network application using serverless framework ,typescript, AWS, SDKv3, DynamoDB Single table design, Hexagonal Arquitecture, Best practices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published