This repository contains the frontend for the Trading application developed using Angular. This was a group project for university. The repository includes a simple mock server to replace the backend (it does not save any data or allow registration, but you can click through the app). Use the test user with email test@test.de
and password test123
to test the app.
Prerequisites: Node.js and Angular must be installed.
- Open the terminal and navigate to the project root.
- Run
cd wertpapieranlagen
. - Run
npm i
(npm install) to install the necessary node_modules. - Run
ng s
(ng serve) to start the application. - Open http://localhost:4200/ in your browser, and use the test user with email test@test.de and password test123 to explore the app.
To integrate the frontend with the backend, follow these steps:
- Develop the required API endpoints (they are listed in the mock-server services, and examples of their usage can be found in the services folder).
- Open `app.config.ts` and set the "USE_MOCK" variable to `false`.
- Update the "ROOT_URL" variable in `app.config.ts` to the root URL of your server.
- Run your server and test the application to ensure it connects properly.
In this project, there are some components used that are ready-to-use in different projects. This repository features the table with filters and sorting that was also used in this project. The table is widely configurable and contains customizable themes. The same repository also contains the custom dropdown and the range slider.