Skip to content

Instantly share code, notes, and snippets.

View satyajeetjadhav's full-sized avatar

Satyajeet Jadhav satyajeetjadhav

View GitHub Profile
@satyajeetjadhav
satyajeetjadhav / server.js
Created August 28, 2020 05:46
Webservice for Safari Push Notifications with Expressjs
// server.js
// where your node app starts
// we've started you off with Express (https://expressjs.com/)
// but feel free to use whatever libraries or frameworks you'd like through `package.json`.
const express = require("express");
const app = express();
app.use(express.json());
// Example express application adding the parse-server module to expose Parse
// compatible API routes.
var express = require('express');
var ParseServer = require('parse-server').ParseServer;
var path = require('path');
var compression = require('compression');
var S3Adapter = require('@parse/s3-files-adapter');
var oembed = require('./oembed.js');
var getTrip = require('./getTrip.js');