Welcome to Cat Data API
A lightweight, secure REST API built with Express.js and PostgreSQL for managing cat-related catalog data. Features Auth0 JWT authentication and image upload capabilities.Quickstart
Get up and running with the Cat Data API in minutes
Authentication
Learn how to authenticate with Auth0 JWT tokens
API Reference
Explore all available endpoints and parameters
Database Schema
Understand the PostgreSQL database structure
Key Features
Auth0 Authentication
Secure JWT-based authentication using Auth0 with JWKS validation
Image Uploads
Upload and manage JPEG/PNG images with multer file handling
PostgreSQL Database
Robust data storage with Knex.js query builder and migrations
CORS Enabled
Ready for frontend integration with configurable CORS support
API Endpoints
The Cat Data API provides RESTful endpoints for image management:- POST
/api/upload- Upload new images - GET
/api/images- List all images - GET
/api/image/:id- Retrieve a specific image - DELETE
/api/image/:id- Delete an image
Quick Example
Example Request
Example Response