# 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
-
Clone the repository.
-
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
# Functions
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