Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
2b4282b
Add files via upload
dwigington Nov 11, 2023
be5aeb7
Add files via upload
dwigington Nov 11, 2023
8d7892e
Add files via upload
dwigington Nov 11, 2023
ea7f6df
uploading .gif files to add to web pages to demonstrate future look a…
dwigington Nov 11, 2023
b3d7dea
Created html folder and consolidated html files. Added two .gif images
dwigington Nov 11, 2023
dff4fc6
renamed the filenames to match the weblinks
pawanjethwani Nov 13, 2023
e6569ef
another slight change in Home html page
pawanjethwani Nov 13, 2023
027d3e8
made changes to images and updated linkedIn and Info details.
pawanjethwani Nov 13, 2023
a7ee516
made changes in html
pawanjethwani Nov 13, 2023
6b579cb
updated images for food and exercise pages.
pawanjethwani Nov 14, 2023
3ace57a
establishing the connection
joystevenson Nov 15, 2023
eaf9dcf
replaced a photo
joystevenson Nov 15, 2023
02c6045
state file
yashusf Nov 19, 2023
09483b0
state.js file
yashusf Nov 19, 2023
26dd076
state chart.js file
yashusf Nov 19, 2023
fd0f033
css file for the state component
yashusf Nov 19, 2023
6b40474
model code
yashusf Nov 19, 2023
91ee66d
create modal
yashusf Nov 19, 2023
473fb8b
upload modal
yashusf Nov 19, 2023
efa5a84
Merge pull request #1 from yashusf/States-component
yashusf Nov 19, 2023
a836568
app.js
pawanjethwani Nov 19, 2023
dc42874
app.css
pawanjethwani Nov 19, 2023
8c9391a
test file
pawanjethwani Nov 19, 2023
1f3e857
about.js file
pawanjethwani Nov 19, 2023
4700acd
AboutUs.css
pawanjethwani Nov 19, 2023
0a3a1ac
States page
joystevenson Nov 20, 2023
441e5da
Styling for States page
joystevenson Nov 20, 2023
c3099ed
index file
joystevenson Nov 20, 2023
8eeb706
styling for index
joystevenson Nov 20, 2023
7727a58
Add files via upload
joystevenson Nov 20, 2023
0d3d50c
Add files via upload
dwigington Nov 20, 2023
644bdb2
Add files via upload
dwigington Nov 20, 2023
1fd06d4
Update Home.js
yashusf Nov 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,026 changes: 1,026 additions & 0 deletions .vs/Assignment_LookAndFeel/config/applicationhost.config

Large diffs are not rendered by default.

Binary file added .vs/Assignment_LookAndFeel/v17/.wsuo
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,026 changes: 1,026 additions & 0 deletions .vs/Assignment_LookAndFeel3/config/applicationhost.config

Large diffs are not rendered by default.

