1.0.0 • Published 9 years ago
hipages-coding-challenge v1.0.0
hipages coding challenge
What it does?
Search for tweets related to hipages
Installation
npm install hipages-coding-challenge
##Technology Stack
- Node.js
- expressJS - node mvc framework
- angularJS
- bootstrap
- OAuth
- underscore
##Reasons
- Node.js - main reason is Universal Javascript - I am a super fan of JS and node is the ideal option
- expressJS - Node.js MVC framework which streamlines Web App Development
- angularJS - powerful front-end js library that features in two-way binding which allows for keeping view and models synced
- bootstrap - group of pre-defined CSS classes which assist me to create fancy controls with little effort
- OAuth - required for third-party app to gain access to my resources and make authenticated RESTful api calls
- underscore - JS utility library wraps up dozens of useful functions - I am using
isEmpty
to tell if an object has any keys
##Run Application
From the root directory:
node server.js
##Note
- Use input from search bar if it has value. Alert user if input does not contain
hipages
- Use either
@hipages
or#hipages
if search bar is empty - Current implementation only shows
id
,created_at
andtext
of tweets, to load more you need to modifywhiteList
intweets_client_service
andindex.ejs
accordingly. Read https://dev.twitter.com/rest/reference/get/search/tweets before making any modification