~repos /edge-city

#react#js#ssr

git clone https://pyrossh.dev/repos/edge-city.git

edge-city is a next level meta-framework for react that runs only on edge runtimes


9a2bce68 pyrossh

2 years ago
update readme
Files changed (1) hide show
  1. readme.md +11 -0
readme.md CHANGED
@@ -20,6 +20,15 @@ During production each page is packaged to an esm function adapted to the platfo
20
20
  2. `wrangler` for deploying to cloudflare page functions
21
21
  3. `vercel` for deploying to vercel edge runtime
22
22
 
23
+ ## DB access
24
+ Since it runs only on edge runtimes which have access to only fetch and websocket web API's, you have to use database drivers
25
+ which are compatible with these API's. Here is a list of some of them,
26
+
27
+ * [NeonDB serverless driver](https://github.com/neondatabase/serverless) - postgres
28
+ * [Platnetscale serverless driver](https://planetscale.com/docs/tutorials/planetscale-serverless-driver) - mysql
29
+ * [Mongo Http](https://github.com/patrick-kw-chiu/mongo-http.js) - mongodb
30
+
31
+
23
32
  ### Supported platforms
24
33
  1. [Cloudflare page functions](https://developers.cloudflare.com/pages/platform/functions/routing/)
25
34
  2. [TODO][Vercel edge functions](https://vercel.com/docs/concepts/functions/edge-functions)
@@ -38,3 +47,5 @@ During production each page is packaged to an esm function adapted to the platfo
38
47
  5. Add tests for bot
39
48
  6. Add tests for runtime
40
49
  7. Maybe move to vite for HMR goodness
50
+ 8. Add E2E tests for example
51
+ 9. Fix todos sql library