Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rishn/bajajfinserv-challenge1-api


https://github.com/rishn/bajajfinserv-challenge1-api

Last synced: 3 days ago
JSON representation

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
}
```