Web Notifications Server
npm install @xyzblocks/web-notifications-servernpm install @xyzblocks/web-notifications-domain @xyzblocks/web-notifications-server --save
function webNotificationsServer(notificationRepository: INotificationRepository, subscriptionService: SubscriptionService): express.Router
typescript
const app: express.Application = express();
app.use(
webNotificationsServer(
new InMemoryNotificationRepository(),
new SubscriptionService(new InMemoryNotificationRepository(), new InMemorySubscriptionRepsitory()),
),
);
app.listen(3000);
``