LogoLogo
HOMEPRODUCTDEMOINSTALLTION SERVICE
  • Readymade Grocery Shop
  • 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
    • App Setup
    • Customer App Structure
    • Run Customer App
    • Release build
  • Delivery Boy app
    • Installation
    • App Set Up
    • Delivery App Structure
    • Run Delivery Boy App
  • USER-MANUAL
    • Products
    • Categories
    • Deals
    • Orders
    • Coupon
    • Settings
    • Subscription Feature
    • Shipping Methods
  • Website
    • Webapp Installation
    • Webapp Setup
Powered by GitBook
On this page

Was this helpful?

  1. API - Backend

Run API

It gives detailed information regarding various commands used to run the API.

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 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 API endpoint to mobile app, webapp and dashboard.

Release build

To create release build run following command.

npm run start:prod // For production
nodemon