Code Monkey home page Code Monkey logo

news_paper's Introduction

Blogpaper

Description

A blog-style web application built with Django. Users can create, publish, edit and delete their articles, as well as comment on other users' posts.

Try it

Click here to try it. Enjoy ๐Ÿ˜Š

Current features

User Authentication

  • Users can create accounts and log in securely.
  • Password reset functionality is available to help users regain access to their accounts if they forget their passwords.

Article Management

  • Authenticated users can write and publish articles.
  • Authors have the ability to edit and delete their own articles.
  • Articles display the author's name, publication date, and a title.
  • Visitors can not read articles without an account.

Comment System

  • Authenticated users can leave comments on articles.
  • Comments show the commenter's name and content.
  • Only superuser can moderate and delete comments on articles.

Next Features

  • User can upload image on their article
  • Visitors can read articles without needing an account.

Setup

To run this Django application locally, follow these steps:

1 . Clone the repository to your local machine:

git clone https://github.com/LudoTreb/news_paper.git

2 . Create a virtual environment and activate it & install dependencies:

python -m venv .venv 
source .venv/bin/activate
pip install -r requirements.txt 

Run the code

Run the server from the root folder

python manage.py runserver

and open in browser this adress: http:/127.0.0.1:8000/

How to use it

You can create an account with the signup button or you can use this account โฌ‡๏ธ
Username: fake_user0
Password: fake_password0

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.