Skip to content

Commit bee432e

Browse files
authored
Update README.md
1 parent 4f22fc5 commit bee432e

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# webapi-b4j
2-
Version: 1.12
1+
# WebAPI-B4J
2+
Version: 1.14
33

4-
A boilerplate for creating CRUD based Web API.
4+
A boilerplate for creating REST API Server with CRUD functionalities.
55

6-
**Depends on following libraries:** ByteConverter, JavaObject, jServer (note that version 1.12 is based on jServer 4.0), Json, jSQL
6+
**Depends on following libraries:** ByteConverter, JavaObject, jServer (note that version 1.12+ is based on jServer 4.0), Json, jSQL
77

88
**B4X Client app:** https://github.com/pyhoon/webapi-client-b4x
99

1010
# Features
11-
- CRUD based - REST-API style (GET, POST, PUT, DELETE)
12-
- Front-end (HTML, CSS, JS, Bootstrap)
11+
- CRUD based - **REST**ful-API style (GET, POST, PUT, DELETE)
12+
- Front-end (HTML, CSS, JS, **Bootstrap**)
1313
- Support **MySQL** and **SQLite** database (can be modified for MS SQL or SQL Express)
1414
- Separate SQL queries file (queries-mysql.ini and queries-sqlite.ini)
1515
- Sample database auto-generated for first run (Category and Product tables with dummy data)
@@ -26,22 +26,24 @@ A boilerplate for creating CRUD based Web API.
2626
3. Open B4J and create a new project with "Web API" template. Give the project a name, for e.g. WebAPI
2727
4. Run the project in Debug or Release mode. You will see something like this in the Logs:
2828
```
29-
Web API server (version = 1.12) is running on port 19800
29+
Web API server (version = 1.14) is running on port 19800
3030
Open the following URL from your web browser
3131
http://127.0.0.1:19800/v1/
3232
```
3333
4. Copy the URL showed in Logs and open it using your web browser.
3434
5. To connect to MySQL server, go to Objects folder and open "config.ini".
3535
6. Edit the root password at line #42 (second last line). Save the file.
36-
7. In B4J project, comment the line '#AdditionalJar: sqlite-jdbc-3.36.0.2 and uncomment the line #AdditionalJar: mysql-connector-java-5.1.49-bin. (Make sure you are using the correct version of connector)
36+
7. In B4J project, comment the line '#AdditionalJar: sqlite-jdbc-3.39.3.0 and uncomment the line #AdditionalJar: mysql-connector-java-5.1.49-bin. (Make sure you are using the correct version of connector)
3737
8. Follow step #3 above.
3838

3939
**Preview**
40-
<img src="https://github.com/pyhoon/webapi-b4j/raw/main/Preview/web-api.png" title="Web API" />
40+
<img src="https://github.com/pyhoon/webapi-b4j/raw/main/Preview/web-api-01.png" title="Homepage" />
41+
<img src="https://github.com/pyhoon/webapi-b4j/raw/main/Preview/web-api-02.png" title="Category" />
42+
<img src="https://github.com/pyhoon/webapi-b4j/raw/main/Preview/web-api-03.png" title="Documentation" />
4143

4244
**YouTube**
4345

44-
[![Alt text](https://img.youtube.com/vi/siTGmm726zI/0.jpg)](https://youtu.be/siTGmm726zI)
46+
[![Alt text](https://img.youtube.com/vi/umSSfja5Dzg/0.jpg)](https://youtu.be/umSSfja5Dzg)
4547

4648
Made with ❤ in B4X
4749

0 commit comments

Comments
 (0)