catAPI icon indicating copy to clipboard operation
catAPI copied to clipboard

RESTful API that will deliver photos with cats on demand

catAPI

catAPI is a RESTful and GraphQL API that will deliver photos with cats on demand.

https://thatcopy.pw/catapi/

Docs

Node wrapper : https://www.npmjs.com/package/@thatcopy/catapi

To run catAPI:

  • Convert all your photos with img-adder
  • Cd into gql or rest
  • Create .env and enter your Postgres URI DATABASE_URL=your postgres uri
  • Run npm i, npx prisma db pull, npx prisma generate
  • Run npm run comp and npm start