Skip to content

Single page blog application with bookmarkable urls built using django-rest-framework and angularJS

Notifications You must be signed in to change notification settings

goldhand/django-angular-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django Angular Blog

A simple single page blog with django-rest-framework and AngularJS

Quick Setup [demo project]:

$ git clone https://github.com/goldhand/django-angular-blog.git
$ cd django-angular-blog/django-angular-blog/
$ pip install -r requirements/requirements.pip
$ cd django-angular-blog/
$ python manage.py syncdb
$ python manage.py runserver

Create a new blog post:

$ curl -X POST http://127.0.0.1:8000/api/posts/ -d "title=[post.title]&content=[post.content]" -u [username]:[password]

Replace [post.title] with your post title. Same for everything between [ ] brackets

Sitemap:

/                   --angularjs application root

api/                --"api-root"
    posts/          --"post-list"
    users/          --"user-list"
    categories/     --"category-list"

}

Models:

Django AngularJS Blog Models

About

Single page blog application with bookmarkable urls built using django-rest-framework and angularJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages