Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What we are going to build: Client Requirement Client wants blogging application where he / she can write blogs and articles . user can comment

What we are going to build: Client Requirement
Client wants blogging application where he/she can write blogs and articles .
user can comment on the blogs/article .
We have to build simple Blogging Application:-
User should create, update, delete and list posts.
User should add, update, delete comments on posts.
Categories the posts according to categories.
New user should able to Register on our application
User should able to login to our application.
Post include one picture too.
We are using JAVA springboot
Plan:
models
User class
BlogPost class
Comment class
Category class
daos
UserDAO interface
BlogPostDAO interface
CommentDAO interface
CategoryDAO interface
dao Implementations
UserDAO using JPA
BlogPostDAO using JPA
CommentDAO using JPA
CategoryDAO using JPA
controllers
UserController
BlogPostController
CommentController
CategoryController
jsp views
user.jsp
blogPost.jsp
category.jsp
main method: entry point to start the Spring Boot application
Step 1:
Member 1: Create the User model and UserController.
Member 2: Create the BlogPost model and BlogPostController.
Member 3: Create the Comment model and CommentController.
Member 4: Create the Category model and CategoryController.
Step 2:
Member 1: Create the interface and Implement UserDAO using JPA.
Member 2: Create the interface Implement BlogPostDAO using JPA.
Member 3: Create the interface Implement CommentDAO using JPA.
Step 3:
Member 1: Create user.jsp for displaying user related views if the user logged in is admin
Member 2: Create blogPost.jsp for displaying blog post related views.
Member 4: Create categories.jsp for displaying categories related views.
Step 4:
Member 1: Implement CRUD operations for users in UserController.
Member 2: Implement CRUD operations for blog posts in BlogPostController.
Member 3: Implement CRUD operations for comments in CommentController.
Member 4: Implement CRUD operations for categories in CategoryController.
Branch Organization:
Branches named member1, member2, member3, and member4.
Each step represents one commit in each branch.
Once every member is done with the step, the changes will be merged to the main branch, and then we can pull the latest changes to start working on the next step.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke

4th Edition

0136086535, 9780136086536

Students also viewed these Databases questions