Skip to content

GeethikaMaddi/Bajaj_Rest-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BFHL API

A simple Node.js REST API that processes an array and returns user info, numbers, alphabets, special characters, sum, and concatenated string in alternating caps.

This API is built with Express.js, CORS, and Morgan for logging.


Features

  • POST /bfhl

    • Accepts an array of values in JSON.
    • Returns:
      • is_success – indicates if the operation was successful.
      • user_id – formatted as full_name_ddmmyyyy.
      • email – user email.
      • roll_number – user college roll number.
      • odd_numbers – array of odd numbers (strings).
      • even_numbers – array of even numbers (strings).
      • alphabets – array of alphabetical characters (uppercase).
      • special_characters – array of special characters.
      • sum – sum of all numbers (as string).
      • concat_string – concatenation of all alphabetical characters reversed with alternating caps.
  • GET /

    • Health check endpoint.

Tech Stack

  • Node.js
  • Express.js
  • CORS
  • Morgan

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors