An open API service indexing awesome lists of open source software.

https://github.com/nayeem2912/plant_care_server

This is the backend server for the Plant Care web application โ€” a smart gardening and plant maintenance platform. The backend is built using Node.js, Express, and MongoDB, and is responsible for managing API routes, handling user requests, and storing plant-related data.
https://github.com/nayeem2912/plant_care_server

cors dotenv expressjs javascript mongodb nodejs

Last synced: about 2 months ago
JSON representation

This is the backend server for the Plant Care web application โ€” a smart gardening and plant maintenance platform. The backend is built using Node.js, Express, and MongoDB, and is responsible for managing API routes, handling user requests, and storing plant-related data.

Awesome Lists containing this project

README

          

# ๐ŸŒฑ Plant Care - Backend Server

This is the backend server for the **Plant Care** web application โ€” a smart gardening and plant maintenance platform. The backend is built using Node.js, Express, and MongoDB, and is responsible for managing API routes, handling user requests, and storing plant-related data.

---

๐ŸŒ [Live Website](https://plant-care-cb6f6.web.app/)
๐Ÿ”— [GitHub Repository (Client)](https://github.com/Programming-Hero-Web-Course4/b11a10-client-side-nayeem2912)
๐Ÿ”— [GitHub Repository (Server)](https://github.com/Programming-Hero-Web-Course4/b11a10-server-side-nayeem2912)

---

## โš™๏ธ Technologies Used

- **Node.js** โ€“ JavaScript runtime
- **Express.js** โ€“ Backend framework
- **MongoDB** โ€“ NoSQL database for storing plant care data, user info, and orders
- **dotenv** โ€“ Environment variable management
- **CORS** โ€“ Cross-Origin Resource Sharing configuration

---
## ๐Ÿงช API Endpoints

| Method | Endpoint | Description |
|--------|-----------------------|----------------------------------|
| GET | `/api/plants` | Get all Plants |
| GET | `/api/plants/:id` | Get a single plant by ID |
| POST | `/api/plants` | Create a new plant |
| PUT | `/api/plants/:id` | Update an existing plant |
| DELETE | `/api/plants/:id` | Delete a Plant |
| GET | `/api/plants/by-user` | Get plants by user |


---