Skip to content

Manages packages for the server portion (NodeJS) of the Masamune framework.

License

Notifications You must be signed in to change notification settings

mathrunet/node_masamune

Repository files navigation

Masamune logo

Masamune Framework

Follow on Twitter Follow on Threads Maintained with Melos

GitHub Sponsor


[GitHub] | [YouTube] | [Packages] | [Twitter] | [Threads] | [LinkedIn] | [mathru.net]


Just load the package in index.ts and pass the predefined data to the methods to implement the server side.

Also, katana_functions_firebase can be used to execute server-side functions from methods defined on the client side, allowing for safe implementation.

Installation

Install the following packages

npm install @mathrunet/masamune

Implementation

Import the package as follows and pass the value of exports and the list of functions you wish to define to the deploy function.

import * as m from "@mathrunet/masamune";

// Define [m.Functions.xxxx] for the functions to be added to Functions.
// 
// Functionsに追加する機能を[m.Functions.xxxx]を定義してください。
m.deploy(
    exports,
    [
        // Function for PUSH Notification.
        m.Functions.send_notification,
    ],
);

Functions passed to deploy are deployed to Cloud Functions for Firebase.

GitHub Sponsors

Sponsors are always welcome. Thank you for your support!

https://github.com/sponsors/mathrunet

About

Manages packages for the server portion (NodeJS) of the Masamune framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published