LogoLogo
  • Grocery Saas App
  • INTRODUCTION
    • Overview
    • Prerequisites
    • Technologies
    • Source code
    • changelog
    • FAQ
    • Support
  • API Backend
    • NestJS installation
    • Api setup
    • Run API
    • MongoDB setup
  • Dashboard
    • Angular Installation
    • Run dashboard
    • Dashboard setup
  • Customer app
    • Flutter installation
    • Customer App setup
    • Customer App structure
    • Run Customer App
    • Release build
  • Delivery boy app
    • Installation
    • Delivery Boy App setup
    • Delivery Boy App structure
    • Run Delivery App
  • USER MANUAL
    • Deals
    • Orders
    • Coupon
    • Settings
    • Category
    • Products
    • Brands
    • Location
  • Website
    • Web app installation
    • Web app setup
Powered by GitBook
On this page

Was this helpful?

  1. API Backend

Run API

To run and release the build follow these below commands.

PreviousApi setupNextMongoDB setup

Last updated 4 years ago

Was this helpful?

You need to follow this command to run API, Once API runs you can use the API endpoint in your app or dashboard.

$ cd api
$ npm install
$ npm run start // For development

You can also run this API with the help of . You can install nodemon globally on your machine and just run nodemon command in API directly and API will start default port on 3000.

You can deploy this API to any server like Heroku, Digital Ocean, AWS and map with your Domain or IP and add an API endpoint to the mobile app, web app and dashboard.

Release build

To create a release build run the following command.

npm run start:prod // For production
nodemon