Skip to content

charisgao/Parstagram

Repository files navigation

Project 3 - Parstagram

Parstagram is a photo sharing app using Parse as its backend.

Time spent: 18 hours spent in total

User Stories

The following required functionality is completed:

  • User sees app icon in home screen.
  • User can sign up to create a new account using Parse authentication
  • User can log in to their account
  • The current signed in user is persisted across app restarts
  • User can log out of their account
  • User can take a photo, add a caption, and post it to "Instagram"
  • User can view the last 20 posts submitted to "Instagram"
  • User can pull to refresh the last 20 posts submitted to "Instagram"
  • User can tap a post to go to a Post Details activity, which includes timestamp and caption.

The following stretch features are implemented:

  • Style the login page to look like the real Instagram login page.
  • Style the feed to look like the real Instagram feed.
  • User can load more posts once they reach the bottom of the feed using endless scrolling.
  • User should switch between different tabs using fragments and a Bottom Navigation View.
    • Feed Tab (to view all posts from all users)
    • Capture Tab (to make a new post using the Camera and Photo Gallery)
    • Profile Tab (to view only the current user's posts, in a grid)
  • Show the username and creation time for each post
  • User Profiles:
    • Allow the logged in user to add a profile photo
    • Display the profile photo with each post
    • Tapping on a post's username or profile photo goes to that user's profile page
    • User Profile shows posts in a grid
  • After the user submits a new post, show an indeterminate progress bar while the post is being uploaded to Parse
  • User can comment on a post and see all comments for each post in the post details screen.
  • User can like a post and see number of likes for each post in the post details screen.

The following additional features are implemented:

  • Logged in user can edit their profile photo and biography
  • User can click on posts in their profile grid and go to the detail view of the post

Please list two areas of the assignment you'd like to discuss further with your peers during the next class (examples include better ways to implement something, how to extend your app in certain ways, etc):

  1. Databases and querys
  2. Fragments

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

Credits

List an 3rd party libraries, icons, graphics, or other assets you used in your app.

Notes

Describe any challenges encountered while building the app.

  • My main challenge while building this app was implementing the like and comment features. I was initially unsure how to store the information (ArrayLists through the Post or User class or as separate classes in the database). After discussing with my manager, I decided that Like and Comment should each be separate classes in the database since there is a many-to-many relationship between users and posts. For the like and comment features, in the database, I have pointers to the user who took the action as well as the post where the action occurred. I also had some difficulties querying the correct posts or getting the correct count for the number of likes and comments. I resolved this issue by learning more about querys and various methods I can call such as whereEqualTo.

License

Copyright [2022] [Charis Gao]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

FBU Week 3 Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages