Share My Creation [Project Template] [Web] API Server - aeric    Apr 24, 2024   (67 reactions) Version: 1.16 Description: Create Web API Server with CRUD functionalities Updates: Web API Server 2.0 is available. Check https://www.b4x.com/android/forum/threads/project-template-web-api-server-2.143310/ 141151 141152 141153 Template: Web API Server (1.16).b4xtemplate Depends on following libraries: ByteConverter JavaObject jServer Json jSQL Features: CRUD based - RESTful Web API...) Auto generated documentation with API test. How to use: Copy the "Web API Server (1.16... Share My Creation [Project Template] [Web] API Server 2 - aeric    Apr 25, 2024   (27 reactions) Version: 2.06 Description: Create Web API Server using B4X project template Sample project... Server For older version, see Web API Server (v1.16) Template: Web API Server (2.06).b4xtemplate... Download File Example Vue 3 CRUD Example Live: Creating Web API Server with B4X Template AHf1...) MiniORMUtils v1.10 (new) WebAPIController v1.05 (new) Main module is cleaner (new) Added ServerConfiguration... tbl_categories (change) ServerConfiguration Update sub renamed to Finalize (change) better handling... B4J Tutorial [Server] Building web servers with B4J - Erel    Sep 1, 2021   (31 reactions)   tags: server, Erel / The server implementation is based on a popular and powerful Java server library named Jetty (license) The database connection pooling implementation is based on c3p0 (license). B4J Server features: High performance web server Automatic handling of static files Simple to develop custom... powerful database connections pooling Server can run on Windows, Mac and Linux (including board computers... servers then it is recommended to start with a HTTP tutorial such as this one: http://net.tutsplus.com... B4i Tutorial FirebaseNotifications / Push Messages (server not required) - Erel    Jun 26, 2023   (6 reactions)   tags: Erel folder. Now you should click on Tools - Build Server - Create Push Key - Firebase Service: https://www... Share My Creation [B4J] MySQL API Server (Key + Token) and [B4X] User Login Apps - aeric    Apr 24, 2024   (35 reactions) Updates: For latest version of B4J Web API Server, working with cross platform B4X client apps... Finally I would like to share my B4J API server written in B4J. Compare to my previous PHP API, this API server implements user access token to authorize user to consume the API. SQL.zip - SQL script to create necessary database and tables in MySQL server. jAPI.zip - Source code for server app... app using B4XPages template (B4A, B4i and B4J) Live server: https://api.puterise.com:17179 12 Jan... B4A Library [B4X] FTP Server implemented with Socket and AsyncStreams - Erel    Jul 18, 2022   (40 reactions)   tags: B4A B4J, FTP . It only demonstrates how you can use a standard FTP client to communicate with the server.... It is an implementation of a standard FTP server. You can use standard FTP client programs to send or receive files... classes: FTPServer - There is a single instance of this class. It manages the server socket that listens... important as each app is sandboxed anyway. Using the server is simple: server.Initialize(Main, "FTPServer") server.SetPorts(51041, 51042, 51142) server.AddUser("Test", "test... B4J Tutorial [server] Run a Server on a VPS - Erel    Nov 11, 2020   (19 reactions)   tags: B4J Run Server on VPS, Erel The steps required to run a B4J server on a hosted server (such as a VPS) are: 1. Download Java... with any additional files (www folder for example). 3. Start the server with: nohup path_to_java/bin.... You need to use nohup as otherwise the server will be killed when you log out. 4. Make sure that the relevant port is open in the firewall settings. 5. If you want to kill the server you can use... nohup.out To monitor the server logs. If you see an error related to the temporary folder then... B4J Tutorial [Server] SSL Connections - Erel    Jun 28, 2021   (15 reactions)   tags: B4J, ports SSL Starting from B4J v2.00 the server can listen to two ports, the standard insecure port (http) and a secure port (https). The default port for http is 80 and for https is 443. These ports are used...-and-certificates-JDK-keytool The server configuration is done with SslConfiguration object. This code should be called before the server is stared. Private Sub ConfigureSSL (SslPort As Int... object and set the path and passwords of the keystore file. Then we call Server.SetSslConfiguration... B4J Code Snippet Resumable Subs (wait for / sleep) in server handlers - Erel    Feb 16, 2020   (15 reactions) Resumable subs can only work when there is a message queue. By default, server handlers end when the Handle sub is completed. They do not create a message loop. If you want to wait for an event then you need to call StartMessageLoop and later StopMessageLoop. Example of handler that downloads a page and returns it as the response: Sub Handle(req As ServletRequest, resp As ServletResponse...: Use the correct library. OkHttpUtils2_NonUI for server apps and OkHttpUtils2 for UI apps. Above tip... B4J Library [server] FirebaseServer - backend verification for signed in users - Erel    Feb 14, 2023   (15 reactions)   tags: firebase backend server . FirebaseServer completes the puzzle with server side verification of the user. This means....GetUserTokenId. The client sends the token id to the server. The server verifies the token using....com/docs/server/setup#add_firebase_to_your_app Copy the json file to the Files tab. Simple example: Sub Process_Globals Private fs As FirebaseServer End Sub Sub AppStart (Args() As String) fs...) End If End Sub Library: www.b4x.com/b4j/files/jFirebaseServer.zip... Page: 1   2   3   4   5   6   7   |