3.0.3 • Published 6 years ago

@xyzblocks/web-notifications-server v3.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

@xyzblocks/web-notifications-server

Web Notifications Server

Build Status

Installation

npm install @xyzblocks/web-notifications-domain @xyzblocks/web-notifications-server --save

npm.io

API

  • function webNotificationsServer(notificationRepository: INotificationRepository, subscriptionService: SubscriptionService): express.Router

Getting Started

const app: express.Application = express();

app.use(
  webNotificationsServer(
    new InMemoryNotificationRepository(),
    new SubscriptionService(new InMemoryNotificationRepository(), new InMemorySubscriptionRepsitory()),
  ),
);

app.listen(3000);

Browse Swagger Documentation via http://localhost:3000/swagger/

Browse Demo Page via http://localhost:3000/demo/

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago