Skip to content

Instantly share code, notes, and snippets.

@benjamingr
Created November 13, 2013 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjamingr/7454900 to your computer and use it in GitHub Desktop.
Save benjamingr/7454900 to your computer and use it in GitHub Desktop.

Tasks

For 24.11.2013

##Benji:

Tasks that relate mostly to fronend.

  • HTML/CSS for the page (won't look too good, not a designer)
    • Home page/Course list
    • Course description page
    • Course lesson page

    (those are actually one page though, maybe)

  • JavaScript that parses markdown and shows it nicely based on the course page.
  • Testing

##Omri:

Tasks that relate mostly to backend.

  • Make sure the models work. That they're simple enough and that they work with the lesson/course system. (Very, very, very, simple ;))
  • Views that return markdown. Hopefully navigating courses, adding things etc can be done in a RESTful API. (not a priority - only if have time).
  • Templates that are not Django templates but return markdown.
  • Maybe a simple editing interface (that's pretty much free though)
  • Testing

Really not a big deal - just worth learning.

GET /courses/courseName/lessonNumber - get markdown for lesson /courses/courseName/ - get the course description /courses/ - gets the course list

POST /courses/courseName - creates a new course /courses/courseName/lessonNumber - adds a lesson to the course ... PUT /courses/courseName - edits a course /courses/courseName/lessonNumber - edits a lesson DELETE /courses/courseName - deletes a course /courses/courseName/lessonNumber - deletes a lesson HEAD PATCH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment