Skip to content

Very simple sample app build with ektorp running against cloudant.com. This is borrowed to http://www.ektorp.org/.

Notifications You must be signed in to change notification settings

dongshengbc/ektorp-cloudant-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ektorp-cloudant-example

Very simple sample app build with ektorp running against cloudant.com. The project is pretty much build upon example project found at http://www.ektorp.org/tutorial.html.

The project should be running out of box as follwing if you have maven installed:


  mvn clean install jetty:run 

Right now the project uses a cloudant database as a readonly user so you can not really can not create any new post.

If you want to point to your own cloudant account (so you can do write also), making the following changes: in file src/main/resources/couchdb.properties, replace the username and password with correct values.


  host=[username].cloudant.com
  username=[username]
  password=[password]
  port=443
  maxConnections=20
  connectionTimeout=1000
  socketTimeout=10000
  autoUpdateViewOnChange=true
  enableSSL=true
  relaxedSSLSettings=true

About

Very simple sample app build with ektorp running against cloudant.com. This is borrowed to http://www.ektorp.org/.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages