Categorygithub.com/shravanasati/everynyan-notification-service
modulepackage
0.0.0-20241215184921-d79739fc4065
Repository: https://github.com/shravanasati/everynyan-notification-service.git
Documentation: pkg.go.dev

# README

everynyan-notification-service

This is the notifications service for everynyan which is resposible for sending in-app and push notifications to users.

It is currently under development.

Setup Development Environment

  1. Clone the repository.

  2. Create a .env file.

SECRET_KEY=
SALT=
API_KEY=

VAPID_PRIVATE_KEY=
VAPID_PUBLIC_KEY=

The first three fields should be exactly same as those setup for the nextjs website.

The API_KEY field corresponds to the NOTIFICATIONS_API_KEY env var for the nextjs website.

VAPID credentials can be obtained by running go build. The server will panic that these env vars are not set and print a set of them, the VAPID private and public key in order (private first, public second).

VAPID_PUBLIC_KEY corresponds to the NEXT_PUBLIC_VAPID_PUBLIC_KEY for the nextjs website.

Set those and then run the server again.

go build

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author