Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Latest commit

 

History

History
53 lines (36 loc) · 1.77 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.77 KB

HashTagMate

HashTagMate

This project is no longer maintained, only to be used for educational purposes

Preview

Screen Shot 2022-10-27 at 00 11 47

Accessibility

  • You can access our frontend that consumes an Express API using ReactJS and NextJS at HashTagMate

  • You can follow HashTagMate twitter activities at ImRwanda

About HashTagMate

HashTagMate is an app that is meant to sort tweets based on hashtags and has the ability to retweet them.

Setup HashTagMate

Ensure you have Node and Git installed.

git clone https://github.com/JeanAbayo/HashtagMate
cd HashtagMate
npm install
npm run dev

The Twitter api Use this url to create a Twitter app: https://apps.twitter.com/app/new

Replace the :: in config.js with Consumer Key, Consumer Secret, Access Token, Access Token Secret Provided by and rename it to config.js

module.exports = {
	consumer_key: '::',
	consumer_secret: '::',
	access_token: '::',
	access_token_secret: '::'
}

Access the server at: http://localhost:3000/

Endpoints

Resource URL Methods Description Requires Token
/hashtag GET Pass a hashtag as a parameter to fetch it's tweets TRUE
/hashtag/:hashtag GET Pass a hashtag as a parameter to fetch it's tweets(Through URL) TRUE