The Competence4Energy Web application serves as the frontend for the Competence4Energy platform. It provides an intuitive frontend that helps researchers and professionals build profiles, connect with others, form research clusters, and explore competence fields to foster collaboration and knowledge exchange.
This repository is based on the original ZLE Web application and integrates closely with the backend API, delivering a comprehensive competence management and discovery solution.
This frontend application is built with:
- Angular version 18.2.10
- Angular Material Design Framework for UI components
- TypeScript for type-safe development
- Additional libraries: Bootstrap, Leaflet, Axios, and more (see
package.jsonfor complete list)
Important: This frontend application requires the backend API to be running. The backend repository can be found at:
Make sure the backend is properly configured and running before starting the frontend development server.
Before installing and running the application, ensure you have the following installed:
- Node.js (version 14.x or higher recommended) bundled with npm
- Download from: https://nodejs.org/en/download/package-manager
- Angular CLI (optional, but recommended for global access)
- Install globally:
npm install -g @angular/cli - Note: Angular CLI is also included in the project's devDependencies, so
npm installwill install it locally
- Install globally:
- Clone the repository:
git clone <repository-url>
cd zle-web-
Install Node.js and npm (if not already installed)
- Download from: https://nodejs.org/en/download/package-manager
-
Install Angular CLI globally (optional, for direct
ngcommand access):
npm install -g @angular/cli- Import/Install project dependencies:
npm installThis command will:
- Import and install all project dependencies listed in
package.json - Install Angular core modules (Angular 18.2.10)
- Install Angular Material and related UI components
- Install other required packages (Bootstrap, Leaflet, Axios, etc.)
- Create a
node_modulesdirectory with all dependencies
Note: This step is essential before running the application. All required modules and their versions are defined in package.json.
- Start the development server:
ng serve
# or if Angular CLI is not installed globally, use:
npm run startor for publishing it in local network to test with other devices like mobile phones
ng serve --host 0.0.0.0docker build -t competence_web_image .
docker compose up -dyou should be able to acces frontend under http://localhost:8080/competence/