Skip to content

gurkancakir/SpringBoot-Angular-Task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBoot-Angular-Task

build angular app

npm run build
  1. build angular app
  2. start spring-boot-app
  3. open http://localhost:8080

angular app development

http://localhost:4200

ng serve

proxy config

{
  "/api/*": {
    "target": "http://localhost:8080/",
    "secure": false
  }
}
  1. Open package.json
  2. Find start script
  3. Change to below code
ng serve --proxy-config proxy-config.json
  1. Create postbuild and predeploy script in package.json

Releases

No releases published

Packages

No packages published

Languages