Giter VIP home page Giter VIP logo

fachiis / news Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 668 KB

This is an application that uses Django to provide a platform where journalists can post articles, set up permissions so only the author of an article can edit or delete it, and finally add the ability for other users to write comments on each article.

Home Page: https://newspaper3176.herokuapp.com/

Python 11.89% HTML 4.71% Procfile 0.03% CSS 38.56% JavaScript 44.81%

news's Introduction

A Newspaper application

This is an application that uses Django to provide a platform where journalists can post articles, set up permissions so only the author of an article can edit or delete it, and finally add the ability for other users to write comments on each article.

Features

  • Django 3.2.10 & Python 3.7.12
  • Install via Pipenv
  • User sign up, log in/out, password reset
  • Create an article by the authenticated user
  • Edit an article by the authenticated user
  • Delete an article by the authenticated user
  • List all available articles
  • Comment on an article by the authenticated user

The code style used for the project is PEP 8 -- Style Guide for Python Code and Flake8: For Style Guide Enforcement.


Table of Contents


Installation

The application can be installed via Pipenv. To start, clone the repo to your local computer and change into the proper directory.

$ git clone https://github.com/Fachiis/News
$ cd News
$ python3 -m venv News
$ source News/bin/activate
(News) $ pipenv install --ignore-pipfile
(News) $ python manage.py migrate
(News) $ python manage.py createsuperuser
(News) $ python manage.py runserver
# Load the site at http://127.0.0.1:8000/

Setup

# Run Migrations
(News) $ python manage.py migrate

# Create a Superuser
(News) $ python manage.py createsuperuser

# Confirm everything is working:
(News) $ python manage.py runserver

# Load the site at http://127.0.0.1:8000/

news's People

Contributors

fachiis avatar

Watchers

 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.