zhi-k / naluri_space

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Naluri Space

Unit Tests & Migrations

Production Url

https://naluri-space-server.herokuapp.com/

To start the project, run

pnpm install
pnpm run

To run tests

pnpm t

API Endpoints

  • Endpoints are versioned (Current: v1)

Sun Circumference

Request

GET /api/v1/sun

Response

{
  "success": boolean,
  "message": string,
  "data": {
    "pi": string,
    "decimal_points": number,
    "circumference": string,
    "elapsed_time": string
  }
}

The success attribute describes whether the request was successful.

The message attribute usually contains message to indicate why the request fails on error.

The data attribute contains the sun circumference data that was requested.

About


Languages

Language:TypeScript 99.4%Language:Shell 0.5%Language:Procfile 0.1%