MCPcopy Index your code
hub / github.com/eduardo3g/twitter

github.com/eduardo3g/twitter @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
90 symbols 149 edges 61 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Twitter logo

Twitter

Social network developed with some cool Serverless stuff ☁️

Author Languages Stars

📚 Introduction

This project was built following the architecture and patterns of production-ready Serverless applications. It simulates the back-end of Twitter, featuring the main functionalities of the application.

The entire application was built using Cloud-Native services provided by AWS.

👨🏽‍🔧 Tech stack

  • 🏡 AWS AppSync - provides a robust, scalable GraphQL interface for application developers to combine data from multiple sources, including Amazon DynamoDB, AWS Lambda, and HTTP REST APIs.
  • 👷🏻 AWS Lambda - serverless compute service that lets you run code without provisioning or managing servers, creating workload-aware cluster scaling logic, maintaining event integrations, or managing runtimes.
  • 🗃️ AWS DynamoDB - fully managed NoSQL database service that provides fast and predictable performance with seamless scalability.
  • 👮🏻 AWS Cognito - provides authentication, authorization, and user management for your web and mobile apps.
  • 🍃 Serverless Framework - framework that speeds up the development of Serverless cloud-native applications.
  • 🚒 Kinesis Firehose - is an extract, transform, and load (ETL) service that reliably captures, transforms, and delivers streaming data to data lakes, data stores, and analytics services.
  • 🔍 Algolia - search-as-a-service platform similar to Elasticsearch.

🖥️ Features

  • User registration
  • Sign in
  • Sign out
  • Get user profile
  • Edit my profile
  • Upload media to AWS S3
  • View timelines
  • Post tweets
  • Reply to tweets
  • Retweet
  • Like
  • Create hashtags
  • Follow users
  • Unfollow users
  • Search for users
  • Search for tweets
  • Send direct messages
  • Receive real-time notifications

Sounds fun, right? 🤟

🐞 Issues

Feel free to create a new issue with an detailed title and description. If you already have a solution to fix the problem, I would be very happy to review your pull request.

🎉 Contributing

I'm highly opened to contributions and would love to review pull requests to make this project even better.

Core symbols most depended-on inside this repo

mutate
called by 5
lib/graphql.js
getTweetById
called by 4
lib/tweets.js
initUsersIndex
called by 3
lib/algolia.js
initTweetsIndex
called by 3
lib/algolia.js
extractHashTags
called by 2
lib/tweets.js
getFollowers
called by 2
functions/distribute-tweets.js
loop
called by 2
functions/distribute-tweets-to-follower.js
parseNextToken
called by 2
functions/search.js

Shape

Function 90

Languages

TypeScript100%

Modules by API surface

__tests__/steps/when.js32 symbols
__tests__/steps/then.js13 symbols
functions/distribute-tweets-to-follower.js5 symbols
processManifest.js4 symbols
functions/search.js4 symbols
functions/getHashTag.js4 symbols
functions/distribute-tweets.js4 symbols
__tests__/steps/given.js4 symbols
lib/tweets.js3 symbols
functions/notify.js3 symbols
__tests__/lib/graphql.js3 symbols
scripts/dummy-update-users.js2 symbols

For agents

$ claude mcp add twitter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact