Skip to content

Using MEAN stack and handled high resources using Redis Caching, RabbitMQ clustering, Lazy loading, MongoDB Sharding, Hybrid database, gzip compression and connection pooling etc.

License

Notifications You must be signed in to change notification settings

dhruvkakadiya/uber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uber Simulation

Uber simulation using backend and client separate components.

Dependencies

  1. Mac/Linux/Windows OS
  2. Node
  3. MySQL
  4. MongoDB
  5. Redis
  6. RabbitMQ

Getting started for Mac

  1. Install dependencies using brew
brew install mongodb mysql rabbitmq redis node
  1. Alternatively use their own website to download relevant .dmg package installers and install them.

  2. Make sure all services are started

brew services start mongodb
brew services start mysql
brew services start rabbitmq
brew services start redis
  1. If required services have been started or not, can be verified using command
ps ax | grep mongod
ps ax | grep mysqld
ps ax | grep rabbitmq
ps ax | grep redis
  1. Clone repository
git clone [email protected]:dhruvkakadiya/uber.git
  1. Open new terminal and start backend
cd uber/Uber-Backend && npm install && npm start
  1. Open new terminal and start client
cd uber/Uber-Client && npm install && npm start
  1. Open link in your favorite browser
http://localhost:3000

Auto code formatting with Prettier

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

About

Using MEAN stack and handled high resources using Redis Caching, RabbitMQ clustering, Lazy loading, MongoDB Sharding, Hybrid database, gzip compression and connection pooling etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published