This README would normally document whatever steps are necessary to get your application up and running.
This repository is for Dropbox application using react js as front end and node js as back end and uses Kafka for scalability and fault tolerance.
DROPBOX
Client setup-
- Client module is dropboxclient
- Resolve dependencies in package.json
- Launch the application by - npm start
- Client port is 3000
- Hit the URL- localhost:3000
Server setup-
- Server module is dropboxserver
- Resolve dependencies in package.json
- Run app.js to start the server
- Server port is 3003
kafka Server-
-
Server module is Kafka-back-end
-
Resolve dependencies in package.json
-
Start your Zookeeper and kafka Servers
-
Create two topics for the kafka a) request_topic - to send all the requests b) response_topic - to send all the responses
-
Run server.js to start the kafka server