Skip to content

BernatCarbo/notifications-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 19, 2022
3127c33 · Oct 19, 2022

History

1 Commit
Oct 19, 2022
Oct 19, 2022
Oct 19, 2022
Oct 19, 2022
Oct 19, 2022
Oct 19, 2022
Oct 19, 2022
Oct 19, 2022
Oct 19, 2022
Oct 19, 2022

Repository files navigation

Notifications API

Available endpoints

  • POST /notifications In order to create a new notification
  • GET /notifications/by_user/{user_id} In order to retrieve the last (20 by default) user notifications ordered in descending order
    • Note: count query parameter is accepted to specify the amount of notifications to be retrieved
  • PUT /notifications/update/{id} In order to update a notification

Build

./gradlew build installDist
docker build -t notifications-api .

Running the built docker image

Basic execution:

docker run -p 8080:8080 notifications-api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published