Skip to content

rodrigozrusso/poc-spring-data-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

poc-spring-data-mongodb

=============

Overview

This is a poc to use spring-data with mongodb.

MongoDB

Install (MAC)

brew install mongodb

Use (MAC)

run command:

mongod

Console

to start the console run command:

mongo

Application

This poc runs with maven

Starting server

mvn clean package jetty:run

Verify application

curl 'http://localhost:8080/welcome'

List all objects

curl 'http://localhost:8080/person'

Save a person (hardcoded)

curl -X POST 'http://localhost:8080/person'

And more?

Follow @zrusso on Twitter for the latest news. Send your feedback.

About

poc-spring-data-mongodb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages