Welcome back to our channel @Ionicfirebase
Today we are going to talk about, How to install and setup our Multi Restaurant Saas app backend.
If you are new here and wanted to know for which application it will work then check out these videos
For Multi Restaurant Dashboard Features:
Check out the multi-restaurant dashboard product features and live demo at https://www.ionicfirebaseapp.com/products/ionic-nodejs-multi-restaurant-sass-app
Check out the live demo at https://restaurantsassapp.firebaseapp.com/
Check out the step-by-step guide to installation and setup documentation at https://docs.ionicfirebaseapp.com/multirestaurantsassapp/
System Requirement for this Project:
Nodejs and NPM: If you don’t have then download from here https://nodejs.org/en/download/
Visual Studio Code Editor: If you don’t have then download from here https://code.visualstudio.com/download as per your system requirement.
Python: If you don’t have installed Python then you can download as per your system requirement form here https://www.python.org/downloads/
Angular CLI: If you haven’t installed then check out the documentation at https://angular.io/guide/setup-local
Or You can follow below command after installation of Nodejs, Just open your command try below command:
$ npm install -g @angular/cli //Install Angular CLI
Once you are done with all installation and setup as per video then now cross-check, whether you installed correctly or not. To do this follow the below command.
First, open your command prompt:
$ npm -v // to check NPM installation and version
$ node -v //to check node installation and version.
$ python -v //to check python installation and version.
$ ng -v //to check Angular CLI installation and version.
Once you have to install node and npm then we have to install Angular CLI $ npm install -g @angular/cli .
Now open the project file in Visual Studio code and open terminal and follow the below command:
$ npm install
$ ionic serve
$ ionic serve –lab
How to run Node JS API?
$ npm install //Install NPM dependencies
$ gulp serve //start your web server
It opens in browser window whenever you are running if you face this error gulp serve: c:wssrcnode_contextify.cc:635: Assertion `args IsString()’ failed. you have to run the below command:
$ npm install natives then run
$ gulp serve
And change the url at client folder – swagger.json file – index.html to your current host server.
How to Run in a Web browser?
Open a terminal in your Visual Studio Code and follow below command:
$ npm install //install NodeJS dependencies
$ ng serve //start-server
$ ng build –prod //Build Production
Now API Configuration and Database:
Got to MongoDB atlas at https://www.mongodb.com/cloud/atlas
and sign in with your credentials then create a cluster Once the cluster gets created click on the Database on the left-hand side, it navigates to the window where you can create a user mentions the name and create a password then click on Add user.
You can follow the video or you can follow steps at our documentation at https://docs.ionicfirebaseapp.com/multirestaurantsassapp/api-config/how-to-connect-to-server
I hope this will help you out. In case you have any queries then feel free to contact us at https://www.ionicfirebaseapp.com/contact or make a comment below.
You can get connected with us on Social Media at:
Check out our open-source project on GitHub:
#restaurantapp #admindashboard #restaurantcrm #restaurantbackend