Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sum Calculator API

A secure RESTful API built with Python and Flask that calculates the sequential sum of a list of numbers.


Objective

This project fulfills the API Development & Deployment Challenge requirements:

  • Secure POST /sum endpoint
  • API Key Authentication (X-API-KEY)
  • Sequential sum calculation
  • Local testing with pytest
  • Public GitHub repository ready
  • README with setup + request examples

Features

  • POST /sum endpoint
  • API Key authentication
  • JSON request validation
  • Standardized success/error responses
  • Root endpoint (/)
  • Health check endpoint (/health)
  • Local test suite
  • Demo script for validation

Project Structure

protocol_round2/
│── venv/
│── .env
│── .gitignore
│── README.md
│── app.py
│── requirements.txt
│── test_api_demo.py
│── test_app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages