Sample Spring Rest and Web Application framework using gradle
Tools Needed on your system:
GIT bash Gradle -- build tool Spring source tool suite [Optional] / Eclipse
Git commands --
To pull from remote repo:
- git init
- git remote add origin https://github.com/bhargavr/bhim.git
- git pull origin master
To commit:
- git add.
- git commit -m "comment"
- git push origin master -- give your git hub ID
If you find any discrepency, do git pull before you push.
Gradle build tool commands: Browse to the project directory
- gradle eclipse -- first time to step up you project in eclipse
- gradle clean
- gradle run -- to run in tomcat container on port 8080
Sample Endpoint: http://localhost:8080/greetings
default user credentials : user/password