ashishkarki / DijitallNotarer

DijitallNotarer is a digital notarization platform using NestJS (backend), Next.js (frontend), and GraphQL APIs. It integrates LocalStack for AWS services, features a monorepo with Yarn workspaces, and includes CI/CD with GitHub Actions. Ideal for showcasing serverless and modern web tech stacks.
MIT License
0 stars 0 forks source link

Backend file upload logic (some hardcoding now) #6

Open ashishkarki opened 3 weeks ago

ashishkarki commented 3 weeks ago

Basic Flow (Hardcoded File):

  1. Client request (temporary): Simulate an API call that triggers the file upload from the backend.
  2. Upload to S3: Use the AWS SDK to upload the hardcoded loremIpsum.pdf file.
  3. Store Metadata in DynamoDB: Store details about the file in DynamoDB (mocked with LocalStack).
ashishkarki commented 3 weeks ago

have run into problem where despite docker-compose's networking working well, somehow when i try to upload a hardcoded pdf file from nestjs sever into docker based Localstack's S3 bucket, it doesn't work so i might have to simply my approach. I will either close this later -- for now i will keep it as blocked