tenderclass is an automated screening system for public procurement notices using state-of-the-art Machine Learning and Natural Language Processing (NLP) frameworks. This git repository holds the Angular/Bootstrap-based front end of tenderclass. It is responsible for displaying tender recommenations in a web-based graphical user interface (GUI).
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
-
Angular
$ npm install -g @angular/cli
-
Bootstrap for Angular
$ npm install -g bootstrap
-
OPTIONAL: If you want to deploy it as a Docker container: Docker runtime environment
-
Clone this repository into your directory of choice.
$ git clone https://github.com/ngriebenow/tuwien-inso-bachelorthesis-tenderclass-frontend
-
Navigate to the root directory
tenderclass-frontend
.
$ cd tenderclass-frontend
-
Start the development web server.
ng serve
-
Navigate to
http://localhost:4200/
. The app will automatically reload if you change any of the source files. -
Make sure that tenderclass-backend is running. Otherwise the front end will not display any tenders.
You can deploy the front end of tenderclass by using a Docker container.
-
Clone this repository into your directory of choice.
$ git clone https://github.com/ngriebenow/tuwien-inso-bachelorthesis-tenderclass-frontend
-
Navigate to the root directory
tenderclass-frontend
.
$ cd tenderclass-frontend
-
Build the Docker container.
docker build -t="tenderclass-frontend" .
-
Start the docker container.
docker run -p 4200:4200 tenderclass-frontend
-
OPTIONAL: Tag the docker container and push it to Dockerhub for using it on a Kubernetes cluster.
docker tag tenderclass-frontend <DOCKERHUB_USERNAME>/tcfe
docker push <DOCKERHUB_USERNAME>/tcfe
-
OPTIONAL: Build the app in production mode and deploy the docker as nginx web server
ng build --prod
Change the dockerfile
- src/app/components: This folder holds the UI pages. The
recommendation
component is repsonsible for fetching the recommendations from tenderlass back end and showing them as cards. - src/app/dtos: This folder holds the Data Transfer Objects (Entities), the Tender and LanguageEntity.
- src/app/service: This folder holds the services which handle the communication with tenderclass back end.