squidfunk / isotopes

Serverless and typed object store built on top of AWS SimpleDB

Home Page:https://squidfunk.github.io/isotopes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add region and endpoint additional config to readme

pointtoken opened this issue · comments

Great library! It might be useful in the docs to show how to configure the library, as follows:

   const seasons = new Isotope<Season>({
    domain: "seasons",                     
    key: "id"                            
  }, { region 		: 'US-East',
  endpoint 	: 'https://sdb.amazonaws.com'} );

Without this additional config, I couldn't get things working...

Thanks for noting! Definitely needs to be in the docs 😄 The reason why it's not is that I still need to revisit the configuration design. I probably change it to a further key of the first parameter and maybe refactor the other options.