Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiranwankhade/dataneuron_backend
https://github.com/kiranwankhade/dataneuron_backend
Last synced: about 16 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/kiranwankhade/dataneuron_backend
- Owner: kiranwankhade
- Created: 2024-04-09T11:50:38.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-04-10T07:25:09.000Z (7 months ago)
- Last Synced: 2024-04-23T05:07:20.707Z (7 months ago)
- Language: JavaScript
- Size: 3.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DataNeuron Backend API
The DataNeuron Backend API provides a simple interface to add, update, and track data entries, along with counting the operations performed. This document outlines the available endpoints and how to interact with them.
## Base URL
The API is currently deployed at: [https://dataneuron-backend-kp89.onrender.com](https://dataneuron-backend-kp89.onrender.com)
## Endpoints
### 1. Get Data
- **Endpoint:** `/task/`
- **Method:** `GET`
- **Description:** Fetches all the data entries from the backend.
- **Response:** An array of data objects.### 2. Create Data
- **Endpoint:** `/task/create`
- **Method:** `POST`
- **Description:** Adds a new data entry.
- **Body:**
```json
{
"task": "Sample data",
"description": "Additional information"
}
- **Response:** An array of data objects.### 3. Update Data
- **Endpoint:** `/task/update/${id}`
- **Method:** `PATCH`
- **Description:** Update the Existing data.
- **Body:**
```json
{
"task": "Updated data",
"description": "Additional Updated information"
}
- **Response:** The updated data object.### 4. Get Count
- **Endpoint:** `/task/getCount`
- **Method:** `GET`
- **Description:** Retrieves the count of add and update operations performed.
- **Body:**
```json
{
"addCount": 5,
"updateCount": 3
}
- **Response:** Get the updated Counts of operations.## Deployed Backend
The backend for this project is deployed on Render and can be accessed here: (https://github.com/kiranwankhade/DataNeuron_Backend).This setup ensures a seamless flow for managing and tracking data entries through a simple and intuitive API.