Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.26 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.26 KB

ssb-api

Serverless API for Spice Spice Baby recipe app project, utilising the Serverless Framework, DynamoDB, Redis and Neo4j. Also see ssb-backend-web-app.

Additional set up requirements

  1. Docker
  2. A default aws config to run local DynamoDB integration tests: dynamoose/dynamoose#1534
  3. Serverless-dynamodb-local requirements: https://www.serverless.com/plugins/serverless-dynamodb-local (we don't use Docker for this yet)
  4. localRecipeDb/neo4j/import folder must be created for running against local neo4j and if contents need to be updated, it must be manually deleted using sudo
  5. apoc and apoc extended jar files for neo4j must be downloaded and placed in localRecipeDb/plugins

TODO

  1. Migrate from Serverless to Terraform
    • Improve the Neo4j docker setup
    • Deploy Neo4j to ECS?
  2. Create Recipe database API routes
    • Ingredients
    • Recipes
    • Categories
  3. Think more about migrating to self-hosting Redis instance instead of Upstash? Is it worth it?
  4. Think more about expanding database schema

Current schema:

Expanded schema: