https://github.com/tlcheah2/stoic-quote-express-public-api
Stoicism Quote Public API
https://github.com/tlcheah2/stoic-quote-express-public-api
aws aws-ecr aws-ecs buddy docker expressjs nodejs stoicism
Last synced: 6 months ago
JSON representation
Stoicism Quote Public API
- Host: GitHub
- URL: https://github.com/tlcheah2/stoic-quote-express-public-api
- Owner: tlcheah2
- Created: 2021-09-12T05:23:55.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-08T09:21:29.000Z (over 1 year ago)
- Last Synced: 2025-04-13T22:17:45.770Z (6 months ago)
- Topics: aws, aws-ecr, aws-ecs, buddy, docker, expressjs, nodejs, stoicism
- Language: JavaScript
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stoicism Quote API Documentation
This repository is rebuilt using different tech-stack for learning and experimental purposes. The [original repo](https://github.com/tlcheah2/stoic-quote-lambda-public-api) was mainly built with AWS Serverless Framework.
However, I intend to explore the ECR, ECS and other DevOps practice with this simple Express App.
## 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://api.themotivate365.com/stoic-quoteThe 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
- ExpressJS
- MongoDB Atlas
- Docker
- ECR - Where we build docker images & save in AWS
- ECS - Where we run docker containerized app
- CI/CD using [Buddy](buddy.works)