Add basic plant repository and demo page with plant list

This commit is contained in:
Dana Lambert 2021-10-07 10:22:44 +13:00
parent 9b17536102
commit 80d5b181d9
3 changed files with 59 additions and 5 deletions

View file

@ -0,0 +1,11 @@
import Repository from "./Repository";
const PlantRepsostory = {
getPlants() {
return Repository.get(`/plants/`);
}
}
export default PlantRepsostory;