- Table of Contents
- Introduction
- Navigation
- Screenshots
- Quick Start
- System Requirements
- Technologies
- Contributors
The Virtual Investment Platform is an easy-to-use and straightforward investment experience platform where individuals with no investment experience can gain experience with a virtual starting balance which allowing them to invest stocks , currencies and commodities.
Backend : this
Frontend : https://github.com/virtualInvestmentPlatform/frontend
For Backend :
-
Install Java 18
- Make sure Java 18 is installed on your system.
-
Install PostgreSQL
- Install PostgreSQL and ensure it's running on your system.
-
Database Configuration
- Configure your database settings in
resources/application.properties
. Replace the placeholders with your actual database details. For example:spring.datasource.url=jdbc:postgresql://YOUR_DATABASE_URL spring.datasource.username=YOUR_DATABASE_USERNAME spring.datasource.password=YOUR_DATABASE_PASSWORD
- Configure your database settings in
-
API Key Configuration
- Create a file named
resources/keys.properties
. - Obtain an API key from Collect API and add it to the file:
collectapi.apikey=YOUR_API_KEY
- Create a file named
-
Compile and Run the Application
- Depending on whether Maven is installed globally on your system, follow one of the two methods below:
- With Global Maven Installation:
In the directory of
pom.xml
, execute:mvn compile mvn exec:java -Dexec.mainClass="com.harun.virtualInvestmentPlatform.VirtualInvestmentPlatformApplication"
- Without Global Maven Installation:
In the directory of
pom.xml
, execute:./mvnw compile ./mvnw exec:java -Dexec.mainClass="com.harun.virtualInvestmentPlatform.VirtualInvestmentPlatformApplication"
- With Global Maven Installation:
In the directory of
- Depending on whether Maven is installed globally on your system, follow one of the two methods below:
-
Server Status
- After completing the above steps, the server should be running on
localhost:8080
.
- After completing the above steps, the server should be running on
For Frontend :
-
Install Node.js and npm
- Make sure Node.js and npm are installed on your system.
-
Install Dependencies
npm install
-
Run Project
npm start
-
Client Status
- After completing the above steps, the client should be running on
localhost:3000
.
- After completing the above steps, the client should be running on
- Ensure that your PostgreSQL server is running and accessible before starting the application.
- Check the Java version with
java -version
to confirm you're using Java 18.
- npm 9.8.1
- axios
- Spring Boot 3.2.1
- PostgreSQL 16
- Java 17
- Java
- Spring Boot
- Spring Security
- PostgreSQL
- Hibernate
- Javascript
- React.js
- Axios