Git Product home page Git Product logo

bnbcleaningsapi's Introduction

bnbcleaningsapi's People

Contributors

agforeman avatar macconnolly avatar piercerod57 avatar stanfordna avatar tyhhytfirebird9 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

bnbcleaningsapi's Issues

/emails/{id} endpoint

Implement endpoint to send all cleanings for a day via email to a cleaner with cleanerid={id}

/emails/ endpoint

Implement endpoint that sends an email to each cleaner, containing all of current day's cleanings for that cleaner

update /cleaners/{id}/cleanings endpoint

Update the return for this endpoint to be of the form:

{cleaner: cleanerinfo, cleanings: [{cleaning: cleaninginfo, property: propertyinfo]}}

Essentially this endpoint will return a list of all cleanings and associated property embedded in the document for the cleaner.

update properties/{id}/cleanings endpoint

Update this endpoint to return
[{cleaner: '', {cleanings: [{cleaning: '', property: {}]}}]
Or possibly
[{property: '', {cleanings: [{cleaning: '', cleaner: {}]}}]

Need to clarify use case for this endpoint

Users

Implement user profiles and authorization via JWT using secret key.

/update endpoints should ignore events already marked clean

There should be some check to see if a cleaning has already occurred. If so it should not be wiped from the database and recreated. Fixing this issue will require some design choices about how to properly update the cleanings collection. For example, if we don't drop these cleanings from the database and a new stay is scheduled in the period of time that the cleaning is scheduled we would need to break this cleaning up in to two cleanings and mark them appropriately.

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.