JianLoong / aita-api

This repository serves as the source codes of a data crawler and RESTful API for Reddit AITA

Home Page:http://api.jian.sh/aita/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AITA API

This repository is a complete rewrite of reddit-store using FastAPI

Swagger Documentation

Swagger documentation can be found at https://vmi1592589.contaboserver.net/docs

Run instructions

Create a .env file and provide the following API keys.

REDDIT_CLIENT_ID=example
REDDIT_CLIENT_SECRET=example
SUBREDDIT_NAME=AmItheAsshole
POST_LIMIT=5
DATABASE_NAME=AmItheAsshole.db
OPENAI_API_KEY=example

Then run it via docker compose with

docker compose up --build

About

This repository serves as the source codes of a data crawler and RESTful API for Reddit AITA

http://api.jian.sh/aita/docs


Languages

Language:Python 96.4%Language:Dockerfile 3.6%