This repository contains the code for the ping server application.
Before getting started, make sure you have the following tools installed:
- nvm (Node Version Manager): To manage Node.js versions.
- Node.js: Javascript runtime environment.
-
- npm: Package manager for Node.js.
-
- sdkman: Software Development Kit Manager.
- Java: Programming Language and runtime environment.
- Maven: Build automation and dependency management tool.
- Angular: Install Angular cli.
- Traefik
Follow the steps below to set up the local environment:
-
Install nvm:
- Visit the nvm Github repository: (https://github.com/nvm-sh/nvm)
- Follow the installation instructions for your operating system.
-
Install Node.js and npm using nvm:
nvm install node
-
Install sdkman:
- Visit the sdkman website: https://sdkman.io/
- Follow the installation instructions for your operating system.
-
Install Java and Maven using sdkman:
sdk install java sdk install maven
To run the e2e-banking-app project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Bansikah/pingserverapp.git
-
Change to the project directory:
cd pingserverapp
-
Install project dependencies and Start application:
a. For : serverappfrontend
- Change to the project directory:
cd serverappfrontend
- Install the Angular CLI globally:
npm install -g @angular/cli
- Install dependencies:
npm install
- Build the project:
npm run build or ng build
- Start application:
npm start or ng serve
- Acess application on:
http://localhost:4200/
b. For serverappbackend:
- Change to the project directory:
cd serverappbackend
- Install dependencies:
mvn install
- Build the project:
mvn clean package
- Start application:
java -jar target/serverappbackend-0.0.1-SNAPSHOT.jar
- Acess application on:
http://localhost:8081/
- Change to the project directory:
Feel free to contribute to this project. Your contributions are welcome and appreciated!
This project is licensed under the Apache License 2.0. See the LICENSE file for details.