catAPI
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
.envand enter your Postgres URIDATABASE_URL=your postgres uri - Run
npm i,npx prisma db pull,npx prisma generate - Run
npm run compandnpm start