Binary file added .vs/Assignment_LookAndFeel3/v17/.wsuo
Binary file not shown.
7 changes: 7 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\C:\\Users\\DCW\\Source\\Repos\\Assignment_LookAndFeel3",
"PreviewInSolutionExplorer": false
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
4 changes: 4 additions & 0 deletions AboutUs.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.about-us{
min-height: 90vh;
padding-top: 30px;
}
156 changes: 156 additions & 0 deletions AboutUs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
import React from "react";
import { Card, Col, Container, Row } from "react-bootstrap";
import './AboutUs.css'
import yaswanth from "../../assets/yaswanth.jpeg";
import pawan from "../../assets/pawan.jpeg";
import don from "../../assets/Don.jpg";
import joy from "../../assets/Joy.jpg";
import { baseUrl } from "../../services/api";
import diagram from "../../assets/datamodel.png";
const AboutUs = () => {
return (
<div className="about-us py-4">
<Container>
<Row xs={1} md={4} className="g-4">
<Col>
<Card>
<Card.Img variant="top" src={don} />
<Card.Body>
<Card.Title>Donald Wigington</Card.Title>
<Card.Text>
Hi, I'm Donald. I've crafted both the Home Page component along with its corresponding model and controllers.Used the react dom and implemented the navigation bar. To make the
the page more interactive and attractive used to caurosal from the bootstrap library.
</Card.Text>
</Card.Body>
</Card>
</Col>

<Col>
<Card>
<Card.Img variant="top" src={pawan} />
<Card.Body>
<Card.Title>Pawan Jethwani</Card.Title>
<Card.Text>
Hi, I'm a Graduate student in Business Analytics and information systems at the USF, I have over 11 years of experience as a QA Consultant. I contributed in designing
About Us component, including its associated model and controllers. The code is designed to be reusable and easily comprehensible. I have included the api end points that we
have used in the applications and also the git pushes associated with each of us individual.
</Card.Text>
</Card.Body>
</Card>
</Col>

<Col>
<Card>
<Card.Img variant="top" src={joy} />
<Card.Body>
<Card.Title>Joy B</Card.Title>
<Card.Text>
Hi, I am a Data Solutions specialist with a Master's degree in Management Information Systems from the University of South Florida Muma College of Business. I have over three years of experience as a Mulesoft developer at Accenture, where I constructed and managed Application Programming Interfaces.
I have designed the component AllStates, which has the informations about states and their respective details in a tabular format.
Users also have an option to navigate to the respective states page in which they get to see the analysis in a chart format.
</Card.Text>
</Card.Body>
</Card>
</Col>

<Col>
<Card>
<Card.Img variant="top" src={yaswanth} />
<Card.Body>
<Card.Title>Yaswanth Chandolu</Card.Title>
<Card.Text>
Hi, I'm a graduate student with major in Business Analytics and Information systems with 4 years of experience as a business Analyst. I worked on various domains in Information systems. I worked on frontend technologies ,
Database Management and project management. I implemented the States component which can be accessed by cliking the view details of any of the respective state.
In this component I have implemented the analysis using the Linechart component from the reactcharts library.
</Card.Text>
</Card.Body>
</Card>
</Col>

</Row>

<div className="text-start my-5">
<h3>API Endpoints</h3>
<ul>
<li>Get All states info</li>
<p>
GET: <a href={`${baseUrl}/state`}>{`${baseUrl}/state`}</a>
</p>
<li>Particular State info Based on State Code</li>
<p>
GET:{" "}
<a
href={`${baseUrl}/state-data/getStateData/:stateCode`}
>{`${baseUrl}/state-data/getStateData/:stateCode`}</a>
</p>
<li>Create a state data</li>
<p>
POST:{" "}
<a href={`${baseUrl}/state-data`}>{`${baseUrl}/state-data`}</a>
</p>
<li>Update a state Data</li>
<p>
PATCH:{" "}
<a
href={`${baseUrl}/state-data/:id`}
>{`${baseUrl}/state-data/:id`}</a>
</p>
<li>Delete a state Data</li>
<p>
DELETE:{" "}
<a
href={`${baseUrl}/state-data/:id`}
>{`${baseUrl}/state-data/:id`}</a>
</p>
</ul>
</div>

<div className="text-start my-5">
<h3>Technical Overview</h3>
<p>
The application follows the Model-View-Controller(MVC) architectural pattern to ensure a well-organized structure. Each component within the application possesses both controllers and models, enhancing the separation of concerns and promoting modularity.

In terms of navigation, React DOM is employed to facilitate seamless movement between different sections of the application. This choice enhances the overall user experience by providing a smooth and intuitive navigation system.

To enhance the website's visual appeal and adaptability across various devices, the flex property is utilized. This ensures a responsive design, allowing the content to dynamically adjust and maintain an aesthetically pleasing layout on different screen sizes.

For the crucial aspect of data analysis, the application leverages the Reactcharts dependency. This library provides a robust set of tools for visualizing data. Specifically, static results are presented using the Line Charts component, offering a clear and graphical representation of the analyzed data. This not only contributes to a more engaging user interface but also
facilitates a better understanding of the presented information through visual representation.
</p>
</div>
<div className="text-start my-5">
<h3>Data Model</h3>
<img
src={diagram}
width={"100%"}
height={"400px"}
alt="diagram"
style={{ border: "1px solid black" }}
/>
</div>

{/* GIT */}
<div className="text-start my-5">
<h3>Git Log Output</h3>
<p>
This is technical overview. This is technical overview. This is
technical overview. This is technical overview. This is technical
overview. This is technical overview. This is technical overview.
This is technical overview.
</p>
{/* replace git image */}
<img
src={diagram}
width={"100%"}
height={"400px"}
alt="diagram"
style={{ border: "1px solid black" }}
/>
</div>

</Container>
</div>
);
};

