Skip to content

Backend API for the Bajaj Finserv Health Challenge, built with Express to process and filter JSON data, and deployed on Render

Notifications You must be signed in to change notification settings

rishn/BajajFinserv-Challenge1-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:
      {
        "data": ["A", "C", "z"]
      }
    • Response:
      {
        "is_success": true,
        "user_id": "john_doe_17091999",
        "email": "john@xyz.com",
        "roll_number": "ABCD123",
        "numbers": [],
        "alphabets": ["A", "C", "z"],
        "highest_lowercase_alphabet": ["z"]
      }
  • GET /bfhl:

    • Response:
      {
        "operation_code": 1
      }

About

Backend API for the Bajaj Finserv Health Challenge, built with Express to process and filter JSON data, and deployed on Render

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published