Giter VIP home page Giter VIP logo

django-feed-poc's Introduction

django-feed-poc

A POC for django notifications, feed with OOB solutions like django-notifications-hq, django-activity-stream, self built solutions and send email etc.,

prerequisistes

  • create config.py in the same directory as manage.py
  • populate the following values in it
    • PG_NAME=''
    • PG_USER=''
    • PG_PASSWORD=''
    • PG_HOST=''
    • PG_PORT=''
    • EMAIL_HOST = ''
    • EMAIL_HOST_USER = ''
    • EMAIL_PORT = 587 # whatever that is relevant in your case
    • EMAIL_USE_TLS = False # or True
  • I use free tier elephantsql for all my postgresql needs and such tests and validation. Not a sponsor but a suggestion

users

user1/2/3/4/5 - djangouser (regular users) admin - admin - (adminuser) django - staffuser - (staff user)

Teams

  • perform this from admin panel
Team admin members
admin admin admin,All
user1 user1 user1,user2,user3
user4 user4 user4,user5

Test

  • Bell icon on navbar is red when there are unread notification
  • Bell icon on navbar is outline black when there are no unread notification
  • When a user is logged in, he gets a notification
  • when a user is logged out, he gets a notification
  • When a user provisions a resource (vm, k8s, gpu, etc.,) he and his team admin/leader gets a notification
  • When a user deletes a resource he gets a notification
  • Ajax acknoledgement of notifications
  • team leader gets notification when his engineeers provision/de provision something
  • team leader can broadcast notification or email

django-feed-poc's People

Contributors

mrambig avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.