spear-go

module
v0.0.0-...-7df3c15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2022 License: MIT

README

Spear-Backend

Notes of using
  • Import postman-collection from here.
  • In update endpoint, gender have to take only one of these values [MALE, FEMALE].
  • Database is seeded, you can look at the data from here
  • After using signup or login, copy the token and paste it in authorization section in postman. Choose bearer token. This is for using any profile and notification endpoints.
  • Notification date of creation has format like this '2022-04-19 20:01:09.385531+02'
How to run?
docker-compose up

To stop the server, ctrl+c and run this command

docker-compose down
What's New

Application has sound alarm feature. Mobile sensor can detect sounds around the user. These sounds need to be stored as notifications. We store them in database for 24 hours. After that application uses cron jobs to delete notifications.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL