Commit Graph

9 Commits

Author SHA1 Message Date
a1cccbf270 saved firebase tokens now used to push messages 2021-12-30 16:23:54 +01:00
60888fd63c adds senders to database and firebase connect
- senders, which now have a firebase token
  are added as their own table in the database
- firebase token api call added, which allows
  a user to connect a sender id to a firebase token
- firebase library not yet connected to the saved
  firebase tokens
2021-12-30 16:11:53 +01:00
745b0dc4f2 adds Firebase communication stump
- Firebase connection via Pigeon library
- sends bump to a single token at the moment
- encrypted test is sent as notification message
2021-12-30 13:06:26 +01:00
8262b61085 updates list rest api
- list no longer returns a json array
  but a json object, which contains a
  "messages" json array instead
2021-12-17 16:23:48 +01:00
5d50bb30e6 adds rest api connector
- routing setup with path to message_controller
- messages api to database updated to function
  similar to a stack system (push, pop, peek, ..)
- rest calls the same as database calls
- setup default controller showing text message
- parsing database output with Jason to client
- adds curl examples
2021-12-10 15:34:38 +01:00
3b1657e18a adds api calls for getting, setting, removing
- using Ecto queries, the api can now get newest
  message or get the last message
- delete all messages of a sender id
- add a message (auto adding a time stamp)
2021-12-10 12:46:34 +01:00
de81aaaef7 updates gitignore and adds Readme 2021-12-05 00:42:08 +01:00
4e607a7e45 adds phoenix boilerplate and database api
- message communication added
- database migration added
- initial commit
2021-12-05 00:36:13 +01:00
Raphael Maenle
dca07acc75 Initial commit 2021-12-05 00:35:32 +01:00