Serverless Dynamodb Local Plugin - Allows to run dynamodb locally for serverless
dependabot[bot] on npm_and_yarn
Bump pathval from 1.1.0 to 1.1.… (compare)
AshanFernando on v1
Add support for running DynamoD… Merge pull request #279 from he… (compare)
Hi everyone,
I have had a problem with using null object properties in seed data when trying to insert the seed data on local. There are 2 open issues raised for the same. I have fixed the issue and want to introduce this as a feature insted of a Fix for the bugs, because this is something users will require. Please let me know what should I do.
PFA the issues
99xt/serverless-dynamodb-local#170
99xt/serverless-dynamodb-local#169
Thanks
getTableDefinitionsFromStack
method.if (!resources[key].Properties.TableName) {
const service = this.service.service;
const stage = this.options.stage || this.service.provider.stage;
resources[key].Properties.TableName = `${service}-${stage}-${key}`;
}
@vkarponen Sorry for the late reply, here is the PR for the issue 99xt/serverless-dynamodb-local#172
@rehrumesh & @vkarponen How can we get this merged, a review is pending. Can you have a look
sls dynamodb remove
does not work. reinstalling the package does not work. and there are a lor of issues on github about this.After huge research, i am planning to go with JavaScript Search engine with Angular/Vue.js/Meteor/React as front-end
Choice of javascript client side storage is below
1) IndexedDB
2) JScene
3) LargeLocalStorage
4) ydn db
5) PouchDB
Links for reference
https://github.com/tantaman/LargeLocalStorage
https://gist.github.com/inexorabletash/a279f03ab5610817c0540c83857e4295
http://lintool.github.io/JScene/
https://db-engines.com/en/system/LokiJS%3BPouchDB%3BSolr
Please kindly suggest which one to go...
Basically have a cross platform system which accepts huge files and finally does a full text search...
In this way, the user just needs the browser no installation is required......
I've opened a PR for the outstanding security issue #211, fixed and upgraded the travis build to use supported node versions (8, 10, 12), and updated the package dependencies to bring the latest dynamodb-localhost and mocha.
99xt/serverless-dynamodb-local#233
Any chance of getting a review / merge?
Hi there!
Troubles during migration.
Dynamodb is already installed on path!
Dynamodb Local Started, Visit: http://localhost:8000/shell
When I run sls dynamodb migrate
it fails for me with this:
Serverless: Invoke dynamodb:migrate
Type Error ---------------------------------------------
TypeError: _.get(...).includes is not a function
at ServerlessDynamodbLocal.hasAdditionalStacksPlugin (/Users/git/NNApps/moonshot-app/bff/node_modules/serverless-dynamodb-local/index.js:277:51)
Probably, one issue could be that I'm using plugins.localPath
attribute in my serverless.yml
. Could that be causing this to break? :(
PS: Couldn't find a solution for this on usual suspect sources.. hence, posting here.
Appreciate your time. Cheers!
Suggestion of 10 (TEN) crucial items for developing web application 2020
Could someone suggest the best tool/framework for small or medium size or enterprise web application for 2020 - 10 to 1000 users and millions of records
#1 - Best Unit test case framework
#2 - Best NoSQL Database
#3 - Best Relation Database
#4 - Best Synchronous Framework
#5 - Best Asychronous Framework
#6 - Best Front-End Framework (Active Development, Max Support)
#7 - Best Debugging Tool
#8 - Best Performance Tuning Tool
#9 - Best Code Coverage Tool
#10 - Best DB migration tool (ex: flyway)
Thanks.
When after running sls dynamodb install
, I get TypeError: Class extends value undefined is not a constructor or null
I have previously installed npm install --save serverless-dynamodb-local@0.2.10
and added - serverless-dynamodb-local
to the serverless.yml plugins section.
I have also installed serverless-offline and verified it is installed properly with serverless --verbose
.
I'm really not sure when to do next. My repo is https://github.com/simonotter/Serverless-reference-project
Thanks for any advice or suggestions that I could follow.
Simon
When after running
sls dynamodb install
, I getTypeError: Class extends value undefined is not a constructor or null
I have previously installed
npm install --save serverless-dynamodb-local@0.2.10
and added- serverless-dynamodb-local
to the serverless.yml plugins section.I have also installed serverless-offline and verified it is installed properly with
serverless --verbose
.I'm really not sure when to do next. My repo is https://github.com/simonotter/Serverless-reference-project
Thanks for any advice or suggestions that I could follow.
Simon
same issue for me +!
Type Error ---------------------------------------------
TypeError: Class extends value undefined is not a constructor or null
at new module.exports (/Users/potipirg/Desktop/user-rest-api-lamda/user-service/node_modules/serverless-dynamodb-local/index.js:11:43)
at PluginManager.addPlugin (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:95:28)
at /usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:138:33
at Array.forEach (<anonymous>)
at PluginManager.loadAllPlugins (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:138:8)
at /usr/local/lib/node_modules/serverless/lib/Serverless.js:91:39
at /usr/local/lib/node_modules/serverless/scripts/serverless.js:47:7
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
When after running
sls dynamodb install
, I getTypeError: Class extends value undefined is not a constructor or null
I have previously installed
npm install --save serverless-dynamodb-local@0.2.10
and added- serverless-dynamodb-local
to the serverless.yml plugins section.I have also installed serverless-offline and verified it is installed properly with
serverless --verbose
.I'm really not sure when to do next. My repo is https://github.com/simonotter/Serverless-reference-project
Thanks for any advice or suggestions that I could follow.
Simon
npm install --save serverless-dynamodb-local@0.2.39. this solved my problem