Skip to content

rajesh-entropy/mock-image-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Insta Mock Image Layer

This project is created using fastapi.
It contains the CRUD APIs for Instagram images.

Swagger URL

http://localhost:3000/docs

To run the project

python src/main.py

Testing

set env variables

export AWS_PROFILE=localstack
export LOCALSTACK_URL=http://localhost:4566/
export aws_access_key_id=test
export aws_secret_access_key=test

Run a fresh instance of LocalStack and initialize the resources required for the project.

docker compose up -d

Make the localstack-entrypoint.sh script executable

 chmod +x localstack_entrypoint.sh

Run the localstack-entrypoint.sh script to set up LocalStack environment variables

 . ./localstack-entrypoint.sh > /dev/null

To stop localstack

docker compose down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published