You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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**)
13
13
- Support **MySQL** and **SQLite** database (can be modified for MS SQL or SQL Express)
14
14
- Separate SQL queries file (queries-mysql.ini and queries-sqlite.ini)
15
15
- 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.
26
26
3. Open B4J and create a new project with "Web API" template. Give the project a name, for e.g. WebAPI
27
27
4. Run the project in Debug or Release mode. You will see something like this in the Logs:
28
28
```
29
-
Web API server (version = 1.12) is running on port 19800
29
+
Web API server (version = 1.14) is running on port 19800
30
30
Open the following URL from your web browser
31
31
http://127.0.0.1:19800/v1/
32
32
```
33
33
4. Copy the URL showed in Logs and open it using your web browser.
34
34
5. To connect to MySQL server, go to Objects folder and open "config.ini".
35
35
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)
0 commit comments