1thing-org / hatecrimetracker

Hackathon project to create anti-Asian hate crime tracker
10 stars 18 forks source link

Notification #3

Closed ethannchen closed 1 year ago

ethannchen commented 1 year ago
  1. add firestore/tokens.py:
    • create fireo Model: Token;
    • create saveNewToken func to save token to db
  2. Add social_media_publishers/notification.py: use exponent_server_sdk to send notification to frontend by tokens
  3. Add a new route to main.py that allows the frontend to send a PUT request for saving the token.