Skip to content

seanaharrison/springmvc-mongodb-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springmvc-mongodb-example

Spring MVC MongoDB example also uses jquery and bootstrap.

ScreenShot

##Setup

  1. Download and install Spring Tool Suite http://spring.io/tools/sts
  2. Download and install Git http://git-scm.com/downloads
  3. Open STS and create a workspace
  4. Navigate to the workspace folder (terminal or cmd) and run the Git command git clone https://github.com/seana7a7/springmvc-mongodb-example.git
  5. Click File -> Import -> General -> Existing Project into Workspace
  6. Click Browse navigate to the workspace and select the springmvc-mongodb-example folder
  7. Click finish
  8. Right click on the project -> Maven -> Update Project
  9. Click OK

##Database Setup (Linux)

  1. Download and install MongoDB http://www.mongodb.org/downloads
  2. Start the MongoDb service sudo service mongodb start

##Database Setup (Windows)

  1. Download and install MongoDB http://www.mongodb.org/downloads
  2. Create the following folder C:\data\db
  3. If MongoDb has not been installed as a service run the MonogoDB demon mongod.exe

##Deploy

  1. Right click on the project Run As -> Run On Server -> Click Finish (Using the default VMware vFabric Sever)

About

Spring MVC example with a MongoDB also uses jquery and bootstrap.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published