{"id":20607616,"url":"https://github.com/allenheltondev/santa-chat-app","last_synced_at":"2025-04-15T04:02:14.973Z","repository":{"id":212865570,"uuid":"721589393","full_name":"allenheltondev/santa-chat-app","owner":"allenheltondev","description":"Mono-repo containing UI and backend code for a santa chatbot that makes users work for their presents","archived":false,"fork":false,"pushed_at":"2024-01-16T12:50:25.000Z","size":2390,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-19T21:05:40.619Z","etag":null,"topics":["ai","momento","serverless"],"latest_commit_sha":null,"homepage":"https://justinschristmasgift.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allenheltondev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-21T11:24:08.000Z","updated_at":"2024-02-16T21:06:42.000Z","dependencies_parsed_at":"2024-11-16T11:04:12.867Z","dependency_job_id":null,"html_url":"https://github.com/allenheltondev/santa-chat-app","commit_stats":null,"previous_names":["allenheltondev/santa-chat-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenheltondev%2Fsanta-chat-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenheltondev%2Fsanta-chat-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenheltondev%2Fsanta-chat-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenheltondev%2Fsanta-chat-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allenheltondev","download_url":"https://codeload.github.com/allenheltondev/santa-chat-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003951,"owners_count":21196793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","momento","serverless"],"created_at":"2024-11-16T10:08:03.451Z","updated_at":"2025-04-15T04:02:14.921Z","avatar_url":"https://github.com/allenheltondev.png","language":"JavaScript","readme":"# Chat With Santa\n\nHo, ho, ho and welcome! This repository was built both to be a fun and frustrating experience for my brother on Christmas and as an entry into the [Serverless Guru Hackathon](https://hackathon.serverless.guru/).\n\nTo read all about it and get some fun insider information on how it was built and the iterations it went through, [check out the blog post](https://readysetcloud.io/blog/allen.helton/santa-chatbot). To see it live, go to [www.justinschristmasgift.com](https://justinschristmasgift.com).\n\n## Architecture\n\nThis repository is a mono-repo containing both the front-end and backend code. When deployed into your account, it will create the following architecture:\n\n![](https://readysetcloud.s3.amazonaws.com/santa_chatbot_1.png)\n\nControl plane operations go through a REST API and the majority of the data plane/chat operations go through [Momento Topics](https://www.gomomento.com/services/topics).\n\n![](https://readysetcloud.s3.amazonaws.com/santa_chatbot_2.png)\n\n## Deployment\n\nTo deploy this into your AWS account, you will need the [SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html#install-sam-cli-instructions) installed and configured on your machine.\n\nPrior to deployment, you will need to gather the following information:\n\n* **Momento API Key** - Create a super user API key via the [Momento Console](https://console.gomomento.com)\n* **OpenAI API Key** - Create an API key for [OpenAI](https://openai.com/blog/openai-api)\n* **Webhook Secret** - Create a webhook in your Momento account and remember the secret\n* **Default Cache Name** - Create a cache in your Momento account\n\nOnce you have obtained all the information above, you can deploy the code into your AWS account via the following commands:\n\n```bash\ncd api\nsam build --parallel\nsam deploy --guided\n```\n\n## Repo Layout\n\nAll the source code for the NextJS front-end is located in the `ui` folder off the root. The backend code for the API is in the `api` folder.\n\n## Contact\n\nAny questions? Feel free to reach me on [X](https://twitter.com/allenheltondev) or [LinkedIn](https://linkedin.com/in/allenheltondev)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallenheltondev%2Fsanta-chat-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallenheltondev%2Fsanta-chat-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallenheltondev%2Fsanta-chat-app/lists"}