You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1011 B

# Product: Web API (server)
# Version: 1.08
# Developer: Aeric Poon
# License: Open Source
# Thanks to Erel, Anywhere Software for the great products and B4X community for encouragement and supports ;)
# Lines starting with '#' are comments.
# Backslash character at the end of line means that the command continues in the next line.
# Server Path
ROOT_PATH=/v1/
ROOT_URL=http://127.0.0.1
# Java server port
ServerPort=19800
SSLPort=0
# SSL Keystores
SSL_KEYSTORE_DIR=/etc/letsencrypt/live/mydomain.com
SSL_KEYSTORE_FILE=keystore.jks
SSL_KEYSTORE_PASSWORD=xxxxxx
# Define App Constants
HOME_TITLE=WEB API
APP_TITLE=Web API
APP_TRADEMARK=B4X
APP_COPYRIGHT=Copyright B4X 2021
# DATABASE CONFIGURATION
# SQLite
DbName=webapi.db
DbType=sqlite
DriverClass=com.sqlite.JdbcUrl
JdbcUrl=jdbc:sqlite:webapi.db
# MySQL
# DbName=webapi
# DbType=mysql
# DriverClass=com.mysql.jdbc.Driver
# JdbcUrl=jdbc:mysql://localhost/webapi?characterEncoding=utf8&useSSL=false
# User=root
# Password=password
# MaxPoolSize=100