A Dockerized Angular Application for Displaying User Data from JSONPlaceholder API
202
Zhamri Che Ani
School of Computing, Universiti Utara Malaysia, Malaysia
Email: [email protected]
This module demonstrates how Angular, a popular frontend framework, can be seamlessly integrated with a REST API in a Dockerized environment. By leveraging the JSONPlaceholder API as a simulated backend, an Angular application is developed to retrieve and display user information in a structured interface. The Docker container encapsulates the entire application, ensuring consistency, portability, and ease of deployment across different platforms. This approach highlights the efficiency of containerization in modern web development workflows and showcases how developers can rapidly prototype, test, and deliver frontend applications without dependency conflicts. The example serves as a beginner-friendly yet technically relevant model for understanding API consumption, container-based development, and the value of microservice-inspired application packaging.
The actual data can be seen here: "https://jsonplaceholder.typicode.com/users".
docker run -d -p 3000:80 zhamri/angular-get-api
Example: Google Chrome, Safari, etc
http://localhost:3000
Content type
Image
Digest
sha256:bcf775f9b…
Size
21.6 MB
Last updated
11 months ago
docker pull zhamri/angular-get-api