Java SpringBoot Application - VotingApp, User can vote the Candidate, and Admin has the permission to see the vote details
url: https://swapnilbamble1438.github.io/VotingApplication/
In Eclipse or Spring Tool Suite
Click on File
Select Import
Select Projects from Git(with smart import) -> Next
Select Clone URI -> Next
In URI paste this url: https://github.com/swapnilbamble1438/VotingApp.git
-> Next
Now in Local Destination
proceed -> Next
Now only select VotingApp\MySpring_Boot_aa23v_VotingApp_Final
-> Finish
If everything goes right Project will get successfully imported
Now wait for few seconds for getting things properly loaded
Now open Project > src/main/resources > open application.properties file,
inside this file look for
spring.datasource.url=jdbc:mysql://localhost:3306/springbootnew?serverTimezone=UTC
here “springbootnew” is the name of the database.
so
or
(you can also create the database with different name in MySQL. but the created database
name in MySQL should match the database name in url in application.properties file.
so according to created database in MySQL set the database name in url in
application.properties
file.
And Try to Run the Project
Now do some changes, Change port number according to your Tomcat Server
and save the file.








