Skip to content

odero-lavenda/hngx-stage1-Number-Classification-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

hngx-stage1-Number-Classification-API

Number Classification API

This is a Number Classification API that classifies numbers as even or odd, checks if they are prime, and fetches fun facts about them using an external API.

Setup Instructions

Prerequisites:

  • Java 11+
  • Maven

Installation:

  1. Clone the repository:
    git clone https://github.com/username/repository.git
  2. Navigate to the project directory:
    cd repository
  3. Run the project:
    mvn spring-boot:run

Usage:

  • Send a GET request to /api/classify-number?number=<number>.

Example:

GET http://localhost:8080/api/classify-number?number=371

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages