Skip to content

Commit

Permalink
updating git headings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ranga Rao Karanam authored and Ranga Rao Karanam committed May 3, 2017
1 parent c48025d commit 37f17e6
Show file tree
Hide file tree
Showing 30 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ With Microservices, focus is shifting to getting started with developing web app
- [Our Website](http://www.in28minutes.com)
- [Facebook](http://facebook.com/in28minutes)
- [Twitter](http://twitter.com/in28minutes)
- [Google Plus](https://plus.google.com/u/3/110861829188024231119)
- [Google Plus](https://plus.google.com/u/3/110861829188024231119)
6 changes: 3 additions & 3 deletions Step01.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Set up an Maven Project with Eclipse.
- Intellij Link : https://www.jetbrains.com/help/idea/2016.2/getting-started-with-maven.html#create_maven_project
- Copy Two Files pom.xml and Application.java
- Launch Your First Spring Boot Application.
- You will be introduced to Maven
- Dependency Management

##Cool thing to note!
## Cool thing to note!
- Without a lot of configuration, we are up and running with a web application
- Refer https://github.com/in28minutes/SpringMvcStepByStep/blob/master/Step15.md to understand the sort of stuff - web.xml, dispatcher servlet configuration, maven dependency management and plugins - that are need to launch a typical web application without Spring Boot!

##What You Will NOT Learn during this Step:
## What You Will NOT Learn during this Step:
- Spring Boot does a lot of magic. This magic is called Auto Configuration. We will discuss about different terms related to Spring Boot - Starter Parent, Starter projects, Auto configuration - in depth during our first 10 steps.
- As far as this step is concerned, we will focus on getting up and running with Spring Boot. We will understand all the magic a little later.
- We will copy a lot of code in this step - just to avoid typos
Expand Down
4 changes: 2 additions & 2 deletions Step02.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Lets add a RestController with a dependency and see Spring Boot Magic live

##Theory Break : Quick Spring and Spring MVC Primer
## Theory Break : Quick Spring and Spring MVC Primer
- What is dependency?
- @Component
- @Autowired
Expand Down
4 changes: 2 additions & 2 deletions Step03.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- First installment of revealing how magic happens with Spring Boot. As a Spring Boot developer, you need to understand what's happening beneath the hood of Spring Boot!
- spring-boot-starter-web : starter for building applications with Spring MVC. Tomcat is default embedded container.
- We already added this starter in the first step! Now we will explore the features it provides
Expand All @@ -15,7 +15,7 @@
- Look at package org.springframework.boot.autoconfigure.web in spring-boot-autoconfigure-*.jar
- Go to url http://localhost:8080/some-non-existing-url

##Useful Snippets
## Useful Snippets
/src/main/resources/application.properties
```
logging.level.org.springframework: DEBUG
Expand Down
8 changes: 4 additions & 4 deletions Step04.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Understand Starter Parent
- How to override things defined in Starter Parent
- Other starter projects

##Starter Parent
## Starter Parent
- Dependency Versions
- Java Versions
- Default Plugins

##Other Starter Projects
## Other Starter Projects
- spring-boot-starter-web-services
- spring-boot-starter-test
- spring-boot-starter-jdbc
Expand All @@ -25,4 +25,4 @@ First Snippet
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.4.0.RELEASE</version>
</parent>
```
```
6 changes: 3 additions & 3 deletions Step05.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Spring Boot vs Spring
- What Spring Boot is Not!

##Spring Boot vs Spring
## Spring Boot vs Spring

### Spring
- Spring is just a dependency injection framework. Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.
Expand Down Expand Up @@ -41,7 +41,7 @@
- Be opinionated but provide options.
- Provide a range of non-functional features that are common to large classes of projects (e.g. embedded servers, security, metrics, health checks, externalized configuration).

####What Spring Boot is NOT?
#### What Spring Boot is NOT?
- It’s not an app or a web server
- Does not implement any specific framework - for example, JPA or JMS
- Does not generate code
Expand Down
2 changes: 1 addition & 1 deletion Step06.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- We want to prepare for creating a Rest Service
- Survey
- Question
Expand Down
6 changes: 3 additions & 3 deletions Step07.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Create a REST Service for Retrieving all questions for a survey
- Autowire SurveyService
- Create @GetMapping("/surveys/{surveyId}/questions")
Expand All @@ -7,7 +7,7 @@
- How does the Bean get converted to a JSON?
- Auto Configuration : If Jackson jar is on the class path, message converters are auto created! (Search in log :Creating shared instance of singleton bean 'mappingJackson2HttpMessageConverter')

##Some Theory
## Some Theory
- What is REST?
- Architectural style for the web. REST specifies a set of constraints.
- Client - Server : Server (service provider) should be different from a client (service consumer).
Expand All @@ -34,7 +34,7 @@ class SurveyController {
}
```

##Exercise
## Exercise
- Try to think about how the URI for retrieving the details of a specific question should be!

## Files List
Expand Down
2 changes: 1 addition & 1 deletion Step08.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Adding the second method to rest service to retrieve a specific question
- This will be a very short step
- http://localhost:8080/surveys/Survey1/questions/Question1
Expand Down
2 changes: 1 addition & 1 deletion Step09.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- I hate the fact that I've to stop and start the server each time. Can somebody save me?
- Yeah. Spring Boot Developer Tools
- By default, any entry on the classpath that points to a folder will be monitored for changes.
Expand Down
2 changes: 1 addition & 1 deletion Step10.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Create a REST Service to add a new question to survey
- @PostMapping("/surveys/{surveyId}/questions")
- @RequestBody Question question
Expand Down
2 changes: 1 addition & 1 deletion Step11.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Understand Content Negotiation
- Accept:application/xml
- Deliver XML Responses from the REST Services
Expand Down
2 changes: 1 addition & 1 deletion Step12.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Spring Initializr
- https://start.spring.io
- Create a few projects!
Expand Down
2 changes: 1 addition & 1 deletion Step13.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Spring Boot Actuator
- /env, /metrics, /trace, /dump, /shutdown, /beans, / autoconfig, /configprops, /mappings
- HAL Browser
Expand Down
2 changes: 1 addition & 1 deletion Step14.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Embedded servlet containers
- Default Tomcat
- We did not install Tomcat. Did we? Magic is done by Spring Boot!
Expand Down
4 changes: 2 additions & 2 deletions Step15.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Using Dynamic Configuration in your application
- Customize Welcome Message
- Different ways of configuration
Expand All @@ -8,7 +8,7 @@
- Using Placeholders
- YAML

##Snippets
## Snippets
First Snippet
```
logging:
Expand Down
4 changes: 2 additions & 2 deletions Step16.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Understand Basics of Profiles
- Setting a profile
- Using -Dspring.profiles.active=prod in VM Arguments
Expand Down Expand Up @@ -457,4 +457,4 @@ logging.level.org.springframework: DEBUG
app.name=in28Minutes
welcome.message=Welcome message from property file! Welcome to ${app.name}
```


2 changes: 1 addition & 1 deletion Step17.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Even better configuration management than @Value
- Type-safe Configuration Properties
- http://localhost:8080/dynamic-configuration
Expand Down
4 changes: 2 additions & 2 deletions Step18.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Let's switch back to tomcat first!
- Get introduced to Spring Data JPA
- Create a very simple example with Spring Data JPA
- Use CommandLineRunner!

##Some Notes
## Some Notes
- Useful Properties
- spring.datasource.driver-class-name=com.mysql.jdbc.Driver
- spring.datasource.url=jdbc:mysql://localhost:3306/test
Expand Down
4 changes: 2 additions & 2 deletions Step19.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Look at H2 Console : http://localhost:8080/h2-console
- Use db url jdbc:h2:mem:testdb
- Add findByRole method

##Some Notes
## Some Notes
- Useful Properties
- spring.datasource.driver-class-name=com.mysql.jdbc.Driver
- spring.datasource.url=jdbc:mysql://localhost:3306/test
Expand Down
2 changes: 1 addition & 1 deletion Step20.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Introduction to Spring Data Rest
- Hit http://localhost:8080/users in POSTMAN
- http://localhost:8080/users/1
Expand Down
2 changes: 1 addition & 1 deletion Step21.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- First thing first : I hate the fact that we did not write tests until Step 20 of this course
- I love TDD and use it in all my projects. However, when learning something new, I think it is important to focus on one thing at a time!
- You can learn more about unit testing here - https://www.youtube.com/watch?v=o5k9NOR9lrI
Expand Down
2 changes: 1 addition & 1 deletion Step22.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Exercise from previous step
- Integration Test for POST Request - Add To do

Expand Down
2 changes: 1 addition & 1 deletion Step23.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Lets do some cleanup
- Lets Refactor the SurveyControllerIT.java

Expand Down
2 changes: 1 addition & 1 deletion Step24.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Write a Unit Test for retrieving a specific question from a survey.
- Different between Unit Test and Integration Test
- Basics of Mocking
Expand Down
2 changes: 1 addition & 1 deletion Step25.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Exercise from previous step
- Unit test for createTodo

Expand Down
2 changes: 1 addition & 1 deletion Step26.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Securing our services with Basic Authentication using Spring Security
- Executing Requests using Basic Authentication with Postman
- default user name is user
Expand Down
2 changes: 1 addition & 1 deletion Step27.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- Configure different user roles for survey and other services
- Update integration tests
- Update unit tests
Expand Down
2 changes: 1 addition & 1 deletion Step28.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- A Deep Dive into Autoconfiguration
- spring-boot-autoconfigure-1.4.0.RELEASE.jar
- /META-INF/spring.factories
Expand Down
4 changes: 2 additions & 2 deletions StepReference.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##What You Will Learn during this Step:
## What You Will Learn during this Step:
- First
- Second
- Third
Expand All @@ -13,4 +13,4 @@ Second Snippet

## Exercises

## Files List
## Files List

0 comments on commit 37f17e6

Please sign in to comment.