✏️
readymade-restaurant-app
  • Readymade Restaurant App
  • Technologies
  • Requirements
  • User Mobile App
  • Installation Guide
  • User Mobile App Structure
  • API Config
  • Push Notifications
  • Release Build
  • Delivery Mobile App
    • Prerequisites
    • App Setup
    • Delivery Mobile App Structure
    • Run App
  • CMS Dashboard
  • Zip File Structure
  • Introduction to NodeJS
  • System Requirements
  • How To Run
  • Project Structure
  • CMS API Config
  • Push Notifications For CMS
  • Deployment
    • Heroku NodeJS Api
  • Changelog
    • Changelog
Powered by GitBook
On this page

Was this helpful?

How To Run

In this section, it provides detailed information how to run the Node JS API and Dashboard.

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 :

$ nodemon
  • Once the nodeJS dependencies and MongoDB connection set. It will open your web browser window and if didn't open localhost:8000 and you can see swagger api like the demo.

  • Common Error : You may receive node-gyp error once you are run this app. This issue mostly comes on windows machine. You may need visual studio on window machine to fix this issue.

How to run Dashboard :

Run in Web browser

Open your terminal and navigate to the project folder ( webapp ) and install NodeJS dependencies :

** $ npm install **

Once node dependencies are installed successfully you can run the app in browser window with :

** $ ng serve **

Production Build

** 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 Firebase hosting as it easier to manage.

If there is any issue please google it or if you do not find any solution report us , we will look into it.

PreviousSystem RequirementsNextProject Structure

Last updated 4 years ago

Was this helpful?