Skip to content

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.

Notifications You must be signed in to change notification settings

virtualInvestmentPlatform/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Investment Platform


 

Table of Contents


Introduction

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.


Navigation

Backend : this
Frontend : https://github.com/virtualInvestmentPlatform/frontend

Screenshots

  • Login Page and Register Pages

     

  • Home Page

     

  • All Stocks - Currencies - Commodities Page

  • A Stock - Currency - Commodity Page

  • My Investment Page

     

Quick Start

For Backend :

  1. Install Java 18

    • Make sure Java 18 is installed on your system.
  2. Install PostgreSQL

    • Install PostgreSQL and ensure it's running on your system.
  3. 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
      
  4. 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
      
  5. 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"
        
  6. Server Status

    • After completing the above steps, the server should be running on localhost:8080.

For Frontend :

  1. Install Node.js and npm

    • Make sure Node.js and npm are installed on your system.
  2. Install Dependencies

       npm install
    
  3. Run Project

    npm start
    
  4. Client Status

    • After completing the above steps, the client should be running on localhost:3000.

Additional Notes

  • 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.

System Requirements

  • npm 9.8.1
  • axios
  • Spring Boot 3.2.1
  • PostgreSQL 16
  • Java 17

Technologies

  • Java
  • Spring Boot
  • Spring Security
  • PostgreSQL
  • Hibernate
  • Javascript
  • React.js
  • Axios

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages