Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ajsalemo/mock-twitter
An attempt at re-creating as much as Twitter's website and functionality as possible.
https://github.com/ajsalemo/mock-twitter
apollo apollo-cache-inmemory apollo-cache-persist apollo-server-express authentication css dotenv firebase-auth graphql html javascript jsx jwt material-ui momentjs node react single-page-app twitter twitter-api
Last synced: about 2 hours ago
JSON representation
An attempt at re-creating as much as Twitter's website and functionality as possible.
- Host: GitHub
- URL: https://github.com/ajsalemo/mock-twitter
- Owner: Ajsalemo
- Created: 2019-01-10T00:35:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T09:57:12.000Z (over 1 year ago)
- Last Synced: 2023-03-03T22:14:06.048Z (over 1 year ago)
- Topics: apollo, apollo-cache-inmemory, apollo-cache-persist, apollo-server-express, authentication, css, dotenv, firebase-auth, graphql, html, javascript, jsx, jwt, material-ui, momentjs, node, react, single-page-app, twitter, twitter-api
- Language: JavaScript
- Homepage: https://mock-twitter-site.herokuapp.com/
- Size: 7.52 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mock Twitter - a replica site - :rocket: [Link](https://mock-twitter-site.herokuapp.com)
#### This site was created with the intentions of producing a decently close replica of Twitter's UI and functionality. The UI is modeled after is Twitter's old UI, their UI was recently refresh and changed during the building of this site.
## Usage
### Accounts and users
Upon logging in, a general trending pane will be displayed, as well as all accounts you follow - including their retweets. By clicking the profile avatar in the top right or left, you can access your public facing profile, the dark-mode theme toggle and logout option in the dropdownThe authenticated user can post tweets - like and retweet other tweets, all changes will be reflected on their actual Twitter account
![Landing page](https://media.giphy.com/media/kfFUY8zyCP9cs95QJz/giphy.gif)
### Public profiles
All public profiles can be accessed just like on Twitter's normal site, it will display their favorites, lists, timeline, followers and following. Posts on these accounts can be liked and retweeted.![Public profiles](https://media.giphy.com/media/kz0W4rysFFTg77CUbO/giphy.gif)
### Search options and subscribing to lists
The search field in the navigation bar will return results from Twitter's Standard Search API - this mostly includes the tweets related to the keywords entered. The user's profile is included in the tweets.A user can subscribe to list's on public profiles, they can also view the timeline for the list specified.
![Search tweets](https://media.giphy.com/media/iGvR1ApT1VuLps3DXk/giphy.gif)
### Technologies
This was built mainly using React, Apollo Client and Apollo-Server-Express, GraphQL and Material UI. Including Redux and also Firebase for authentication. Additional NPM Packages were also used.#### Known issues
Ocassionally Apollo network requests will error out, mostly to do with the Home Timeline API - this eventually corrects itself when Apollo starts to make re-polling attempts.