Skip to content

An example of using Google Cloud Function to communicate with GunDB

Notifications You must be signed in to change notification settings

mimiza/google-cloud-function-gun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Google Cloud Function to communicate with GunDB

An example of using Google Cloud Function to communicate with GunDB.

How it works and what's the trick

Google Cloud Function doesn't allow creating new files/folders in runtime. Gun automatically creates ./radata which makes Google Cloud Function stop deploying. The trick is that to create an empty file called 'radata' and in Gun() function we must set radisk and localStorage to false.

About

An example of using Google Cloud Function to communicate with GunDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published