Spring MVC MongoDB example also uses jquery and bootstrap.
##Setup
- Download and install Spring Tool Suite http://spring.io/tools/sts
- Download and install Git http://git-scm.com/downloads
- Open STS and create a workspace
- Navigate to the workspace folder (terminal or cmd) and run the Git command
git clone https://github.com/seana7a7/springmvc-mongodb-example.git
- Click File -> Import -> General -> Existing Project into Workspace
- Click Browse navigate to the workspace and select the
springmvc-mongodb-example
folder - Click finish
- Right click on the project -> Maven -> Update Project
- Click OK
##Database Setup (Linux)
- Download and install MongoDB http://www.mongodb.org/downloads
- Start the MongoDb service
sudo service mongodb start
##Database Setup (Windows)
- Download and install MongoDB http://www.mongodb.org/downloads
- Create the following folder
C:\data\db
- If MongoDb has not been installed as a service run the MonogoDB demon
mongod.exe
##Deploy
- Right click on the project Run As -> Run On Server -> Click Finish (Using the default VMware vFabric Sever)