Skip to content

A collaborative story telling platform made with Django. For Web App Development 2, team Rango Unchained.

License

Notifications You must be signed in to change notification settings

RetroMelon/PatchWords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PatchWords

A collaborative story telling platform made with Django. For Web App Development 2, team Rango Unchained.

Database & Form Layouts

Database

User

  • profile_picture
  • bio
  • age
  • gender

Story

  • date/time
  • title
  • author
  • category
  • slug

Paragraph

  • date/time
  • story
  • parent
  • content
  • author
  • end

Category

  • name

Like

  • user
  • paragraph

Favourite

  • user
  • story

##Forms

NewStory

  • Title
  • Content
  • Category

NewParagraph

  • content
  • parent

Search

  • keywords

Like

  • paragraph
  • type (either like or dislike (like being true/ticked and unlike being false/untick))

Favourite

  • Story
  • type (either favourite or unfavourite (favourite being true/ticked and unfavourite being false/untick))

To Do List

Misc

  • start project
  • create a population script
  • set up url paths
  • set up template and static dirs

###Database

  • User
  • Story
    • add favourites() property - Joe
  • Category
  • Paragraph
  • Like
  • Favourite

###Forms

  • NewStory - Alex
  • NewParagraph - Duncan
  • Search -
  • Like
  • Favourite

Views

  • home - Joe
  • user
  • all categories - Alex
  • category - Alex (Use the queries.py getStories)
  • story
  • search
  • settings
  • about
Views for forms/javascript
  • new_story
  • new_paragraph
  • favourite
  • like
  • load_stories
  • load_subtree

Templates

  • base - Joe
    • parameters for template
    • user (user model)
  • home - Joe
    • parameters for template
    • user (user model)
    • top_categories (list of top 15 category models)
    • top_stories (list of stories ordered by favourites)
  • user
  • category
    • top_stories (list)
  • story
  • search
  • settings
  • about
Templates for Auth Redux
  • login
  • register
Templates for parts of the page fetched with javascript
  • tree (Used to render a chunk of the tree as HTML to send to the client.)
  • stories (Used to render a list of stories to send to the client.)

Javascript

  • Detect scroll and fetch stories.
  • Detect paragraph click and carousel left/right.
  • Load subtree in to webpage.
  • ? Possibly detect favourite/like clicks and toggle icon colour ?

About

A collaborative story telling platform made with Django. For Web App Development 2, team Rango Unchained.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •