Deployment

Haska handle whole project in localhost environment until next version and we have instruction to deploy your project manually in your localhost and production.

When you finished with your back-end services and endpoints you have to start to deploy and test your project in production. At first for localhost or production environment you have to follow the manual instruction which shows as below in deployment section:

Requirements:

You just have to Install node.js for your desired client as requirement :) and also you have to setup your desired database in your client or server.

Instructions:

Go to your project directory which exist in deployment section by terminal.

$ cd HelloWorld

Install all dependencies for your whole services by:

$ npm install

To start rest-ful API services run below script in root directory:

$ node .

To start admin dashboard service run below script in dashboard directory:

$ npm start

Whole services after running your project gonna serve as below URL's:

API BASE URL:

HTTP://127.0.0.1:8000/api

API EXPLORER URL:

HTTP://127.0.0.1:8000/explorer

ADMIN DASHBOARD URL:

HTTP://127.0.0.1:3006

MONITORING SYSTEM URL:

HTTP://127.0.0.1:8080/swagger-status/ui

Before deploy you have to setup your database and set your production database configs in your project locally and assign all models to production database.

Last updated