A simple web application built with Fastify to demonstrate interactions with an Order API.
-
Navigate to the
Orderdirectory:cd Order -
Install the dependencies:
yarn install
-
Start the application:
node index.js
-
Open your web browser and go to
http://localhost:3000.
-
Navigate to the
Orderdirectory. -
Build the Docker image:
docker build -t order-app . -
Run the container:
docker run -p 3000:3000 order-app
-
Open your web browser and go to
http://localhost:3000.
- Enter the API Base URL for the service you want to test.
- Provide your Authorization Token
- Use the buttons to fetch all orders, search for specific orders, or retrieve an order by its ID.
- The API response will be displayed on the right-hand side, where you can view it in raw JSON, pretty-printed format, or convert it to XML.