This is the frontend part of the project built with Angular, following a hexagonal architecture pattern. The application consumes WebSockets using the stompjs
library to communicate with the backend microservices.
- Hexagonal Architecture: The frontend follows the hexagonal architecture, ensuring separation of concerns and maintainability.
- WebSocket Integration: Real-time communication with the backend using the
stompjs
library over WebSockets. - Angular Framework: Built using Angular for efficient, scalable, and maintainable frontend development.
- Responsive Design: The project is designed to be responsive using PrimeNG for styling.
Before you begin, ensure you have the following installed:
- Node.js (version 14.x or higher)
- Angular CLI (latest version)
- [WebSocket server] (Backend microservices need to be running to provide the WebSocket connection)
-
Clone the repository to your local machine:
git clone https://github.com/MrCadavid/eventsApp cd your-angular-project
-
Install the necessary dependencies:
npm install
To run the application in development mode, follow these steps:
-
Make sure your backend microservices are running and accessible.
-
Start the Angular development server:
ng serve
-
Open your browser and navigate to
http://localhost:4200
to view the application.
This project uses STOMP over WebSockets for real-time communication with the backend.