06 StockMarketCharting Case Study v4 0 Deployment Phase6
06 StockMarketCharting Case Study v4 0 Deployment Phase6
06 StockMarketCharting Case Study v4 0 Deployment Phase6
IIHT
Table of Contents
1. Business Requirement(Stock Market Charting).............................................................................2
1.1. Admin Use Cases:...................................................................................................................2
1.2. User Use Cases:......................................................................................................................3
1.3. Company related Data Fields:................................................................................................4
1.4. Stock Price details Excel:........................................................................................................4
1.5. IPOs planned:.........................................................................................................................4
1.6. Sectors data Fields:................................................................................................................4
1.7. User DB Table:.......................................................................................................................4
1.8. Stock Exchange Data Fields:...................................................................................................5
2. Design Inputs.................................................................................................................................5
3. Jenkins CI/CD.................................................................................................................................5
4. Configure Jenkins and Docker for the Project................................................................................5
5. Dockerization.................................................................................................................................6
6. Perform CI/CD................................................................................................................................7
7. Diagram.........................................................................................................................................7
8. Deliverables of this Phase..............................................................................................................7
9. Deliverables from all Phases..........................................................................................................7
10. Final Deliverables Folder Structure............................................................................................8
11. Full Stack Technologies..............................................................................................................9
12. Technical Spec – Solution Development Environment..............................................................9
Front End Layer.................................................................................................................................9
Middle Tier Layer...............................................................................................................................9
Database & Integration Layer............................................................................................................9
Ancillary Layer.................................................................................................................................10
Security............................................................................................................................................10
Deployment & Infrastructure..........................................................................................................10
Editors.............................................................................................................................................10
13. Important Instructions.............................................................................................................10
1. Admin
2. User
You may consider 3 or 4 sample sectors, as a sample data. For example Finance,
Healthcare Services, Pharmaceuticals, Hotels, Internet Software & Services
2. Design Inputs
Next sections in this document provides inputs on designing the solution for above
requirements.
Design inputs provided in this document are just for your reference purpose, Associates can
make changes or additions to the Design, based on their analysis.
3. Jenkins CI/CD
Jenkins CI/CD: As already known Jenkins is popular tool to perform CI/CD. When the code
is pushed to GIT, build need to be automatically fired and deployed. If possible create a
Docker image and run the Container on Docker Host
Jenkinsfile with pipeline, having below steps to build, test and deploy
5. Dockerization
It is mandatory that all standalone applications of the Project such as below need to be
Dockerized and deployed on Docker Host.
All Microservices
Database Server
Angular Front End
Each need to have a corresponding Dockerfile, and a Docker container. MySQL DB Image is
prepcreated and need to be pulled from hub.docker.com
To create and deploy all containers with ease, either docker-compose or docker commands
can be used.
Deployment of Microservices, Database Servers and Front End on Docker Host can be
visually represented as below.
6. Perform CI/CD
2. Make it sure that project is running locally in development environment without errors.
3. If it running locally without errors, push the changes to the internal GIT repository which
was connected
4. If Project was Setup properly, Jenkins will automatically pull the code updates from
internal GIT repo and build and deploy the project with updated code.
5. Now, when you visit http://localhost; you should see the changes in the browser window
7. Diagram
It is mandatory to follow below folder structure for the Project delivered by Associates.
(If any specific Items not specified in the below sample folder structure, the same can be
included in the appropriate related folders)
To complete this case study, you should be comfortable with basic single page web
application concepts including REST and CRUD. You may use angular-cli to create your
template project. All web pages need to be responsive.
Ref1: https://cli.angular.io/
Ref2: https://github.com/angular/angular-cli
•
Ancillary Layer
Technology Framework(s)/SDK/Librarie
s Version
Source Code Management Tool GIT 2.14.2
Build Tool/JAVA Stack Maven 3.x
Security
Name Version
Spring Boot Security
JWT
Editors
Name Version
STS(Spring Tool Suite)
Visual Studio Code
7. Use Internationalization for all the labels and messages in Rest API Development.