Configuration Settings

Guide to all available configuration settings(build.json Configuration).

Project settings are always configured by using a JSON configuration file in the project->public directory named build.json. This file contains a JSON object.

build.json example for Hotel

{
  "name": "Hotel",
  "version": "1.0.0",
  "dependencies": {
    "online_booking_engine" : "1.0.0",
    "advance_deposit_report" : "1.0.0"
  },
  "settings": {
      "unit_name":{
         "singular": "room", 
         "plural" : "rooms" 
         },
      "unit_type_name" :  {
         "singular":"room type",
         "plural": "room types"
         },
         "hourly_booking_enabled" : true,
         "display_tooltip" : true
   }
}

build.json example Hostel

build.json example for Vacation Rental

build.json example for Apartment

build.json example for Car Rental

build.json for example Office Space

Here is a detailed description of each key.

Name

The name key holds the value of the property type. your business type will be the property type.

Version

The version is broken down into 4 points e.g 1.2.3.4 We use MAJOR.MINOR.FEATURE.PATCH to describe the version numbers.

Dependencies

This key has a JSON array of extensions that comes with this particular package. This JSON array has an extension name as a key and it's the version as value.

Settings

This key has a JSON array of feature settings. This JSON array has feature name as key and true or false as value for activating or deactivating a particular feature, handling this application's default features settings. below we have provided a table of feature settings attribute.jso

Last updated