Skip to content

javaplug/ws_masterdata_team

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

microservicewithspringboot

Microservices with Springboot

Spring Boot [Framework for developing web application]

opinionated - comes with a lot of non-functional features, quick development configuration - can be overriden any of the opinionated features Embedded-server - gives stand-alone jar/war with embedded Tomcat server

Getting Started

Tools required

Configuration

  • Open STS
  • it asks a path for creating a workspace, choose a folder your PC
  • it opens the workspace
  • setting maven
    • from menu option click: Window -> Preferences -> [in left-panel]Maven : Installations -> [in right-panel] click 'Add' : click 'Directory' and choose the folder where you unziped 'Apache Maven' '~\apache-maven-3.5.3' and click : 'Finish'
    • from menu option click: Window -> Preferences -> [in left-panel]Maven : 'User Settings' -> [in right-panel] click 'Browse' : and choose '~\apache-maven-3.5.3\conf\settings.xml' and click : 'Apply and close'

Code

  • login to github
  • navigate to https://github.com/javaplug/ws_masterdata_team
  • click 'fork' -> wait for a while
  • navigate to https://github.com//ws_masterdata_team
  • click 'clone or download' -> copy the link sample 'https://github.com//ws_masterdata_team.git'
  • create any folder in your PC and navigate to that path through command-prompt
    • enter below commands

      git init git clone copied-url

  • ws_masterdata_team will be downloaded in that path

Importing Maven Project and starting

  • Right click inside 'Package Explorer' -> 'Import..' -> 'Maven' -> 'Existing Maven Projects' -> choose 'ws_masterdata_team' in the above step -> click : 'Finish'
  • Boot dashboard
    • from menu option click: 'Window' -> 'Show View' -> 'Other..' -> type 'boot' -> click : 'Open'
  • In boot dashboard expand 'local' -> choose 'ws_masterdata_team' -> right click -> (Re)start/(Re)debug
  • once app started you can see the console log Tomcat started on port(s): 8080 (http) with context path '' Started MasterdataTeamApplication in 20.906 seconds (JVM running for 28.587)
  • make a note of the port 8080, it might change use accordingly
  • open postman and give input as per 'tutorials/postmanrequest.PNG' in the same page -> scroll-up and click 'Send'
  • you can see the success message in the same window as highlighted in red 'tutorials/postmanrequest.PNG'
  • in browser open 'http://localhost:8080/h2-console' and give input as per 'tutorials/h2console.PNG' and click 'connect'
  • this is a console of embedded db configured in the ws_masterdata_team
  • sample usage refer 'tutorials/output.PNG'

About

mdm team

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages