Code Monkey home page Code Monkey logo

recipe-api-only's Introduction

README.md

Great Loopback REST API tutorial: https://github.com/optis/loopback-rest-api

Note: This repository is going through heavy development currently and should not be used in production unless you know what you are doing

Links, that's important for me:

http://localhost:3000/explorer/#!/recipes/recipes_find

http://localhost:3000/api/recipe http://localhost:3000/api/menu

http://localhost:3000/explorer/#!/customer/customer_login will return a token

For sending email notifications - we'll use MailGun

Our free key : key-4e236ace7f85293ec5eb2b37d6d9fa39 Free domain : sandbox31d3370622eb42a597ccb3fa1fd0adbf.mailgun.org

http://localhost:3000/api/ingredient?filter[where][name][like]=kosher

@TODO fill Readme with other urls, that what we'll need for Free and Menu Milestone

Note: Upload images are not supported right now. If you want to display images, you must upload them to storage, copy public url and save it on database. Use this reference for adding such a functionality: https://github.com/optis/loopback-rest-api#storage

https://recipe-api-loopback.herokuapp.com/

Free Menu GET ONLY right now recipe/id/ingredients grocery/id/departments menu/id/grocery departments/id/ingredients users/id/menu/id

Menu filter by date ASC/DESC

@TODO Search

alt text

Free Menu Release:

GET http://localhost:3000/api/menu?access_token=%token% Get list with all created menus(with recipe Ids)

alt text

alt text

GET http://localhost:3000/api/menu/593ac56c2c941720bc3091b1?access_token=%token% Get one menu by Id

alt text

alt text

GET http://localhost:3000/api/menu/last?access_token=%token% Get only one latest published menu alt text

GET http://localhost:3000/api/recipe?access_token=%token% Get list with all created recipes

alt text

alt text

GET http://localhost:3000/api/recipe/593abe383199170e50a5272d?access_token=%token% Get one recipe by Id

alt text

alt text

GET recipe/:id/full Get recipe with all necessary data like ingredients. @TODO Later add stuff like allergies, etc.

GET http://localhost:3000/api/grocery/menu?groceryId=594d45227741a0312874c465&access_token=%token% Get ingredients and display them in list view with directions and link to recipy by recipeId

GET /menu/filter/date Filter By Published Date: ASC/DESC

GET /menu/full

recipe-api-only's People

Contributors

atherdon avatar doppins-bot avatar

Forkers

sensecollective

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.