A simple dictionary app built with B4A that connects to a Node.js server and a MySQL database.
- Search for words in the dictionary database
- Display definitions for selected words
- Add new words and definitions to the database
- Edit and delete existing words and definitions
- Basic knowledge of B4A
- A working Node.js server
- A MySQL database setup and configured
- An understanding of RESTful API principles
- Getting Started
- Clone the repository:
$ git clone https://github.com/nawapons/dictionaryb4a.git
- Open the api folder in Vscode and edit the following variables in the Main module:
host - The URL of your mysql server
username - The username for your MySQL database
password - The password for your MySQL database
database - The name of your MySQL database
- In the Node.js server, run the following commands to start the server:
$ npm run dev
- Build and run the B4A app on your device or emulator.
I use api from pixabay to generate pictures from dictionary words so you must register in website pixabay and get api key then put it to server.js
If you would like to contribute to this project, please create a pull request.