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
Copy file name to clipboardExpand all lines: templates/mle-ts-ords-backend/README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ Building on top of the standard [mle-ts-sample](../mle-ts-sample/README.md) layo
26
26
|`src/ords.ts`| Contains handler functions for ORDS REST endpoints. |
27
27
|`src/index.ts`| Exports the public API for the MLE module (see mle-ts-sample), plus ORDS handler implementations. |
28
28
|`utils/database/ords.sql`| SQL script to configure ORDS: installs ORDS modules, templates, and handlers bound to the MLE JS module. |
29
+
|`utils/db.mjs`|`db.mjs` is a wrapper around SQLcl. It is used to execute SQL scripts in the database using creadentials specified in `.env` file. See `package.json` for usage. |
29
30
|`test/rest.test.js`| Automated tests for the REST API endpoints, using HTTP requests against the running ORDS backend. |
30
31
|`docker-compose.yml`| Docker Compose file spinning up both Oracle Database 23 Free (`db23`) and an ORDS node (`ords-node1`). |
31
32
|`utils/database/setup/01-user-setup.sql`| Creates MLE enabled user. The script is run during docker container DB service startup. |
@@ -36,7 +37,7 @@ All standard files and scripts from [`mle-ts-sample`](../mle-ts-sample/README.md
36
37
37
38
-[Oracle Database 23ai](https://www.oracle.com/database/) or Oracle Database Free (provided via Docker Compose).
38
39
-[Oracle REST Data Services](https://www.oracle.com/database/technologies/appdev/rest.html) (ORDS, configured for database access).
39
-
-[SQLcl](https://www.oracle.com/database/sqldeveloper/technologies/sqlcl) for deploying MLE modules.
40
+
-[SQL Developer Command Line](https://www.oracle.com/database/sqldeveloper/technologies/sqlcl), aka _sqlcl_ is used to deploy the bundled JavaScript code as an MLE module in the database.
40
41
-[Node.js](https://nodejs.org/).
41
42
- (Optional) [Docker](https://www.docker.com/) and [Docker Compose](https://docs.docker.com/compose/) for quick local setup.
42
43
_Note: Any suitable container engine, such as [Podman](https://podman.io/), can be used in place of Docker._
0 commit comments