https://github.com/rishn/bajajfinserv-challenge1-api
Backend API for the Bajaj Finserv Health Challenge, built with Express to process and filter JSON data, and deployed on Render
https://github.com/rishn/bajajfinserv-challenge1-api
api backend bajaj-finserv data-filtering express json-processing nodejs render-deployment rest-api
Last synced: 4 months ago
JSON representation
Backend API for the Bajaj Finserv Health Challenge, built with Express to process and filter JSON data, and deployed on Render
- Host: GitHub
- URL: https://github.com/rishn/bajajfinserv-challenge1-api
- Owner: rishn
- Created: 2024-08-25T06:58:07.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-08-25T16:58:32.000Z (10 months ago)
- Last Synced: 2025-01-12T11:44:22.229Z (6 months ago)
- Topics: api, backend, bajaj-finserv, data-filtering, express, json-processing, nodejs, render-deployment, rest-api
- Language: JavaScript
- Homepage: https://bajajfinserv-challenge1.onrender.com
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bajaj Finserv Health Challenge - Backend
## Overview
This is the backend API for the Bajaj Finserv Health Challenge. The API is built with Express and provides endpoints for processing JSON data and returning the results.
## Features
- **POST /bfhl**: Accepts JSON data, processes it, and returns filtered results.
- **GET /bfhl**: Returns a hardcoded operation code.## Deployment
The site is deployed on render.
## API Endpoints
- **POST** `/bfhl`:
- **Request Body**:
```json
{
"data": ["A", "C", "z"]
}
```
- **Response**:
```json
{
"is_success": true,
"user_id": "john_doe_17091999",
"email": "[email protected]",
"roll_number": "ABCD123",
"numbers": [],
"alphabets": ["A", "C", "z"],
"highest_lowercase_alphabet": ["z"]
}
```- **GET** `/bfhl`:
- **Response**:
```json
{
"operation_code": 1
}
```