Skip to content

Codebase to web app where a user can create a profile and blog as well as filter news on the basis of publisher and genre.

Notifications You must be signed in to change notification settings

Atishaysjain/News-Blog-Webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News and Blog Web Application

Demo

Overview 🎯

  • Authentication
    • User login, logout
    • User registration
    • Standard password validation
    • Forgot password validation
  • API calls, JSON handling, Dashboard
    • Fetch and display News image, title in home page (after logging-in)
    • Filtering news on the basis of the publisher and category
    • Redirect user to detailed user article on clicking news clip image
    • User profile that a user can update with username, profile picture and email id
    • User creates blog-blog title, content, date created(automatic)
    • User delete and update his/her own blogs from dashboard
    • User can view blogs of other users
  • Serializers - Django REST Framework
    • Site-administrator can view existing blogs list in json format through api endpoint only
    • Site-admin can delete, update, create blogs through api endpoints only
  • Bootstrap
    • Necessary bootstrap is used

Screenshots 📷

News page
Blog page
Profile page

Getting Started 🛠

  • Clone this repository

    git clone git@github.com:Atishaysjain/News-Blog-Webapp.git;
  • Create a virtual environment

     virtualenv venev_name -p python3.8
     source ./venev_name/bin/activate
     pip install -r requirements.txt

Adding your secret key, email and password (Ubuntu)

  • Go to your home directory

    cd ~
  • Edit the .bashrc file

    nano .bashrc
  • Add the following code to your .bashrc file
    export DJANGO_NEWS_BLOG_WEBAPP_SECRET_KEY="YOUR_SECRET_KEY" # Secret key 
    # This email will be used to send the link to reset password 
    export EMAIL_USER="YOUR_EMAIL_ID"
    export EMAIL_PASS="YOUR_EMAIL_PASSWORD"

About

Codebase to web app where a user can create a profile and blog as well as filter news on the basis of publisher and genre.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published