APIHUB is a full-stack API testing studio, similar to Postman, designed to help developers test and manage their API requests efficiently.
- Intuitive UI: A modern, responsive interface for configuring API requests.
- Method Support: Full support for GET, POST, PUT, PATCH, and DELETE methods.
- History Management: Automatically saves requests to a sidebar for easy access and re-use.
- Request Configuration: Easy editing of URLs, headers (key-value pairs), and request bodies.
- Persistence: All saved requests are stored in a MongoDB database.
- Framework: React 19 (Vite)
- Styling: Tailwind CSS 4
- State Management: React Hooks (useState, useEffect)
- Runtime: Node.js
- Framework: Express.js
- Database: MongoDB (via Mongoose)
- Communication: CORS enabled for frontend integration
- Node.js (v18 or higher)
- MongoDB account (Atlas or local instance)
git clone https://github.com/Dev1822/APIStudio
cd APIStudio- Navigate to the backend directory:
cd backend - Install dependencies:
npm install
- Create a
.envfile in thebackendfolder and add:PORT=3000 MONGO_URI=your_mongodb_connection_string FRONTEND_URL=http://localhost:5173
- Start the server:
npm start # or for development npm run dev
- Open a new terminal and navigate to the frontend directory:
cd frontend - Install dependencies:
npm install
- Create a
.envfile in thefrontendfolder and add:VITE_API_URL=http://localhost:3000
- Start the development server:
npm run dev
GET /- Retrieve all saved API requests.POST /- Save a new API request configuration.DELETE /:id- Remove a saved request by its ID.
https://api-studio.docs.buildwithfern.com
Made By : https://github.com/Dev1822