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

shopfully

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shopfully

flyers api

  • 0.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Flyer api

This Serverless project can serve the data in this csv file, following this specs

Instructions

  • Installation

    • clone the repo or download and unzip the project
    • npm i
      
  • Deploy the service

    cd shopfully
    npx serverless deploy
    
  • Run test (requires cakephp locally)

    cd shopfully
    npm tests
    

Api

By default it serves on the port 4000 but the configuration can be changed in the docker-compose.yml file

  • /flyers/{{id}}: returns a single flyer

    • fields int default null: field to show
  • /flyers: returns the list of flyers, accepts the following GET arguments

    • page int default 1: page number
    • limit int default 100: page size
    • filter object default null: filter by values

the api interface is decribed more formally in the openapi.yml

Resources

Note

The logic is handled in the parser.js file, the requests are served in the handler.js file

Keywords

FAQs

Package last updated on 24 Sep 2020

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