Skip to content

zetapush/zetapush-examples

Repository files navigation

zetapush-examples

In this repository we have many examples of ZetaPush. Each folder is an application with a specific use case.

You can find some more important projects/demonstrations on this github organization.

_In each example you can see some "tag" like : // <1>. This is because this examples are also used in our documentation.


hello-world

Basic application to display "Hello World" using a Custom Cloud Service

  • hello-world-vanillajs without framework.

  • hello-world-vue with Vue.js.

  • hello-world-react with React.

  • hello-world-angular with Angular.


properties-configuration

  • custom-properties-in-applicationjson Explain how to read the application.json file from the worker

http

  • custom-http-server Example to explain how to launch a HTTP server in your worker.

filesystem

  • Show how to use the file system cloud service.

database

  • database-basic-key-value A basic example of storage using key-value method.

standard-user-management

Example of extension of the StandardUserWorkflow to ...

  • change-account-creation ... change the behavior of the account creation.

  • change-generation-token ... change the generation of the token used for the account confirmation process.

  • change-message-confirmation-sender ... change the method to send the message of the account confirmation (use SMS for example, displayed in the console for this example).

  • change-token-storage ... change how the token used for the account confirmation is stored.

  • change-user-storage ... change the storage of the user informations.

  • change-uuid-generation ... change the generation of the UUID used to identify a user.

  • change-password ... change the password of a user using the legacy cloud services.

  • extend-default-configurer ... change the default template via a configurer.


Applications

standard-user-workflow

Basic application to have an application with user management (creation, confirmation, login)