@@ -80,8 +80,11 @@ universal and spatial (AR/MR/VR) applications.
8080Some of the key features include:
8181
8282- ** InSpatialORM** : An easy-to-use advanced ORM for PostgreSQL
83+ - ** InDB** : An embedded database for local development (no need to install
84+ PostgreSQL locally!)
8385- ** Authentication** : Built-in authentication and authorization out of the box
8486- ** InLive** : Real-time data streaming and synchronization over WebSockets
87+ - ** InQueue** : A task queue system for background processing
8588- ** CloudAPI** : A powerful API that is easy to use and extend. Includes built in
8689 request validation and authentication
8790- ** InCache** : A powerful caching layer for your data
@@ -120,19 +123,12 @@ InSpatial Cloud is released under the Apache 2.0 License. See the
120123### Pre-requisites
121124
122125- Deno
123- - PostgreSQL
124-
125- > Note: You'll need to create a Postgres database first:
126-
127- ``` bash
128- createdb mydb
129- ```
130126
131127### Installation
132128
133129Add the InSpatial Cloud module to your Deno project using the following command:
134130
135- ``` bash
131+ ``` shell
136132deno add jsr:@inspatial/cloud
137133```
138134
@@ -141,31 +137,17 @@ deno add jsr:@inspatial/cloud
141137### Basic Usage
142138
143139``` ts
144- import { InCloud } from " @inspatial/cloud" ;
145-
146- const app = new InCloud (" myApp" );
140+ import { createInCloud } from " @inspatial/cloud" ;
147141
148- if (import .meta .main ) {
149- app .run ();
150- }
142+ createInCloud ();
151143```
152144
153- Now you can run the app:
145+ That's it! Now you can run the app:
154146
155- ``` bash
147+ ``` shell
156148deno run -A main.ts
157149```
158150
159151You can verify the app is running by pinging the API endpoint in you browser:
160152
161153[ http://localhost:8000/api?group=api&action=ping ] ( http://localhost:8000/api?group=api&action=ping )
162-
163- You should see the following response:
164-
165- ``` json
166- {
167- "message" : " pong" ,
168- "timestamp" : 1745065012205 ,
169- "app" : " myApp"
170- }
171- ```
0 commit comments