Skip to content

Application setup

achetrean edited this page Dec 1, 2021 · 2 revisions

Application setup

First of all, to run the application you will have to.

  1. Download and install PostgreSQL
  2. Create a database with the pgAdmin tool provided by PostgreSQL.
  3. Download and install Intellij Idea.
  4. Download the project as an .zip archived folder.
  5. Open the whole project with the Intellij Idea.
  6. Connect created database with Intellij Idea.
  7. Set the username and password in applicationProperties file in resources folder from epe-backend folder.
  8. Run the BasicData.sql file for the connected database.
  9. Open the terminal until you go inside of the epe-frontend folder
  10. Run npm -i command in the terminal.

Now you can run the application. For that you can run the server from the configuration area by running EpeApplication component. Now you can access the end points of application mentioned in REST API Documentation by the following hyperlink http://localhost:8075/. To improve your interaction with the application you can choose Angular CLI Server component in Intellij Idea in the configuration area an run in, too. Now you can access the cliend part of the application by the following hyperlink http://localhost:4200/. After accessing in you will be redirected to the Login page where you will have the possibility to create a new account and use it, too.

Clone this wiki locally