Giter VIP home page Giter VIP logo

appengine-udacity-blog-project's Introduction

jul-15-2017 01-27-45

AppEngine-Udacity-Blog-Project

Projects using AppEngine and Python 2.7

Hosted at http://cheyomasters3d.appspot.com/ Uses jinja2, bcrypt, webapp2 and json

API End Points

Any API needs the 'api' header to distinguish them from a regular web call. Add an HTTPHeader Field called api with the value of your client name. For example https://github.com/masters3d/BlogClient uses "api":"ios" Most call will return a header called "server-response" with response related to the endpoint.

Get all posts

GET
/blog.json
returns json

Get user name for user id

GET
/blog/userid/<userid>
Returns plain text with the user name

Update Post on Server

POST
/blog/<postid>?subject = <theactualsubject>&content =<theactualcontent>
You need to send your log in cookie in this request

Add new post

POST
/blog/newpost?subject = <theactualsubject>&content =<theactualcontent>

Delete Post

DELETE
/blog/<postid>
You need to send your log in cookie in this request. You can only delete posts you create.

Sign Up

POST
/blog/signup?username=<>&password=<>,verifypass=<>&email=<>
returns a cookie that is used as the signin credentials.

Sign In

POST
/blog/login?username=<>&password=<>
returns a cookie that can be used to add, edit and delete posts.

####BLOG Features: JSON support https://cheyomasters3d.appspot.com/blog/.json "Queried x seconds ago" where x is the seconds since objects have been in memcache. Uses memcache and db from google appengine api

User Support

Users' paswords are saved in hashed fashing using a different salt per user.

Wiki

Wiki keeps track of each unique entry changes

####Art Page Only the last 10 entries show

appengine-udacity-blog-project's People

Contributors

masters3d avatar

Watchers

 avatar  avatar  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.