Skip to content
Serverless application that demonstrate how to use AWS AppSync and Amazon Neptune to build a realtime, data driven application.
Vue JavaScript Python CSS HTML
Branch: master
Clone or download
Pull request Compare This branch is even with aws-samples:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Building Serverless Calorie tracker application with AWS AppSync and Amazon Neptune


In this workshop, you will build a serverless Calorie tracker application that will allow users to setup a daily calorie target goal, allows them to add, update and track the calories consumed or burned daily, and receive food suggestions based on their food habits.

Some of the features that you would be building in your app today are:

  • User sign-up, login and logout.
  • Set personal information like calorie target per day, height, weight etc.
  • Track activities through out the day, like:
    • add calories (breakfast, lunch, dinner, snacks) and
    • burn calories (workout, walk, run)
  • View food suggestions based on the activities and personal information (BMI).

Architecture diagram:


Services used:

  • AWS AppSync
  • AWS Lambda
  • Amazon DynamoDB
  • Amazon Cognito
  • Amazon Neptune


This workshop requires:

  • An active AWS Account with administrative permissions.
  • A Cloud9 environment is recommended, but, if you are using your own laptop, you should have npm and git installed.
  • Knowledge of Javascript/ NodeJS will be an added advantage.
  • Knowledge of Amazon DynamoDB, AWS Lambda, Amazon Cognito and AWS CloudFormation will be an added advantage.


  1. Deploying Amazon Neptune Cluster
  2. Setting up AWS Cloud 9 Development Environment
  3. AWS AppSync - GraphQL
  4. Setting up frontend - VueJS application
  5. Testing the application
  6. Configuring the App to provide the Food suggestions
  7. Closing and Clean up


This sample code is made available under a modified MIT license. See the LICENSE file.

You can’t perform that action at this time.