Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rishn/bajajfinserv-challenge1-api
https://github.com/rishn/bajajfinserv-challenge1-api
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rishn/bajajfinserv-challenge1-api
- Owner: rishn
- Created: 2024-08-25T06:58:07.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-25T16:58:32.000Z (3 months ago)
- Last Synced: 2024-08-26T08:56:47.530Z (3 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- 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
}
```