This service renders the interactive photo grid element for the AirBnb clone app.
Clone the repo and from the root folder of the project run thge below command:
npm install
Create .env file in root of the project with below structure and replace values as per your AWS account:
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
AWS_BUCKET_NAME=
Then, from command line from the root directory (for the .env file to be recognized):
npm run seed
This will create 5 photos for each room => 500 entries in DB and S3 bucket => ~ 5-10 minutes execution time
npm start