@@ -30,7 +30,7 @@ logic. `hyper-nano` is an embodiment of this approach.
3030[ ` adapters ` ] ( https://docs.hyper.io/oss/building-your-own-adapter ) for all of the hyper service
3131offerings:
3232
33- - data (powered by [ PouchDB ] ( https://github.com/hyper63/hyper-adapter-pouchdb ) )
33+ - data (powered by [ In-Memory MongoDB ] ( https://github.com/hyper63/hyper-adapter-mongodb ) )
3434- cache (powered by [ Sqlite] ( https://github.com/hyper63/hyper-adapter-sqlite ) )
3535- storage (powered by your local [ file system] ( https://github.com/hyper63/hyper-adapter-fs ) )
3636- search (powered by [ Sqlite and Minisearch] ( https://github.com/hyper63/hyper-adapter-minisearch ) )
@@ -78,7 +78,7 @@ npx hyper-nano --domain=foobar --experimental --data --cache ...
7878Alternatively, if you use ` Deno ` you may run ` hyper nano ` directly from the source:
7979
8080``` sh
81- deno run --allow-env --allow-read --allow-write=__hyper__ --allow-net --unstable --no-check=remote https://raw.githubusercontent.com/hyper63/hyper/main/images/nano/mod.js
81+ deno run --allow-run --allow- env --allow-read --allow-write=__hyper__ --allow-net --unstable --no-check=remote https://raw.githubusercontent.com/hyper63/hyper/main/images/nano/mod.js
8282```
8383
8484If you'd like to programmatically start ` hyper nano ` , you can import ` main.js ` and run ` main ` :
@@ -101,23 +101,23 @@ then consume your hyper instance
101101using ` HTTP ` .
102102
103103To consume using [ ` hyper-connect ` ] ( https://github.com/hyper63/hyper/tree/main/packages/connect ) pass
104- ` http://localhost :[port]/[domain] ` to ` hyper-connect ` as your
104+ ` http://127.0.0.1 :[port]/[domain] ` to ` hyper-connect ` as your
105105[ ` connection string ` ] ( https://docs.hyper.io/app-keys#nq-connection-string )
106106
107107Consume with [ ` hyper-connect ` ] ( https://github.com/hyper63/hyper/tree/main/packages/connect ) :
108108
109109``` js
110110import { connect } from ' hyper-connect'
111111
112- const hyper = connect (' http://localhost :6363/test' )
112+ const hyper = connect (' http://127.0.0.1 :6363/test' )
113113
114114await hyper .data .list ()
115115```
116116
117117Or consume via HTTP
118118
119119``` sh
120- curl http://localhost :6363/data/test
120+ curl http://127.0.0.1 :6363/data/test
121121```
122122
123123> Starting with Node 17, Node has changed how it resolves ` localhost ` , when using global ` fetch ` and
@@ -205,25 +205,21 @@ await main({
205205### cache
206206
207207```
208- ./scripts/ cache.sh
208+ deno task cache
209209```
210210
211211### test
212212
213213```
214- ./scripts/ test.sh
214+ deno task test
215215```
216216
217217### compile
218218
219219```
220- ./scripts/ compile.sh
220+ make clean compile-{target}
221221```
222222
223- ### actions
224-
225- Github actions deploy hyper to https://hyperland.s3.amazonaws.com/hyper
226-
227223## LICENSE
228224
229225Apache 2.0
0 commit comments