Botanical Buddy frontend is available here
Botanical Buddy is a web application designed to help plant enthusiasts manage and care for their plants effectively. This backend repository contains the codebase for the server-side API and database interactions of the Botanical Buddy web application.
$ git clone git@github.com:mumbi-prog/phase-3-sinatra-react-project.git
cd phase-3-sinatra-react-project
$ bundle install
$ bundle exec rake server
This will run the server on http://localhost:9292
- Ruby
- Sinatra
- ActiveRecord
- SQLite3
The backend provides the following API endpoints: Plants
- GET/plants: Get a list of all plants.
- GET /plants/:id: Get a specific plant by its ID.
- POST /plants: Create a new plant.
- PATCH /plants/:id: Update an existing plant.
- DELETE /plants/:id: Delete a plant.
Care Tasks
- GET/plants: Get a list of all care task.
- GET /plants/:id: Get a specific care task by its ID.
- POST /plants: Create a new care task.
- PATCH /plants/:id: Update an existing care task.
- DELETE /plants/:id: Delete a care task.
This project is licensed under the MIT LICENSE