Skip to content

TejasDhole/CRUD-Application

Repository files navigation

CRUD-Application

Overview

A simple CRUD Android application that allows users to create, view, edit, and delete posts, featuring upvoting and downvoting functionalities.download lastest app here

Features

  • Create Post: Form with proper validation to create a new post and store it using Room Database.
  • View Post: Display post details with options for editing and deleting.
  • Edit Post: Edit existing posts with pre-filled details and update changes in the Room Database.
  • Delete Post: Confirmation popup before deleting a post from the Room Database.
  • Upvote/Downvote: Ability to upvote or downvote posts, updating the like or dislike count.

Technologies Used

  • Language: JAVA
  • Local Database: Room Library
  • Design Pattern: MVVM

App Flow

All Posts

Displays all created posts.

  • Clicking on the upvote or downvote buttons changes the counter and reorders the posts accordingly.
  • addPost

View Post

Shows detailed information of a single post.

  • Provides options to edit or delete the post.
  • viewPost

Edit Page

Edit existing posts with pre-filled details.

  • Save changes in the Room Database and redirect to the All Posts page upon success.
  • editPost

Create Post

Form for creating a new post with validation.

  • Saves the post in the Room Database, shows error/success messages, and redirects to the All Posts page on success.
  • addPost

Delete Confirmation

Confirmation popup before deleting a post.

  • On confirmation, deletes the post from the Room Database and redirects to the All Posts page.
  • Cancel option closes the popup window.
  • deletePost

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages