Archives

Spring Data MongoDB with Spring MVC

Below is the steps to create a Spring MVC application with MongoDB 1. Create MongoDB Entity 2. Define MongoDB DataSource 3. Define MongoDBTemplate 4. Create MongoDB Repository interface 5. Implement MongoDB Repository interface 6. Define your MongoDB Controller 7. Test MongoDB DataSource 8. Test MongoDBTemplate 9. Test MongoDB Repository Create MongoDB Entity Define MongoDB DataSource […]

Rate this:

Read More

Setup Postgres, Mongodb and Redis on Heroku

Below is the instruction to setup Postgres, Mongodb and Redis on Heroku: Setup Postgres heroku addons:add heroku-postgresql:dev Setup MongoDB heroku addons:add mongohq:sandbox Setup Redis heroku addons:add rediscloud:20

Rate this:

Read More