SarahChane98 / cz4010_grievance_redressal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CZ4010 Grievance Redressal Platform

Introduction

The grievance redressal platform is a public platform that allows public members to publish their complaints to a specific authority. Authorities will be able to reply to their posts.

If you are an authority:

  1. Register yourself as an authority on the Register page. image
  2. Login through the Login page image
  3. Check for unread posts in Notifications image
  4. Check for unresolved posts image
  5. Reply to a post addressed to you: click on the post title to enter post details and then click reply image image

If you are a public member:

  1. Register yourself on the registration page. image
  2. Login through the Login page
  3. Click on New Post to create a new post. Post your complaint by entering the title, content and choosing the related authority from a dropdown list. image
  4. Check authority's reply in the post detail.

Data Models

  1. Users (id, username, password, email, is_authority, pub_key, pri_key)
  2. Post (id, author (User object), title, content, last_modified, related_authority (User object), is_read, is_resolved, reply_by_authority, post_sig, reply_sig, ring_members)

How to run the web app

  1. Clone this repo.
  2. Install required packages:
    pip install -r requirements.txt
    
  3. Run the web app on localhost using this command line:
    python manage.py runserver
    
  4. View the web app in localhost.

References

We created the web app using Django and followed steps taught in this great tutorial.

Ring signature is applied to keep anonymity and also the capability of validation at the same time.

About


Languages

Language:Python 67.3%Language:HTML 29.2%Language:CSS 3.5%