This project is a Vue.js application containerized with Docker. The application includes a component which allows users to make HTTP requests with various methods (GET, POST, PUT, DELETE) and view the responses.
After submitting a request, the component displays the response time and the JSON response in a formatted manner. This tool is useful for testing and debugging APIs.
-
Clone the repository:
git clone https://github.com/proyectosuninorte/ApiTester.git cd ApiTester
-
Build the Docker image:
docker build -t vue-app .
-
Run the Docker container:
docker run -p 8080:8080 vue-app
-
Open your web browser and navigate to
http://localhost:8080
to access the application.
To start developing, follow these steps:
docker build -f Dockerfile.deployment -t apitester-image .
docker run -d -it -p 5001:80 --restart unless-stopped --name apitester apitester-image
Access the application in your web browser at http://localhost:5001
.