Skip to content

turingschool-examples/math4you-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

math4you-be

Set Up

  1. Clone down this repo and cd into the directory
  2. Run npm i
  3. Run node server.js

Usage

  • Endpoint: http://localhost:3001/:operation
    • Possible values for operation in endpoint: "add", "subtract", "multiply", "divide"
  • Method: POST
  • Headers: { Content-Type: "application/json" }
  • Body: { numbers: <array of numbers, any length> }
  • Example response: { equation: "3 / 1", id: 1639434472416, solution: 4 }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published