Project Report: https://github.com/adityaparmar03/Kayak/blob/master/Kayak_Project_Report.pdf
Checkout this repo, install dependencies, then start the gulp process with the following:
$ git clone https://github.com/MeenakshiParyani/Kayak.git
$ cd react-front-end
$ npm install
$ npm start
$ cd kafka-front-end
$ npm install
$ npm start
$ cd kafka-back-end
$ npm install
$ npm start
$ Access the Kayak Portal on http://localhost:3000
# Install the Redis Server
$ brew install redis
# Start the Redis Server
$ redis-server
# Install the Redis Server
$ wget http://download.redis.io/redis-stable.tar.gz
$ tar xvzf redis-stable.tar.gz
$ cd redis-stable
# Start the Redis Server
$ redis-server
$ make
# Start the Redis CLI
$ redis-cli
# To see the redis cached key and value pair
$ KEYS *
query = User.find({});
query.where("id", req.session.userId);
query.lean() # Lean is what instructs Redis to cache the query results
query.exec(function(err, userInfo){
// Process the Query Results
});
login getapi MmtCars CleartripCars AlamoCars MmtHotels CleartripHotels TripAdvisorHotels MmtFlights CleartripFlights ExpediaFlights BookFlight BookHotel BookCar
kafka-topics --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 -topic <<topic_name>>
kafka-topics --list --zookeeper localhost:2181