Skip to content

AyushPradhan9/E-Stock-Market

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-Stock-Market-Application

A Stock Market Full Stack Application to register and check all the company details and its related stocks.

This repository contains 3 different folders mentioned below:

  1. Screenshot of working application
  2. Frontend - Angular
  3. Backend - Spring Boot Microservices

Frontend :

Frontend contains the Angular developed part which performs all the basic functions as asked in the problem.

Backend :

Backend contains 2 spring microservices which are deployed in AWS EC2 and there respective files have been uploaded to AWS S3. These backend applications are deployed as background services using docker on the AWS Cloud Platform. Above that, Swagger UI latest version is used in order to interact with API without trobuling User to understand the functionalities by going through the code. Company Service Link - http://ec2-34-228-73-192.compute-1.amazonaws.com:8080/swagger-ui/
Stock Service Link - http://ec2-107-20-30-210.compute-1.amazonaws.com:8080/swagger-ui/

For management and storing the data, MongoDB is used on AWS server to provide its features & services 24x7.
MongoDB URL - mongodb://ec2-34-228-73-192.compute-1.amazonaws.com:27017/
It contains database service which eventually contains 2 tables, i.e., company and stock for their respective purposes.

To run the application, run both the company-service and stock-service in the backend. To do that,either open the links provided above or follow the given steps:

  1. Open cmd in respective service folder.
  2. Type mvn clean package to create a jar file in target class
  3. Type cd target in cmd to move to target folder
  4. Type java -jar <filename>.jar where is the name of the .jar file [NOTE: There will be only one .jar file in target folder]

These steps will run the microservices in your localhost through which you can check the Springboot project functionalities.

To run the angular project in your respective machine, follow the steps :

  1. Go to e-stock-market folder present in Frontend.
  2. Open cmd in the same folder.
  3. Type npm install to install the dependencies for the project
  4. After completing installation, type ng serve --open to run the Angular project.

NOTE :

If you will receive CORS error while using Angular on localhost, you can disable chrome security by using the following steps:

  1. Go to chrome folder in Program Files.
  2. Open cmd in that folder.
  3. Type chrome.exe --disable-web-security --disable-gpu --user-data-dir="C:/ChromeDevSession" to start chrome in Disabled security mode.

Thank you so much

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published