Twitter credentials are located in appsettings.json which can be replaced.
The project template is ASP.NET Core WebAPI
The project code has been organized as below
- BackgroudServices : This contains twitter sample stream which runs as a background service on start up.
- Controllers : Contains TwitterStreamController which has routes for GET count and GETTop10HashTags
- DataStores : Contains data access logic for storing tweets.
- Models
TwitterStreamConsumerTests has unit tests for the controller.