Normally, I use ionic access to API for getting data, but now I want to use ionic to connect with DynamoDB directly because I don’t want to spend time to build API server. Can you show me step to do it? what information needed for connection with DynamoDB?
I would not recommend using DynamoDB directly from a mobile app - DynamoDB doesn’t have enough authorization granularity. Placing root credentials to a whole table inside your app’s code is not a good idea.
So you would really need to get yourself some back-end around your DynamoDB tables.
But there’re ways to minimize the efforts creating that back-end. E.g. you can use LINQ2DynamoDB + WCF Data Services. Here’s an example.