ethancloin / plantdaddy-backend Goto Github PK
View Code? Open in Web Editor NEWREST API for PlantDaddy web app. Leverages a modern, typed Python stack.
License: MIT License
REST API for PlantDaddy web app. Leverages a modern, typed Python stack.
License: MIT License
Allow user to assign a WateringFrequency
to their plants. After x days have passed, remind user to water.
WateringFrequency can exist as a standalone Enum
Each Plant can have either zero or one WateringFrequency
needs_water
by considering whether the selected frequency is evenly divisible by the current day of the year.EG:
BIMONTHLY
frequency is assigned, which has a value of 14. The current date is January 28, the 28th day of the year. Since 28 mod 14 == 0, any plant on the standard schedule should be updated toneeds_water
=True.
needs_water
status will also update the last_watered
day.unable to properly run uvicorn server due to import issues with both the models
and db
packages.
Create 5+ rows of plants which can be included in the database upon startup to make testing more consistent. Will be useful to test out parts of the frontend with real data.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.