How to run Node JS API :
Open the Terminal and navigate to the project folder ( API directory ) and install NodeJS dependencies :
$ npm install
Once both dependencies are installed successfully you can run the app in browser window with :
$ gulp serve
It opens in browser window whenever you are running if you face this error gulp serve: c:\ws\src\node_contextify.cc:635: Assertion `args->IsString()' failed. you have to run the below command
$ npm install natives then run$ gulp serve
If You face swagger issue while running the application you need to navigate to your project click on client folder >swagger.json file >index.html there you need to change your URL then run it again .
How to run Dashboard :
There are two dashboards in this application
1)super admin dashboard and one more is for 2)restaurant owner and manager dashboard you can run both the dashboard by running the below commands only
Run in Web browser
Open your terminal and navigate to the project folder and install NodeJS dependencies :
** $ npm install **
Once node dependencies are installed successfully you can run the app in browser window with :
** $ ng serve **
** ng build --prod **
Once you run it will create production build that you can deploy on any hosting that support html hosting but i suggest to use Fire base hosting as it easier to manage.
If there is any issue please google it or if you do not find any solution please feel free to report us , we will look into it.