diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 000000000..a0cd19dc1
Binary files /dev/null and b/.DS_Store differ
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 000000000..e69de29bb
diff --git a/.idea/casestudy.fullstack_webapplication.iml b/.idea/casestudy.fullstack_webapplication.iml
new file mode 100644
index 000000000..d6ebd4805
--- /dev/null
+++ b/.idea/casestudy.fullstack_webapplication.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 000000000..7aa2e4866
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 000000000..756c37b8e
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
new file mode 100644
index 000000000..712ab9d98
--- /dev/null
+++ b/.idea/jarRepositories.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__junit_junit_4_11.xml b/.idea/libraries/Maven__junit_junit_4_11.xml
new file mode 100644
index 000000000..f33320d8e
--- /dev/null
+++ b/.idea/libraries/Maven__junit_junit_4_11.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 000000000..f58bbc112
--- /dev/null
+++ b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 000000000..b5a035d08
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 000000000..db5a44cd5
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 000000000..35eb1ddfb
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 000000000..ef19ca27f
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1599789720849
+
+
+ 1599789720849
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/READ ME.docx b/READ ME.docx
new file mode 100644
index 000000000..6b6605fc6
Binary files /dev/null and b/READ ME.docx differ
diff --git a/README-Sample.md b/README-Sample.md
new file mode 100644
index 000000000..3cc25f557
--- /dev/null
+++ b/README-Sample.md
@@ -0,0 +1,74 @@
+# Project Title
+
+* **Objective** - To create a product...
+* **Purpose** - To gain familiarity the following features...
+
+
+
+
+## Instructions
+
+
+### Testing Application via Postman
+
+* Ensure that the `start-class` tag in your `pom.xml` encapsulates `com.github.perscholas.MyApplication`
+* Open a command line and navigate to the project's root directory and run this command:
+ * `mvn spring-boot:run`
+* Launch the [Postman](https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en) app and enter the URI `http://localhost:8080/` and hit Send.
+* If your application cannot run because something is occupying a port, use this command with the respective port number specified:
+ * **OSX and Linux**
+ * ``kill -kill `lsof -t -i tcp:8080` ``
+ * **Windows**
+ * _For use in command line_:
+ * `for /f "tokens=5" %a in ('netstat -aon ^| find ":8080" ^| find "LISTENING"') do taskkill /f /pid %a`
+ * _For use in bat-file_:
+ * `for /f "tokens=5" %%a in ('netstat -aon ^| find ":8080" ^| find "LISTENING"') do taskkill /f /pid %%a`
+
+
+
+
+## How to Download
+
+#### Part 1 - Forking the Project
+* To _fork_ the project, click the `Fork` button located at the top right of the project.
+
+
+#### Part 2 - Navigating to _forked_ Repository
+* Navigate to your github profile to find the _newly forked repository_.
+* Copy the URL of the project to the clipboard.
+
+#### Part 3 - Cloning _forked_ repository
+* Clone the repository from **your account** into the `~/dev` directory.
+ * if you do not have a `~/dev` directory, make one by executing the following command:
+ * `mkdir ~/dev`
+ * navigate to the `~/dev` directory by executing the following command:
+ * `cd ~/dev`
+ * clone the project by executing the following command:
+ * `git clone https://github.com/MYUSERNAME/NAMEOFPROJECT`
+
+#### Part 4 - Check Build
+* Ensure that the tests run upon opening the project.
+ * You should see `Tests Failed: 99 of 99 tests`
+
+
+
+
+
+
+
+## How to Submit
+
+#### Part 1 - _Pushing_ local changes to remote repository
+* from a _terminal_ navigate to the root directory of the _cloned_ project.
+* from the root directory of the project, execute the following commands:
+ * add all changes
+ * `git add .`
+ * commit changes to be pushed
+ * `git commit -m 'I have added changes'`
+ * push changes to your repository
+ * `git push -u origin master`
+
+#### Part 2 - Submitting assignment
+* from the browser, navigate to the _forked_ project from **your** github account.
+* click the `Pull Requests` tab.
+* select `New Pull Request`
\ No newline at end of file
diff --git a/README-annotations.md b/README-annotations.md
new file mode 100644
index 000000000..5bcd496a0
--- /dev/null
+++ b/README-annotations.md
@@ -0,0 +1,171 @@
+### About Spring Annotations
+
+#### `@Entity`
+* Annotates class signature
+* **Description:**
+ * Allows the persistence provider to recognize it as a persistence class.
+ * An object representative of a snap shot of data from a database.
+ * By default, maps this entity to a table whose name is the name of the annotated class. Can be rerouted via the `@Table` annotation
+ * Entities are said to be _fungible_, or _mutually interchangeable_.
+* **Pre-requesites for use:**
+ * An interface cannot be an entity.
+ * An enum cannot be an entity.
+ * The class can be abstract or concrete.
+ * The class must define a no-arg constructor.
+ * Each `Entity` must be annotated with a respective `ID`.
+
+
+
+
+
+
+
+
+
+
+#### `@Id`
+* Annotates field declarations
+* **Description:**
+ * Denotes the primary key for this `Entity`.
+ * Can be generated manually by application or by automatically by the persistence provider.
+* **Pre-requisites for use:**
+ * Class must be annotated with `@Entity`
+
+
+
+
+
+
+
+
+
+
+
+#### `@GeneratedValue(strategy = GenerationType.ENUM_VALUE)`
+* Annotates `Id` fields.
+* **Description:**
+ * Specifies how the persistence provider will generate this value.
+ * `GenerationType.SEQUENCE` - specifies the use of database SQL sequence
+ * `GenerationType.IDENTITY` - uses a database identity column
+ * `GenerationType.TABLE` - instructs provider to store the sequence name and its current value in a table, increasing the value of each time a new instance of the entity is persisted.
+ * `GenerationType.AUTO` - default when nothing specified. Provider does generation of a key automatically. It will select an appropriate strategy for a particular database.
+* **Pre-requesites for use:**
+ * Field must be annotated with `@Id`.
+
+
+
+
+
+
+
+
+
+
+
+
+
+#### `@Autowired`
+* Annotates field declaration or method-parameters
+* **Description**
+ * injects bean by type
+ * can be used alone.
+ * If is used alone, it will be wired by type
+ * If more than one bean of same type are declared in the container `@Autowired` does not know which beans to use for injection.
+* **Pre-requesites for use:**
+ * Field-type must be annotated with some form of `@Component`.
+
+
+
+
+
+
+
+
+
+#### `@Component`
+* Annotates class signature
+* **Description**
+ * denotes that Spring framework will autodetect these classes for dependency injection when annotation-based configuration and classpath scanning is used.
+* **Prerequisites for use:**
+ * none
+
+
+
+
+
+
+
+
+#### `@Service`
+* Annotates class signature
+* **Description**
+ * specialized form of `@Component`
+ * responsible for performing service tasks
+ * in many case you use this annotation for best practice, but isn't _always_ necessary.
+* **Prerequisites for use:**
+ * none
+
+
+
+
+
+
+#### `@Controller`
+* Annotates class signature
+* **Description**
+ * specialized form of `@Component`
+ * indicates that a particular class serves the role of a controller
+ * acts as a stereotype for the annotated class, indicating its role
+ * dispatcher scans such annotated classes for mapped methods and detects @RequestMapping annotations
+* **Pre-requesites for use:**
+ * none
+
+
+
+
+
+
+
+
+
+
+#### `@RequestMapping`
+* Annotates a method signature
+* **Description**
+ * annotation maps HTTP requests to handler methods of MVC and REST controllers.
+* **Pre-requesites for use**
+ * class must be a annotated with `@Controller`
+
+
+
+
+
+
+
+
+
+
+#### `@PathVariable`
+* Annotates a method parameter
+* **Description**
+ * indicates that a method parameter should be bound to a URI template variable
+* **Pre-requesites for use**
+ * class must be a annotated with `@Controller`
+
+
+
+
+
+
+
+
+
+#### `@RequestParam`
+* Annotates a method parameter
+* **Description**
+ * indicates that a method parameter should be bound to a web request parameter
+ * used to extract query parameters, form parameters
+* **Pre-requesites for use**
+ * class must be a annotated with `@Controller`
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 8cdfa1bdd..3d13f590e 100644
--- a/README.md
+++ b/README.md
@@ -1,69 +1,32 @@
-# Full Stack Web Application
-* **Objective** - to create an implementation of a web service
-* **Purpose** - to demonstrate the construction of a full-stacked web-application
-* **Description**
- * This Case Study is your first foray into building a full-stack application. You'll be building a Spring MVC based application, which means you'll learn about what it takes to build a functional application from the ground up yourself.
- * This is exciting! It's a lot, but we've given you the tools to be able to build what you need, and you get to decide what you do with it. You also get to be creative in choosing what sort of application you want to build!
- * You will be working individually to design your app. We hope you'll exercise creativity on this project, sketch some wireframes before you start, make sure you have time to run these ideas by your instructors to get their feedback before you dive too deep into coding! Remember to keep things small and focus on mastering the fundamentals.
-* **Additional Resources**
- * [The Original Case Study Document](./case-study.pdf)
- * [Case Study Outline](./case-study-outline.pdf)
- * [Case Study Deliverables](./README_deliverables.md)
- * [Identifying Plagiarism](./README_plagiarism.md)
- * [Suggested Project Topics](./README_suggested-project-topics.md)
-## Minimum Features
-* `RESTful` web service which consumes requests from a front-end web application and caches each request and the respective response to a database.
-* The application must support a login functionality.
-## Developmental Notes
+DSHOPPING.COM DELIVERABLES:
-### Tech Stack Selection
-* Select at least 1 technology from each of the following categories:
- * **Version Control System**
- 1. Github
- 2. Bitbucket
-
- * **Wireframe**
- 1. Mockflow
- 2. Balsamiq
- 3. Lucidcharts
+PLEASE CLONE THE PROJECT FOUND VIA THIS URL: PROJECT URL: https://github.com/deepti102915/newcasestudy
- * **Frontend**
- 1. Java Server Pages
-
- * **Business Logic**
- 1. Java
- 2. TypeScript
+PREREQUISITES : 1: Make sure MySQl & JDK is installed on the machine.
+ 2: Make sure to change your mysql username and password in Application.Properties file inside the Resource Folder.
+ 3: Make sure to create database Scehma named dshopping using query: Create Schema dshopping. Please refer the pics below:
+
+
- * **WebServer Implementation**
- 1. Spring Boot
- 2. At least 1 [backing service](https://12factor.net/backing-services) API
+STEPS TO CLONE REPOSITORY WITHOUT FORKING: Please follow the steps to clone the project in your repository in order to run it successfully
- * **Data Layer**
- 1. MySQL
- 2. PostgreSQL
- 3. MariaDB
+A: Copy URL of the project you want to clone
+B: $git clone URL new folder name
+C: cd new folder name
+D: rm -rf .git
+E: Add a repository in your git hub with same name as new folder name
+F: $git init
+G: $git add.
+H: $git commit -m ""
+I: $git remote add origin (new repository url to push)
+J: $git push
- * **Web Server Cloud Deployment**
- 1. Heroku
- 2. AWS EC2 Instance
-
- * **Web Application Cloud Deployment**
- 1. Netlify
- 2. AWS EC2 Instance
-
-
-
-
-### Installation
-* It is advised that you make install each of the following technologies to ensure that are at least accessible
- * Install [NodeJs](https://nodejs.org/en/).
- * Install [Angular](http://angular.io/).
- * Install [AngularCli](https://cli.angular.io/).
+
diff --git a/Shopping/.DS_Store b/Shopping/.DS_Store
new file mode 100644
index 000000000..a4ad662ed
Binary files /dev/null and b/Shopping/.DS_Store differ
diff --git a/Shopping/Shopping.iml b/Shopping/Shopping.iml
new file mode 100644
index 000000000..3f4fd58a6
--- /dev/null
+++ b/Shopping/Shopping.iml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Shopping/pom.xml b/Shopping/pom.xml
new file mode 100644
index 000000000..14363e7ca
--- /dev/null
+++ b/Shopping/pom.xml
@@ -0,0 +1,75 @@
+
+
+
+ 4.0.0
+
+ org.example
+ Shopping
+ 1.0-SNAPSHOT
+
+ Shopping
+
+ http://www.example.com
+
+
+ UTF-8
+ 1.7
+ 1.7
+
+
+
+
+ junit
+ junit
+ 4.11
+ test
+
+
+
+
+
+
+
+
+ maven-clean-plugin
+ 3.1.0
+
+
+
+ maven-resources-plugin
+ 3.0.2
+
+
+ maven-compiler-plugin
+ 3.8.0
+
+
+ maven-surefire-plugin
+ 2.22.1
+
+
+ maven-jar-plugin
+ 3.0.2
+
+
+ maven-install-plugin
+ 2.5.2
+
+
+ maven-deploy-plugin
+ 2.8.2
+
+
+
+ maven-site-plugin
+ 3.7.1
+
+
+ maven-project-info-reports-plugin
+ 3.0.0
+
+
+
+
+
diff --git a/Shopping/src/.DS_Store b/Shopping/src/.DS_Store
new file mode 100644
index 000000000..0445d10df
Binary files /dev/null and b/Shopping/src/.DS_Store differ
diff --git a/Shopping/src/main/.DS_Store b/Shopping/src/main/.DS_Store
new file mode 100644
index 000000000..36874782b
Binary files /dev/null and b/Shopping/src/main/.DS_Store differ
diff --git a/Shopping/src/main/java/.DS_Store b/Shopping/src/main/java/.DS_Store
new file mode 100644
index 000000000..d2350a688
Binary files /dev/null and b/Shopping/src/main/java/.DS_Store differ
diff --git a/Shopping/src/main/java/controllers/HelloWorld.java b/Shopping/src/main/java/controllers/HelloWorld.java
new file mode 100644
index 000000000..74c169e2d
--- /dev/null
+++ b/Shopping/src/main/java/controllers/HelloWorld.java
@@ -0,0 +1,8 @@
+package controllers;
+
+public class HelloWorld {
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/Shopping/src/test/.DS_Store b/Shopping/src/test/.DS_Store
new file mode 100644
index 000000000..68f76ca70
Binary files /dev/null and b/Shopping/src/test/.DS_Store differ
diff --git a/Shopping/src/test/java/.DS_Store b/Shopping/src/test/java/.DS_Store
new file mode 100644
index 000000000..5cff92b5a
Binary files /dev/null and b/Shopping/src/test/java/.DS_Store differ
diff --git a/Shopping/src/test/java/org/.DS_Store b/Shopping/src/test/java/org/.DS_Store
new file mode 100644
index 000000000..4654bc0bc
Binary files /dev/null and b/Shopping/src/test/java/org/.DS_Store differ
diff --git a/Shopping/src/test/java/org/example/AppTest.java b/Shopping/src/test/java/org/example/AppTest.java
new file mode 100644
index 000000000..6a1d2d79f
--- /dev/null
+++ b/Shopping/src/test/java/org/example/AppTest.java
@@ -0,0 +1,20 @@
+package org.example;
+
+import static org.junit.Assert.assertTrue;
+
+import org.junit.Test;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+{
+ /**
+ * Rigorous Test :-)
+ */
+ @Test
+ public void shouldAnswerWithTrue()
+ {
+ assertTrue( true );
+ }
+}
diff --git a/Shopping/target/classes/META-INF/Shopping.kotlin_module b/Shopping/target/classes/META-INF/Shopping.kotlin_module
new file mode 100644
index 000000000..a49347afe
Binary files /dev/null and b/Shopping/target/classes/META-INF/Shopping.kotlin_module differ
diff --git a/Shopping/target/classes/controllers/HelloWorld.class b/Shopping/target/classes/controllers/HelloWorld.class
new file mode 100644
index 000000000..78670a84d
Binary files /dev/null and b/Shopping/target/classes/controllers/HelloWorld.class differ
diff --git a/Shopping/target/test-classes/org/example/AppTest.class b/Shopping/target/test-classes/org/example/AppTest.class
new file mode 100644
index 000000000..6c37fd9e9
Binary files /dev/null and b/Shopping/target/test-classes/org/example/AppTest.class differ
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 000000000..fc9cd3407
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,69 @@
+
+
+ 4.0.0
+ SpringBootSampleWebApp
+ 0.0.1-SNAPSHOT
+ war
+ SpringBootSampleWebApp
+ Demo project for Spring Boot With JSP View
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.1.2.RELEASE
+
+
+
+ UTF-8
+ UTF-8
+ 1.8
+
+
+
+ com.h2database
+ h2
+ runtime
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ org.springframework.boot
+ spring-boot-starter-data-jpa
+
+
+ org.springframework.data
+ spring-data-jpa
+
+
+ javax.servlet
+ jstl
+
+
+
+ org.apache.tomcat.embed
+ tomcat-embed-jasper
+
+
+
+ org.eclipse.jdt.core.compiler
+ ecj
+ 4.6.1
+
+
+ junit
+ junit
+ 4.12
+ test
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+