> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sophiabarnes.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Start the Plant Care API and make your first requests.

## Prerequisites

Make sure you have [Node.js](https://nodejs.org) installed.

## Get up and running

<Steps>
  <Step title="Install dependencies">
    Clone the repo and install packages.

    ```bash theme={null}
    npm install
    ```
  </Step>

  <Step title="Start the API">
    ```bash theme={null}
    npm start
    ```

    The API will be running at `http://localhost:3000`.
  </Step>

  <Step title="List your plants">
    ```bash theme={null}
    curl http://localhost:3000/plants
    ```

    You'll get back the current plants.
  </Step>

  <Step title="Add a plant">
    ```bash theme={null}
    curl -X POST http://localhost:3000/plants \
      -H "Content-Type: application/json" \
      -d '{"name": "Pothos", "species": "Epipremnum aureum", "wateringFrequencyDays": 5}'
    ```
  </Step>

  <Step title="Delete a plant">
    ```bash theme={null}
    curl -X DELETE http://localhost:3000/plants/1
    ```
  </Step>
</Steps>