export default AboutUs;
25 changes: 25 additions & 0 deletions AllStates.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.view-details-btn {
background-color: #0776ad;
color: white;
border: 1px solid #0776ad;
padding: 5px 15px;
border-radius: 5px;
font-weight: 500;
}
.view-details-btn:hover {
background-color: white;
color: #0776ad;
}

.delete-btn {
background-color: red;
color: white;
border: 1px solid red;
padding: 5px 15px;
border-radius: 5px;
font-weight: 500;
}
.delete-btn:hover {
background-color: white;
color: red;
}
134 changes: 134 additions & 0 deletions AllStates.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
import React from "react";
import { Container, Table } from "react-bootstrap";
import "./AllStates.css";
import { useNavigate } from "react-router-dom";
const AllStates = () => {
const navigate = useNavigate();
return (
<div>
<Container>
<div>
<div>
<h3 className="text-start mt-5 mb-4">All The States</h3>
</div>
</div>
<Table className="mb-5" responsive striped bordered hover>
<thead>
<tr>
<th>#</th>
<th>Country</th>
<th>State Name</th>
<th>State Code</th>
<th>View Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>USA</td>
<td>Alaska</td>
<td>AK</td>
<td>
<button
onClick={() => navigate(`/state/AK`)}
className="view-details-btn"
>
View Covid-19 Details
</button>
</td>
</tr>
<tr>
<td>2</td>
<td>USA</td>
<td>Alabama</td>
<td>AL</td>
<td>
<button
onClick={() => navigate(`/state/AL`)}
className="view-details-btn"
>
View Covid-19 Details
</button>
</td>
</tr>
<tr>
<td>3</td>
<td>USA</td>
<td>Arkansas</td>
<td>AR</td>
<td>
<button
onClick={() => navigate(`/state/AR`)}
className="view-details-btn"
>
View Covid-19 Details
</button>
</td>
</tr>
<tr>
<td>4</td>
<td>USA</td>
<td>Arizona</td>
<td>AZ</td>
<td>
<button
onClick={() => navigate(`/state/AZ`)}
className="view-details-btn"
>
View Covid-19 Details
</button>
</td>
</tr>
<tr>
<td>5</td>
<td>USA</td>
<td>California</td>
<td>CA</td>
<td>
<button
onClick={() => navigate(`/state/CA`)}
className="view-details-btn"
>
View Covid-19 Details
</button>
</td>
</tr>
<tr>
<td>6</td>
<td>USA</td>
<td>Colorado</td>
<td>CO</td>
<td>
<button
onClick={() => navigate(`/state/CO`)}
className="view-details-btn"
>
View Covid-19 Details
</button>
</td>
</tr>
<tr>
<td>7</td>
<td>USA</td>
<td>Connecticut</td>
<td>CT</td>
<td>
<button
onClick={() => navigate(`/state/CT`)}
className="view-details-btn"
>
View Covid-19 Details
</button>
</td>
</tr>



</tbody>
</Table>
</Container>
</div>
);
};

export default AllStates;
34 changes: 34 additions & 0 deletions App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
.App {
text-align: center;
}

.App-logo {
height: 40vmin;
pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}

.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}

.App-link {
color: #61dafb;
}
@media (max-width: 576px) {
h1 {
font-size: 16px;
}
}
28 changes: 28 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import React from "react";
import "./App.css";
import "bootstrap/dist/css/bootstrap.min.css";
import Header from "./components/Shared/Header/Header";
import { Route, Routes } from "react-router-dom";
import Home from "./components/Home/Home";
import AllStates from "./components/AllStates/AllStates";
import State from "./components/State/State";
import Footer from "./components/Shared/Footer/Footer";
import AboutUs from "./components/AboutUs/AboutUs";

function App() {
return (
<div className="App">
<Header></Header>
<Routes>
<Route path="/" element={<Home />}></Route>
<Route path="/states" element={<AllStates />}></Route>
<Route path="/state/:code" element={<State />}></Route>
<Route path="/about-us" element={<AboutUs />}></Route>

</Routes>
<Footer></Footer>
</div>
);
}

export default App;
Loading