Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove serverless and dockerize api #7

Merged
merged 7 commits into from
Sep 19, 2023
Merged

Remove serverless and dockerize api #7

merged 7 commits into from
Sep 19, 2023

Conversation

Siegrift
Copy link
Collaborator

Removes the Dynamo DB dependency from API and introduces in-memory storage for now. The storage requirements are fairly minimal so we can later plug-in more sophisticated storage if need be. For now, the signed data are kept in a dictionary by Airnode ID and template ID.

The API is now dockerized. There is a simple docker-compose in preparation of adding proper storage (such as Redis or some SQL solution).

With this PR, there should not be any remnants of AWS in API. I've also changed all of the scripts and README. I have not tested deploying the Docker on cloud provider, but I tested locally.

@Siegrift Siegrift requested a review from andreogle September 18, 2023 14:08
@Siegrift Siegrift self-assigned this Sep 18, 2023
.dockerignore Show resolved Hide resolved
packages/api/.env.example Show resolved Hide resolved
packages/api/README.md Show resolved Hide resolved
packages/api/package.json Show resolved Hide resolved
@Siegrift Siegrift changed the base branch from setup-husky-ci to main September 18, 2023 14:47
packages/api/docker/Dockerfile Outdated Show resolved Hide resolved
packages/api/package.json Outdated Show resolved Hide resolved
packages/api/package.json Show resolved Hide resolved
packages/api/src/in-memory-cache.ts Outdated Show resolved Hide resolved
packages/api/README.md Show resolved Hide resolved
packages/api/src/local-server.ts Show resolved Hide resolved
@Siegrift Siegrift merged commit 0a13bb3 into main Sep 19, 2023
3 checks passed
@bbenligiray bbenligiray deleted the refactor-api branch September 20, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants