/node-dynamo

NodeJS + Fastify + GraphQL (Apollo) + DynamoDB

Primary LanguageJavaScriptMIT LicenseMIT

Node + Fastify + GraphQL (Apollo) + DynamoDB

Setup

  1. Install Node.js (prefer nvm since project has .nvmrc file)

  2. Make sure AWS SDK installed - which aws

  3. Get DynamoDB local server (Need JRE >6 since is Java)

  4. Start local DynamoDB server

    java -D java.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb
    
  5. Can list tables:

    aws dynamodb list-tables --endpoint-url http://localhost:8000
    
  6. Clone repo then run npm install

  7. run node .