This project is an API Dashboard designed to track API hits and provide analytics through a web interface. It is built using React for the frontend and Flask for the backend.
- Features
- Screenshots
- Tech Stack
- Prerequisites
- Installation
- Running the Application
- Folder Structure
- APIs
- Contributing
- License
- Dashboard View: Overview of total requests, average response time, and failed requests.
- Request Type Chart: Bar chart displaying the number of requests by type (GET, POST, PUT, etc.).
- Browser Distribution: Pie chart showing the distribution of requests by browser.
- Detailed Request Table: Table listing all API requests with details such as request type, time, payload, content type, IP address, OS, and user agent.
- React
- Tailwind CSS
- Recharts
- Axios
- Flask
- PostgreSQL
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed
- Python and pip installed
- PostgreSQL installed and running
- npx create-react-app api-dashboard
- cd api-dashboard
- npm install axios recharts
- npm install tailwindcss
- npx tailwindcss init
- python -m venv venv
- source venv/bin/activate
- pip install Flask SQLAlchemy psycopg2