This project demonstrates the integration of AWS S3 pre-signed URLs with a Laravel backend and Vue.js frontend. This setup allows secure, temporary access to S3 resources directly from the client-side, optimizing performance and security.
Before you begin, ensure you have the following installed:
- Docker
- Make
- Clone the repository:
git clone https://github.com/gevorgmelkumyan/pre-signed-urls.git
- Go to the project's docker directory:
cd pre-signed-urls/docker
- Run the build command:
make run
- Make sure the docker environment has built successfully by visiting http://localhost:8085.
- Connect to the server container (
su_server
) and run thedev
script:
docker exec -it su_server bash
npm run dev
- For the AWS S3 mock URLs to be working on your local machine, make sure to add the following line to your
/etc/hosts
file:
127.0.0.1 su_s3