@friendemic/reviews-widget
v1.0.4
Published
Review widget snippet used to display reviews in a carousel for specified place-id(s).
Downloads
1,827
Readme
reviews-widget
Review widget snippet used to display reviews in a carousel for specified place-id(s).
Svelte
This project was made using svelte and ported from a previous React application.
src/assets folder contains logo svg's exported as svelte components. src/App.svelte contains the main app. Other components located in src/components folder. All api logic and utils contained in src/utlis.
Developing
# start live server at port 8080
yarn start
Building
Building is handled by esbuild.
To create a production js file:
yarn build
You can preview the production build from the example folder.
Environments
The widget is automatically deployed to an S3 bucket on merges to master & develop. Merges into master require approval in AWS CodePipeline before being deployed.
Examples are located in the example folder for each environment.