Using MEAN stack and handled high resources using Redis Caching, RabbitMQ clustering, Lazy loading, MongoDB Sharding, Hybrid database, gzip compression and connection pooling etc.
Uber simulation using backend and client separate components.
brew install mongodb mysql rabbitmq redis node
Alternatively use their own website to download relevant .dmg package
installers and install them.
Make sure all services are started
brew services start mongodb
brew services start mysql
brew services start rabbitmq
brew services start redis
ps ax | grep mongod
ps ax | grep mysqld
ps ax | grep rabbitmq
ps ax | grep redis
git clone [email protected]:dhruvkakadiya/uber.git
cd uber/Uber-Backend && npm install && npm start
cd uber/Uber-Client && npm install && npm start
http://localhost:3000
Install Prettier using npm
sudo npm -g install --save-dev --save-exact prettier
Apply prettier formatting to JS, MD and CSS files
prettier --write **/*.{js,md,css}
Apply prettier formatting to specific file
prettier <filename_with_path> --write
prettier Uber-Client/app.js --write