Skip to content

bradley101/blackpearl-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to run blackpearl-backend

git clone https://github.com/bradley101/blackpearl-backend.git
cd blackpearl-backend

# Copy your firebase config file to the working directory
cp ~/config.json .

npm i
npm run main

Now POST /notify to http://localhost:3443 with the data params.

Or

Import db_helper.py into your Python 2.x working directory (Install requests module first - python -m install requests)

from db_helper import sendNotification

sendNotification("Some msg", "1", 89987532343223, "4")

The notification will be sent to the app users.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published