项目作者: yashwanth1412

项目描述 :
A interaction portal to post and comment on messages
高级语言: JavaScript
项目地址: git://github.com/yashwanth1412/Message-Board.git
创建时间: 2021-07-08T09:57:29Z
项目社区:https://github.com/yashwanth1412/Message-Board

开源协议:

下载


Message-Board

An interaction portal where a user can add posts, comment on other users’ posts, like posts. Staff users can create groups, can add users to the group, remove user from the group

Installation

Download required packages:

  1. pip install -r requirements.txt

This project uses redis in backend

For Windows: Download memurai

You can change the settings of the project in settings.py

Features

  • Google authentication
  • User can add, delete posts
  • User can like, comment on others’ posts
  • UI is updated in real time when a post/comment is added
  • Staff users(Admin) can create groups, add, remove users from the group

Environment Variables

Add a .env file in the root directory, specify the variables:

  1. GOOGLE_CLIENT_ID = your_google_client_id
  2. GOOGLE_SECRET = your_google_secret

Setup and Run the project

  1. Create media folder in the root directory and add avatar.png (Default proflie pic for user)

Run the following commands: (for database)

  1. python manage.py makemigrations
  2. python manage.py migrate

Run the server:

  1. python manage.py runserver

Screenshots

Home Page

main-page

View Post

post-page

Scope of Improvement

  • Dynamically update number of users liked a post
  • Add attachments (like images, videos) to a post
  • Update UI to make it more user friendly