Node.JS
Node.JS has been used as backend of this service which gives us many advantages against it's competitors and is considered as the best choices by many tech companies for real-time services like this. Installation may vary based on different linux distro and package manager it uses but here we have the command for centOS and ubuntu which most of the times i use.
Installing
centOS
1 2 | curl -sL https://rpm.nodesource.com/setup_9.x | bash -
yum install nodejs
|
ubuntu
1 2 | curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs
|
For full installation guide you can preffer to Official page
NPM
Node Package Manger is the official package manager of node.js which we will use to install some global and internal package needed. Go to server folder and enter following commands one by one to have all the packages needed installed:
1 2 3 4 5 | npm install npm install pm2 -g npm install polymer-cli -g -unsafe-perm npm install db-migrate -g npm install db-migrate-mysql -g |
These are the packages you will need for starting dashboard and server app. Let's continue to Install backend databases: Installing Redis