A simple Angular 2 project that let you search for an hashtag on Twitter and count who and how many times used that hashtag
Here's a demo version of this application
You can download a pre-built version and follow the Server-side setup and deploy the package to your server.
Alternately you can build on your own following this guide.
- Create a folder
- Enter that folder
- Open a command prompt/bash
- Run
git clone https://github.com/l0ll098/TwitterHashtagsCounter.git
. This will clone this repo in your folder (you need Git)
- Open the folder where you have downloaded the source code
- Rename the file
config.template.js
toconfig.js
- Open that file and replace the placeholder value with the keys generated by Twitter. You can find them in the Application Management page -> Navigate to your app (create a new one if don't already have one) -> Open the "Keys and Access Tokens" section
- Save the file
- Get the source code
- Server-side setup
- Run
npm install
in the root directory
- Get the source code
- Enter the
client
folder and- Run
npm install
- Run
ng build --prod --aot
to build the Angular 2 app - Run
npm run precache
to generate an upadated version ofservice-worker.js
- Run