This is the Angular frontend for the Event Recommendation Chatbot application.
This frontend provides a user-friendly interface for interacting with the event recommendation chatbot. It allows users to:
- Chat with an AI assistant to find events
- View event recommendations based on city
- View city information
- Angular 17 (Standalone Components)
- TypeScript
- SCSS for styling
- Node.js 20.x or higher
- npm 10.x or higher
- Install dependencies:
npm install- Development server:
npm startNavigate to http://localhost:4200/ to see the application. The application will automatically reload if you change any of the source files.
npm run buildThe build artifacts will be stored in the dist/frontend/browser directory.
The frontend communicates with the Spring Boot backend API through HTTP. The API URL is configured in the environment files:
environment.ts- Development configurationenvironment.production.ts- Production configuration
- Real-time chat interface
- Event card display
- City information display
- Responsive design
When building through Maven:
- The frontend Maven plugin installs Node.js and npm
- It runs
npm installto install dependencies - It runs
npm run buildto create a production build - The Maven resources plugin copies the built files to the Spring Boot static resources directory
This allows the frontend to be served directly from the Spring Boot application when deployed.