New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

demo-shopping-service

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

demo-shopping-service

Provides shopping suggestions based on a given location

  • 1.0.4
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Demo Shopping Service

AWS lambda function that provides wardrobe suggestions based on the current weather in a location.

Online Demo
Running Locally
  1. Install the NPM package: npm i demo-shopping-service
  2. Run all tests: npm run test
Deploying to Your Own AWS
  1. Create IAM user with API access and put the user in the "administrator" policy.

  2. Install the servless NPM package npm i serverless -g

  3. Configure serverless credentials: serverless config credentials --provider aws --key AKIAIOSFODNN7EXAMPLE --secret wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

  4. Deploy: serverless deploy

  5. Run: serverless invoke -f suggest -l -p .\src\data\zipCode.json

  6. Run: serverless invoke -f suggest -l -p .\src\data\zipCodeExtended.json

Technologies

Keywords

FAQs

Package last updated on 09 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc