Skip to content

gurkancakir/spring-boot-twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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

npm run start

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

heroku config

heroku config:set MAVEN_SETTINGS_PATH=settings.xml
git push heroku master

Releases

No releases published

Packages

No packages published

Languages