I created a simple Maven web application in Spring that tests the strength of passwords and saves them to MySQL database. Then I changed it to Spring Boot so I can upload it to Heroku. Both versions work well on localhost:8080, but when I uploaded the Spring Boot version to Heroku, it doesn't see the CSS file nor a text file with the list of words I use to find out if the password contains any existing words in English. Here is the link to my app on Heroku https://passwords2.herokuapp.com As you can see, there are no background or font colors and there is an error as soon as it tries to find "english.txt" file which is the list of words. Here is the link to Git Hub: https://github.com/PiotrDawidziuk/passwords2 The only difference is that in the Heroku version I changed the database options to
spring.datasource.url=${JDBC_DATABASE_URL}
spring.datasource.username=${JDBC_DATABASE_USERNAME}
spring.datasource.password=${JDBC_DATABASE_PASSWORD}
spring.jpa.show-sql=false
spring.jpa.generate-ddl=true
spring.jpa.hibernate.ddl-auto=create
in application.properties and I added Maven dependency for PostgreSQL. image that shows what files I think Heroku doesn't see
Edit: I used this tutorial to deploy my app to Heroku: https://www.youtube.com/watch?v=7RHYDNSRSOs