Giter Site home page Giter Site logo

django-blog-system's Introduction

Blog Project.

  • Create Customized Adminstration site For Blog app.

  • create superuser for the Adminstration (Blogger).

  • Design Schama and Model of the Blog.

  • Post:

    • Post should have a title, slug, author, body, publish ,created, updated, status.

    • Publish: the datetime indicates when the post was published.

    • created: the datetime iindicates when the post was created.

    • updated: the datetime indicates the last time the post was updated.

    • status : have two choices ( Draft, Published)

  • Structure The app with Model-View-Template (MVT) Design Pattern.

  • Create View for all Posts in the Blog.

  • Create View for each Post.

  • Create custom Manger to retrive only Published Posts.

  • Post will be Created From the Blogger (Admin) site

  • Create a comments system.

    • use Django Forms to submit the comment for each Posts.

    • Forms content: name,email,body,created time, updated time, active.

    • each email can submit a comment each 30s to prevent spamming bots.

    • Detect and censor bad words.

  • Create Templates to view all Posts and comments.

  • Posts Page

    • use django pagination to show only 3 Posts in each Page.

    • If we click on a post it should go to Post-detail page.

  • Post-details

    • Show the Post detail

    • Show all prevoius comments

    • Show form to sumbit new comment

  • User system

    • Create user system ( login, logout, register, forget password).
    • Create add/edit post views
      • Each user can edit his own post only.
      • Put the , login/logout in the header.
  • API Utilization

    • Utilize muffin_example API to feed the blog with Users/Posts/Comments.
    • Make a distinction between the posts from your blog and the one comming from the API.
  • Blog API

    • Create an API for the Blog models.

    • Create serializers for each models.

    • Create an API endpoints.

    • Use the Token Authentication to Auth Read/Write operation.

      • Only authenticated users can add posts.
      • Only authenticeted author user can edit the posts that he/she created.
    • Gust User ( Anonymous User).

      • Can't read/write Users.
      • Can read-only the post ( can't add/edit).
      • Can read/create Comments.
    • API Utilizer client (script).

      • Create a small script that utilize the Blog API.

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.