// on your terminal, go to your respective kafka folder
$ cd kafka_2.11-0.11.0.1
// start zookeper
$ bin/zookeeper-server-start.sh config/zookeeper.properties
// start kafka server
$ bin/kafka-server-start.sh config/server.properties
// create 2 topics
// request_topic and response_topic
$ bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic request_topic
$ bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic response_topic
// see the topics that has been created
$ bin/kafka-topics.sh --list --zookeeper localhost:2181
// download redis package and install
$ wget http://download.redis.io/releases/redis-4.0.4.tar.gz
$ tar xzf redis-4.0.4.tar.gz
$ cd redis-4.0.4
$ make
run Redis server
//
$ ./src/redis-server
// git clone the project
$ cd server
$ npm install
// migrate MySQL database
$ sequelize db:migrate
$ npm start
$ cd kayak-client
$ npm install
$ npm start
Use admin-client-v2, this admin client is running on localhost:3009
$ cd admin-client-v2
$ npm install
$ npm start
$ cd kafka-back-end
$ npm install
$ npm start
copy the .env key values from Trello on Reference List
All of the 10,000 user listing
All of the listing of flights, hotels, cars, billing, logging, are in the cloud
Here is the cluster address of the Mongo Atlas Database
mongodb://${username}:${password}@cluster0-shard-00-00-i5u9w.mongodb.net:27017,cluster0-shard-00-01-i5u9w.mongodb.net:27017,cluster0-shard-00-02-i5u9w.mongodb.net:27017/kayak_dev?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin