This project likes a basic version of Twitter.
- Create a tweet from the anonymous user.
- Show list tweets with sort by the number of retweets and default limit is 10 tweets.
- Implement infinity scroll to get more tweets.
- The user can retweet/unretweet every tweets.
- Update real-time the number of retweets when another user retweet the tweet.
- Node.js Angular requires Node.js version 10.9.0 or later.
- npm package manager requires version 6.2.0 or later.
Use the Angular CLI to create projects, generate application and library code, and perform a variety of ongoing development tasks such as testing, bundling, and deployment.
npm install -g @angular/cli
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.