remult 0.13.1 → 0.13.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/readme.md +3 -3
- package/server/expressBridge.js +1 -1
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
|
|
20
20
|
## What is Remult?
|
|
21
21
|
|
|
22
|
-
**Remult** is a fullstack CRUD framework
|
|
22
|
+
**Remult** is a fullstack CRUD framework that uses your TypeScript model types to provide:
|
|
23
23
|
|
|
24
|
-
*
|
|
24
|
+
* Secure REST API (highly configurable)
|
|
25
25
|
* Type-safe frontend API client
|
|
26
26
|
* Type-safe backend query builder
|
|
27
27
|
|
|
28
28
|
#### Remult :heart: Monorepos
|
|
29
29
|
|
|
30
|
-
Using a `monorepo` approach, with model types shared between frontend and backend code, Remult can enforce data validation and constraints, defined once, on both frontend and REST API
|
|
30
|
+
Using a `monorepo` approach, with model types shared between frontend and backend code, Remult can enforce data validation and constraints, defined once, on both frontend and REST API levels.
|
|
31
31
|
|
|
32
32
|
## Getting started
|
|
33
33
|
The best way to learn Remult is by following a tutorial of a simple Todo app with a Node.js Express backend. There's one [using a React frontend](https://remult.dev/tutorials/tutorial-react.html) and one [using Angular](https://remult.dev/tutorials/tutorial-angular.html).
|
package/server/expressBridge.js
CHANGED
|
@@ -60,7 +60,7 @@ function remultExpress(options) {
|
|
|
60
60
|
var bridge = new ExpressBridge(app, new inProcessQueueHandler(options.queueStorage), options.initRequest, dataProvider);
|
|
61
61
|
if (options.logApiEndPoints !== undefined)
|
|
62
62
|
bridge.logApiEndPoints = options.logApiEndPoints;
|
|
63
|
-
var apiArea = bridge.addArea(
|
|
63
|
+
var apiArea = bridge.addArea(__1.Remult.apiBaseUrl);
|
|
64
64
|
if (!options.disableAutoApi) {
|
|
65
65
|
register_actions_on_server_1.registerActionsOnServer(apiArea);
|
|
66
66
|
register_entities_on_server_1.registerEntitiesOnServer(apiArea);
|