Public Repository

Last pushed: 3 months ago
Short Description
Service to create tags (much like ingredients-service)
Full Description

Tags service

This repo's purpose is to fetch tag data.

How to setup locally
  1. Checkout the repo
  2. Run docker build -t <name-of-service> .
  3. Start the server by running
    docker run -p <port-you-want>:10000 <name-of-service>
  4. The server is now available at localhost:<port-you-want>
How to setup locally (without Docker)
  1. Checkout the repo
  2. Run yarn
  3. Start the server by running yarn start
    or to have a watcher running on the code type yarn run watch
  4. The server is now available at localhost:10000

API

  • GET /search:query - Search for ingredients by search query
  • GET /latest - get the 40 latest ingredients that were added
  • POST / - create a new ingredient. POST payload on the form of:
    {
      "name": "tagName",
    }
    
Docker Pull Command
Owner
udachef

Comments (0)