Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/tlcheah2/stoic-quote-lambda-public-api

Stoicism Quote Public API
https://github.com/tlcheah2/stoic-quote-lambda-public-api

aws-apigateway aws-lambda backend backend-api expressjs mongodb nodejs serverless-framework

Last synced: about 1 month ago
JSON representation

Stoicism Quote Public API

Lists

README

        

# Stoicism Quote API Documentation

## Introduction
This API generates stoicism quotes to help you live a better life using Stoicism wisdom.

## Overview
At this moment, this GET API returns data in the body as a JSON with the `author` and `quote`.

## Usage
GET https://stoic.tekloon.net/stoic-quote

The request takes no parameters, headers or query strings.

## Example
`curl -X GET https://stoic.tekloon.net/stoic-quote`

Generates:
```
{
"data": {
"author":"Ryan Holiday",
"quote":"True will is quiet humility, resilience, and flexibility; the other kind of will is weakness disguised by bluster and ambition."
}
}
```

## Tech Stack used for this project
- AWS API Gateway
- AWS Lambda
- ExpressJS
- MongoDB Atlas
- Serverless Framework