Skip to content

This project aims to implement a multiple user blog web application using Google App Engine. It allows users to sign up for a new account and log in after signing up. It also allows users to search for a particular post by post id and create a new post after logging in. Users can look through the latest posts with or without logging in.

Notifications You must be signed in to change notification settings

MomokoXu/Project-Multi-User-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Multi User Blog Web Application

Image of webpage

Introduction

This project aims to implement a multiple user blog web application using Google App Engine. It allows users to sign up for a new account and log in after signing up. Users can look through the latest posts with or without logging in. It also allows users to search for a particular post by post id and create a new post after logging in. For any post, post owner can edit the post or delete the post. Other logged in users can make comments and like or unlike the post. The owener of the comment ia allowed to edit his/her comment or delete the comment.

Hope you enjoy this project!

Main tools and libraries

  • Languages: Python, HTML, CSS
  • Libraries:
    • webapp2: from Google App Engine, used for running this application.
    • db: from Google App Engine, used for storing user information and posts data
    • Jinjia: python template engine, used for inline expressions and sandboxed environment.
    • hashlib and hmac: Python built-in library, used for secure cookies and passwords by hashing.

Features

  1. Front page: provides different options for users to choose. If action taken is not appropriate, error message will show up for the corresponding action. Wherever you are, click the title with the "heart" labels will return back tho this main page.
  2. Login: allows returning users to log in. If username does not exist or password is wrong, error message will display.
  3. Signup: allows the new user to sign up for a new account. If username already exists or passwords not match, error message will display.
  4. Latest posts: gives a list of the latest posts. Each post has the title of the post, the author of the post, the date created for the post and the content of the post.
  5. Find a particular post: allows users to search for a particular post by post id which will be shown on the URL after the user create a new post.
  6. Create a new post: allows users who are logged in to create a new post. If the user are not logged in, error message will display. If not both subject and content for the blog are filled, error message will display.
  7. Post management: allows users to manage their own posts. They can edit or delete their post.
  8. Post comment: enables any logged in user to comment on any posts. Users can also manage their own comments. They can edit or delete their comments. (Users who are not logged in can only see the latest posts)
  9. Post like: allows any logged in user to like and unlike any posts and the number of total likes is also shown under the post. (Users who are not logged in can only see the latest posts)
  10. Logout: allows users to log out from current account.
  11. This web app is responsive for different viewports.

How to use it

Author

Yingtao Xu

Copyright

This is a project for practicing skills in databses and backend courses not for any business use. Some templates are used from Udacity FSND program. Please contact me if you think it violates your rights.

About

This project aims to implement a multiple user blog web application using Google App Engine. It allows users to sign up for a new account and log in after signing up. It also allows users to search for a particular post by post id and create a new post after logging in. Users can look through the latest posts with or without logging in.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published