- {/**
+ {
+
+ /**
* TODO
* Render the StockTicker and Date components. You can use the date component twice
* for both the start and end dates.
@@ -52,9 +54,11 @@ class App extends React.Component{
* highchart should be displayed by changing the state of that boolean.
* Don't forget to bind these methods!
*/}
-
-
+
+
Start Date
+
+
End Date
@@ -72,5 +76,3 @@ class App extends React.Component{
);
}
}
-
-export default App;
diff --git a/caseStudy/ui/src/components/Charts.js b/caseStudy/ui/src/components/Charts.js
index b062c24..e7352da 100644
--- a/caseStudy/ui/src/components/Charts.js
+++ b/caseStudy/ui/src/components/Charts.js
@@ -17,7 +17,7 @@
import React from 'react';
import LineChart from './charts/LineChart';
-class Charts extends React.Component {
+export default class Charts extends React.Component {
constructor(props) {
super(props);
this.state = {
@@ -74,14 +74,15 @@ class Charts extends React.Component {
*
* Don't forget to bind the helper method in the constructor!
* */
-}
+ }
render() {
/**
* TODO
* Render your LineChart component and pass the data for the chart to display via props
*/
+ return(
+
+ );
}
-}
-
-// Don't forget to export your component!
+}
\ No newline at end of file
diff --git a/caseStudy/ui/src/components/Date.js b/caseStudy/ui/src/components/Date.js
index 3034872..e97574f 100644
--- a/caseStudy/ui/src/components/Date.js
+++ b/caseStudy/ui/src/components/Date.js
@@ -14,9 +14,6 @@
* under the License.
*/
-
-
-
/* Display a date picker component for the start date of the range for your line chart.
*
* Take a look at the react-datepicker for a DatePicker component
@@ -24,21 +21,22 @@
* another package for this component if you'd like.
* https://www.npmjs.com/package/react-datepicker
* https://hacker0x01.github.io/react-datepicker/
- */
+*/
import React from 'react';
-//import DatePicker from 'react-datepicker'; UNCOMMENT this line if you are using the DatePicker component
import moment from 'moment';
+import DatePicker from 'react-datepicker';
+// UNCOMMENT this line if you are using the DatePicker component
+import 'react-datepicker/dist/react-datepicker.css';
+// UNCOMMENT this line if you are using the DatePicker component
-//import 'react-datepicker/dist/react-datepicker.css'; UNCOMMENT this line if you are using the DatePicker component
-
-class Date extends React.Component {
+export default class Date extends React.Component {
constructor (props) {
super(props)
this.state = {
date: moment()
};
-
+ this.handleChange = this.handleChange.bind(this);
}
componentDidMount() {
@@ -46,6 +44,7 @@ class Date extends React.Component {
}
handleChange(date) {
+ this.props.onChange(date);
/**
* TODO
* Set the state. Call this.props.onChange with the date argument
@@ -56,8 +55,7 @@ class Date extends React.Component {
render() {
return (
-
- {
+
className="date"
/**
* TODO
* Render the date picker component with a date format of "MM/DD/YYYY".
@@ -65,16 +63,14 @@ class Date extends React.Component {
* This method should set the state to the date argument passed in the parameter.
*
*/
- }
+
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example10Resource {
-
- /**
- * Example 10 Instructions:
- *
- * Modify the updateTeam method below to save the "team" that is passed in into a file with the pattern
- * -team.json
- *
- * Use the appropriate method from FileHelper to write to the file. Then check to make sure it was successful with the GET
- * method provided below
- *
- * URL: http://localhost:8080/events/team/{teamName}
- */
- @PUT
- @Path("team")
- @Consumes(MediaType.APPLICATION_JSON)
- public Response updateTeam(Team team) {
-
- return Response.ok().build();
- }
-
- @GET
- @Path("team/{teamName}")
- @Produces(MediaType.APPLICATION_JSON)
- public Team getTeam(@PathParam("teamName") String teamName) throws IOException {
-
- return FileHelper.readTeamFromFile(teamName.toLowerCase().concat("-team.json"));
- }
-
-
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example11Resource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example11Resource.java
deleted file mode 100644
index 8ddeebe..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example11Resource.java
+++ /dev/null
@@ -1,54 +0,0 @@
-package examples;
-
-import com.fasterxml.jackson.databind.ObjectMapper;
-
-import javax.ws.rs.Consumes;
-import javax.ws.rs.DELETE;
-import javax.ws.rs.Path;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example11Resource {
-
- /**
- * Example 11 Instructions:
- *
- * Create a DELETE method called cancelEvent() that will update the events to cancel all events with a given
- * eventType, home country, and away country.
- *
- * The Event Cancelled was a Baseball game where China is the Home Country and Australia is the Away Country
- *
- * Save the remaining events in remaining-events.json
- * Return either a 200 OK or a 500 Internal Server error if it fails to delete an event
- * Return the list of cancelled events in the entity.
- *
- * Compare the remaining-events.json file to events.json file to check that the proper events were deleted
- *
- */
- @DELETE
- @Path("cancel/{eventType}/home/{homeCountry}/away/{awayCountry}")
- @Consumes(MediaType.APPLICATION_JSON)
- public Response cancelEvent() throws IOException{
- final String filename = "remaining-events.json";
-
- return null;
- }
-
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example12Resource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example12Resource.java
deleted file mode 100644
index 993659a..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example12Resource.java
+++ /dev/null
@@ -1,54 +0,0 @@
-package examples;
-
-
-import model.Event;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import java.text.ParseException;
-import java.util.Date;
-import java.util.List;
-
-import static utility.FileHelper.DATEFORMAT;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example12Resource {
-
- /**
- * Example 12 Instructions:
- *
- * Fill in the function below to return a list of events that occur inbetween the start and end dates (inclusive)
- *
- * Hint: Read in the dates as Strings
- *
- * URL: http://localhost:8080/events/startDate/2018-03-07/endDate/2018-03-14
- */
- @GET
- @Path("")
- @Produces(MediaType.APPLICATION_JSON)
- public List getEventsInRange() throws ParseException {
-
- Date startDate = DATEFORMAT.parse("");
- Date endDate = DATEFORMAT.parse("");
-
- return null;
- }
-
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example1Resource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example1Resource.java
deleted file mode 100644
index 2110d37..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example1Resource.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package examples;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("hello")
-public class Example1Resource {
-
-
- /**
- * Example 1 Instructions:
- *
- *
- * Run your StartApp with program Arguments: server
- * Go to http://localhost:8080/hello/ok and verify your server is running.
- */
-
- @GET
- @Path("/ok")
- @Produces(MediaType.APPLICATION_JSON)
- public Response getResponse() throws IOException {
- return Response.status(Response.Status.OK).entity("Congratulations! You have Successfully started your Rest Server!").build();
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example2Resource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example2Resource.java
deleted file mode 100644
index daf304e..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example2Resource.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package examples;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example2Resource {
-
- /**
- * Example 2 Instructions:
- * Modify the method below to return the String "Welcome to Engineering Essentials Services Training!"
- *
- * Restart the Server and visit http://localhost:8080/events/test
- */
- @GET
- @Path("test")
- @Produces(MediaType.APPLICATION_JSON)
- public String helloWorld() {
- return "Hello, world!";
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example3Resource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example3Resource.java
deleted file mode 100644
index 7abb6ab..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example3Resource.java
+++ /dev/null
@@ -1,48 +0,0 @@
-package examples;
-
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("hello")
-public class Example3Resource {
-
- /**
- * Example 3 Instructions:
- *
- * Modify the method below so that when you restart the Server and visit the URL,
- * you see "This site is now fixed."
- *
- * 1) You will have to change the @Path
- * 2) You will have to change the string returned
- * 3) Your will have to change the status returned to Response.Status.OK
- *
- * URL: http://localhost:8080/response/test/fixed
- */
- @GET
- @Path("/broken")
- @Produces(MediaType.APPLICATION_JSON)
- public Response getResponse() throws IOException {
- String properResponse = "This site is now fixed.";
- return Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity("Broken").build();
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example4Resource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example4Resource.java
deleted file mode 100644
index dcd0c5f..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example4Resource.java
+++ /dev/null
@@ -1,48 +0,0 @@
-package examples;
-
-
-import model.Event;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example4Resource {
-
-
- /**
- * Example 4 Instructions:
- *
- * Use the appropriate method from FileHelper.java (utility folder) to read in a single event from the file
- * "single-event.json" and return this event
- *
- * Hint: the method below is missing an annotation
- *
- * URL: http://localhost:8080/events/sample
- */
- @Path("sample")
- @Produces(MediaType.APPLICATION_JSON)
- public Response getSampleEvent() {
-
- Event event = null;
- return Response.ok().entity(event).build();
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example5Resource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example5Resource.java
deleted file mode 100644
index 1626ed4..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example5Resource.java
+++ /dev/null
@@ -1,50 +0,0 @@
-package examples;
-
-
-import model.Event;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example5Resource {
-
-
- /**
- * Example 5 Instructions:
- *
- * Add the proper @Produces Annotation to the method below
- * and then use the appropriate method from FileHelper to read and return
- * the list of all of the events in the events.json file
- *
- * URL: http://localhost:8080/events/all
- */
- @GET
- @Path("all")
- public Response getAllEvents() throws IOException {
-
- List events = null;
- return Response.ok().entity(events).build();
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example6Resource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example6Resource.java
deleted file mode 100644
index 7463dd5..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example6Resource.java
+++ /dev/null
@@ -1,46 +0,0 @@
-package examples;
-
-
-import model.Country;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.util.List;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example6Resource {
-
- /**
- * Example 6 Instructions:
- * Add the functionality to return a list of Countries that participated in at least 1 event
- *
- * URL: http://localhost:8080/events/allParticipatingCountries
- *
- */
- @GET
- @Path("replace")
- @Produces(MediaType.APPLICATION_JSON)
- public Response getAllParticipatingCountries() {
-
- List participatingCountries = null;
- return null;
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example7Resource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example7Resource.java
deleted file mode 100644
index 916be88..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example7Resource.java
+++ /dev/null
@@ -1,52 +0,0 @@
-package examples;
-
-
-import model.Event;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.PathParam;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example7Resource {
-
- /**
- * Example 7 Instructions:
- *
- * Modify the method below to return the list of all of the events that a country participated in
- *
- * Note: The country name should be case insensitive ("UnitedStates" returns the same results as "UnitedStates")
- * If no events are found for a country, return a message stating the country was not found
- *
- * URL: http://localhost:8080/events/country/{countryName}
- */
- @GET
- @Path("country/{countryName}")
- @Produces(MediaType.APPLICATION_JSON)
- public Response getEventsForCountry(@PathParam("countryName") String countryName) throws IOException {
-
- return null;
- }
-
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example8Resource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example8Resource.java
deleted file mode 100644
index 976a7a6..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example8Resource.java
+++ /dev/null
@@ -1,41 +0,0 @@
-package examples;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.PathParam;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example8Resource {
-
- /**
- * Example 8 Instructions:
- * Fill in the method below so that for a given country, this endpoint returns the number of wins that country has
- *
- * Hint: Don't forget the @PathParam annotation
- *
- * URL: http://localhost:8080/events/UnitedStates/wins
- * URL: http://localhost:8080/events/China/wins
- *
- */
- @GET
- @Path("replace this")
- public int getWins(String country) {
- return 0;
- }
-}
-
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example9Resource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example9Resource.java
deleted file mode 100644
index 75b33da..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/examples/Example9Resource.java
+++ /dev/null
@@ -1,50 +0,0 @@
-package examples;
-
-import com.fasterxml.jackson.databind.ObjectMapper;
-import model.Event;
-
-import javax.ws.rs.Consumes;
-import javax.ws.rs.POST;
-import javax.ws.rs.Path;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example9Resource {
-
-
- /**
- * Example 9 Instructions:
- *
- * Part 1:
- * Create a Sample Event and save it to the test-create-event.json file using the POST method createEvent
- * Return a response with Status.OK after creating the event
- *
- * Part 2: Add a getNewEvent method that would reads the file test-create-event.json and returns the created event
- *
- * URL (after part 2): http://localhost:8080/events/newEvent
- */
- @Path("")
- @Consumes(MediaType.APPLICATION_JSON)
- public Response createEvent(Event newEvent) throws IOException{
- final String filename = "test-create-event.json";
- return null;
- }
-
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/Country.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/Country.java
deleted file mode 100644
index 3f78e5d..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/Country.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package model;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-public enum Country {
-
- UnitedStates,
- England,
- India,
- Brazil,
- Australia,
- Japan,
- China,
- Portugal
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/Event.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/Event.java
deleted file mode 100644
index 369b1ad..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/Event.java
+++ /dev/null
@@ -1,137 +0,0 @@
-package model;
-
-import com.fasterxml.jackson.annotation.JsonFormat;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import java.util.Date;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-public class Event {
- @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd", timezone="GMT-5")
- private Date date;
- @JsonProperty
- private Country winningCountry;
- @JsonProperty
- private Country losingCountry;
- @JsonProperty
- private int winningScore;
- @JsonProperty
- private int losingScore;
- @JsonProperty
- private EventType eventType;
- @JsonProperty
- private Country homeCountry;
- @JsonProperty
- private Country awayCountry;
-
-
- public EventType getEventType() {
- return eventType;
- }
-
- public void setEventType(EventType eventType) {
- this.eventType = eventType;
- }
-
- public Country getHomeCountry() {
- return homeCountry;
- }
-
- public void setHomeCountry(Country homeCountry) {
- this.homeCountry = homeCountry;
- }
-
- public Country getAwayCountry() {
- return awayCountry;
- }
-
- public void setAwayCountry(Country awayCountry) {
- this.awayCountry = awayCountry;
- }
-
- public Date getDate() {
- return date;
- }
-
- public void setDate(Date date) {
- this.date = date;
- }
-
- public Country getLosingCountry() {
- return losingCountry;
- }
-
- public void setLosingCountry(Country losingCountry) {
- this.losingCountry = losingCountry;
- }
-
- public Country getWinningCountry() {
- return winningCountry;
- }
-
- public void setWinningCountry(Country winningCountry) {
- this.winningCountry = winningCountry;
- }
-
- public int getWinningScore() {
- return winningScore;
- }
-
- public void setWinningScore(int winningScore) {
- this.winningScore = winningScore;
- }
-
- public int getLosingScore() {
- return losingScore;
- }
-
- public void setLosingScore(int losingScore) {
- this.losingScore = losingScore;
- }
-
- @Override
- public boolean equals(Object o) {
- if (this == o) return true;
- if (!(o instanceof Event)) return false;
-
- Event event = (Event) o;
-
- if (getWinningScore() != event.getWinningScore()) return false;
- if (getLosingScore() != event.getLosingScore()) return false;
- if (!getDate().equals(event.getDate())) return false;
- if (getWinningCountry() != event.getWinningCountry()) return false;
- if (getLosingCountry() != event.getLosingCountry()) return false;
- if (getEventType() != event.getEventType()) return false;
- if (getHomeCountry() != event.getHomeCountry()) return false;
- return getAwayCountry() == event.getAwayCountry();
-
- }
-
- @Override
- public int hashCode() {
- int result = getDate().hashCode();
- result = 31 * result + getWinningCountry().hashCode();
- result = 31 * result + getLosingCountry().hashCode();
- result = 31 * result + getWinningScore();
- result = 31 * result + getLosingScore();
- result = 31 * result + getEventType().hashCode();
- result = 31 * result + getHomeCountry().hashCode();
- result = 31 * result + getAwayCountry().hashCode();
- return result;
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/EventType.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/EventType.java
deleted file mode 100644
index 0de8c85..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/EventType.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package model;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-public enum EventType {
- WaterPolo,
- Baseball,
- Curling
-}
\ No newline at end of file
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/Player.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/Player.java
deleted file mode 100644
index 6e22d1a..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/Player.java
+++ /dev/null
@@ -1,70 +0,0 @@
-package model;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-public class Player {
-
- @JsonProperty
- private String name;
-
- @JsonProperty
- private Country country;
-
- public Player() {
- }
-
- public Player(String name, Country country) {
- this.name = name;
- this.country = country;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public Country getCountry() {
- return country;
- }
-
- public void setCountry(Country country) {
- this.country = country;
- }
-
- @Override
- public boolean equals(Object o) {
- if (this == o) return true;
- if (!(o instanceof Player)) return false;
-
- Player player = (Player) o;
-
- if (!getName().equals(player.getName())) return false;
- return getCountry() == player.getCountry();
-
- }
-
- @Override
- public int hashCode() {
- int result = getName().hashCode();
- result = 31 * result + getCountry().hashCode();
- return result;
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/Team.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/Team.java
deleted file mode 100644
index 67379ef..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/model/Team.java
+++ /dev/null
@@ -1,64 +0,0 @@
-package model;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-import java.util.Set;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-public class Team {
-
- @JsonProperty
- private String name;
-
- @JsonProperty
- private Set players;
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public Set getPlayers() {
- return players;
- }
-
- public void setPlayers(Set players) {
- this.players = players;
- }
-
- @Override
- public boolean equals(Object o) {
- if (this == o) return true;
- if (!(o instanceof Team)) return false;
-
- Team team = (Team) o;
-
- if (!getName().equals(team.getName())) return false;
- return getPlayers().equals(team.getPlayers());
-
- }
-
- @Override
- public int hashCode() {
- int result = getName().hashCode();
- result = 31 * result + getPlayers().hashCode();
- return result;
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/server/StarterApp.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/server/StarterApp.java
deleted file mode 100644
index 8da1636..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/server/StarterApp.java
+++ /dev/null
@@ -1,103 +0,0 @@
-package server;
-
-import examples.*;
-import io.dropwizard.Application;
-import io.dropwizard.Configuration;
-import io.dropwizard.setup.Bootstrap;
-import io.dropwizard.setup.Environment;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import solutions.Example10SolutionResource;
-import solutions.Example11SolutionResource;
-import solutions.Example2SolutionResource;
-import solutions.Example3SolutionResource;
-import solutions.Example4SolutionResource;
-import solutions.Example5SolutionResource;
-import solutions.Example6SolutionResource;
-import solutions.Example7SolutionResource;
-import solutions.Example8SolutionResource;
-import solutions.Example9SolutionResource;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-public class StarterApp extends Application {
-
- /**
- *
- * General Instructions:
- *
- * This is a rough guide of how each exercise will go:
- * 1) Read the prompt
- * 2) Go to ResourcesTest.java and run the example test case, make sure that it fails
- * - In some cases the test may not already be filled in for you, then you will have to write the test,
- * - and see it fail
- * 3) Implement the solution in Example<#>Resource.java
- * 4) Go to ResourcesTest.java and run the test, make sure it passes
- * 5) Uncomment the example resource in the 'run' method below
- * 5) Restart the Server (if you get a "address-in-use bind" error, then you did not properly stop the server
- * 6) Visit the URL to confirm it is working (for GET requests)
- * 7) Check appropriate JSON file in "data" folder to make sure data was updated properly (for POST, PUT, DELETE)
- *
- *
- */
-
- private static final Logger LOGGER = LoggerFactory.getLogger(StarterApp.class);
-
- private static Example11SolutionResource restService = new Example11SolutionResource();
-
- public StarterApp() {
- }
-
- @Override
- public void initialize(Bootstrap b) {
-
- }
-
- @Override
- public void run(Configuration c, Environment e) throws Exception {
- LOGGER.info("Registering REST resources");
- e.jersey().register(new Example1Resource());
-// e.jersey().register(new Example2Resource());
-// e.jersey().register(new Example3Resource());
-// e.jersey().register(new Example4Resource());
-// e.jersey().register(new Example5Resource());
-// e.jersey().register(new Example6Resource());
-// e.jersey().register(new Example7Resource());
-// e.jersey().register(new Example8Resource());
-// e.jersey().register(new Example9Resource());
-// e.jersey().register(new Example10Resource());
-// e.jersey().register(new Example11Resource());
-// e.jersey().register(new Example12Resource());
- LOGGER.info("Successfully started REST Service.");
- }
-
- /**
- *
- * StarterApp Intellij Run Configuration:
- *
- * Program args: 'server'
- * Working Directory: path to EngineeringEssentialsTraining
- * - '...\EngineeringEssentials\EngineeringEssentialsTraining"
- */
- public static void main(String[] args) throws Exception {
-
- StarterApp restServer = new StarterApp();
- restServer.run(args);
-
- System.out.println("Go to localhost:8080/hello/ok in your browser.");
- }
-
-}
\ No newline at end of file
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example10SolutionResource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example10SolutionResource.java
deleted file mode 100644
index 2a433f2..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example10SolutionResource.java
+++ /dev/null
@@ -1,47 +0,0 @@
-package solutions;
-
-import model.Team;
-import utility.FileHelper;
-
-import javax.ws.rs.*;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example10SolutionResource {
-
- @PUT
- @Path("team")
- @Consumes(MediaType.APPLICATION_JSON)
- @Produces(MediaType.APPLICATION_JSON)
- public Response setTeam(Team newTeam) throws IOException {
-
- FileHelper.writeTeamToFile(newTeam.getName().toLowerCase().concat("-team.json"), newTeam);
-
- return Response.ok().build();
- }
-
- @GET
- @Path("team/{teamName}")
- @Produces(MediaType.APPLICATION_JSON)
- public Team getTeam(@PathParam("teamName") String teamName) throws IOException {
-
- return FileHelper.readTeamFromFile(teamName.toLowerCase().concat("-team.json"));
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example11SolutionResource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example11SolutionResource.java
deleted file mode 100644
index 3892c5d..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example11SolutionResource.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package solutions;
-
-
-import com.fasterxml.jackson.databind.ObjectMapper;
-import model.Event;
-import utility.FileHelper;
-
-import javax.ws.rs.*;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example11SolutionResource {
- private ObjectMapper mapper = new ObjectMapper();
-
-
- /**
- * Example 11 Instructions:
- *
- * Create a DELETE method called cancelEvent() that will update the events to remove a cancelled event based on the eventType, home country, and away country.
- * The Event Cancelled was a Baseball game where China is the Home Country and Australia is the Away Country
- * Save your changes in the test-delete-event.json
- * Return either a 200 OK or a 500 Internal Server error if it fails to delete an event
- * Return the list of cancelled events in the entity.
- */
-
-
- @DELETE
- @Path("cancel/{eventType}/home/{homeCountry}/away/{awayCountry}")
- @Consumes(MediaType.APPLICATION_JSON)
- @Produces(MediaType.APPLICATION_JSON)
- public Response cancelEvent(@PathParam("eventType") String eventType, @PathParam("homeCountry") String home, @PathParam("awayCountry") String away) throws IOException {
- final String filename = "remaining-events.json";
- List scheduledEvents = FileHelper.readAllEvents("events.json");
- List cancelled = new ArrayList<>();
- Response.ResponseBuilder response = Response.status(Response.Status.INTERNAL_SERVER_ERROR);
- try {
- for (Event event : scheduledEvents) {
- if (event.getHomeCountry().name().equalsIgnoreCase(home) &&
- event.getAwayCountry().name().equalsIgnoreCase(away) &&
- event.getEventType().name().equalsIgnoreCase(eventType)) {
- cancelled.add(event);
- }
- }
- scheduledEvents.removeAll(cancelled);
- FileHelper.writeEventsToFile(filename, scheduledEvents);
- return Response.ok().entity(cancelled).build();
-
- } catch (Exception e) {
- System.out.println("Failed to cancel an event. " + e.getLocalizedMessage());
- }
- return response.build();
- }
-
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example12SolutionResource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example12SolutionResource.java
deleted file mode 100644
index ef32ba6..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example12SolutionResource.java
+++ /dev/null
@@ -1,60 +0,0 @@
-package solutions;
-
-import model.Event;
-import utility.FileHelper;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.PathParam;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import java.io.IOException;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-import static utility.FileHelper.DATEFORMAT;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example12SolutionResource {
-
-
-
- @GET
- @Path("startDate/{startDate}/endDate/{endDate}")
- @Produces(MediaType.APPLICATION_JSON)
- public List getEventsInRange(@PathParam("startDate") String startDateStr, @PathParam("endDate") String endDateStr) throws IOException, ParseException {
-
- Date startDate = DATEFORMAT.parse(startDateStr);
- Date endDate = DATEFORMAT.parse(endDateStr);
-
- List events = FileHelper.readAllEvents("events.json");
-
- List eventsInRange = new ArrayList<>();
- for (Event event: events) {
- if ((event.getDate().before(endDate) || event.getDate().equals(endDate))
- && (event.getDate().after(startDate) || event.getDate().equals(startDate))) {
- eventsInRange.add(event);
- }
- }
- return eventsInRange;
- }
-
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example2SolutionResource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example2SolutionResource.java
deleted file mode 100644
index b7ae697..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example2SolutionResource.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package solutions;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example2SolutionResource {
-
- /**
- * Example 2 Instructions:
- * Modify the method below to return the String "Welcome to Engineering Essentials Services Training!"
- */
- @GET
- @Path("test")
- @Produces(MediaType.APPLICATION_JSON)
- public String helloWorld() {
- return "Welcome to Engineering Essentials Services Training!";
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example3SolutionResource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example3SolutionResource.java
deleted file mode 100644
index d99ef3d..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example3SolutionResource.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package solutions;
-
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("response")
-public class Example3SolutionResource {
-
- /**
- * Example 3 Instructions:
- *
- *
- */
- @GET
- @Path("test/fixed")
- @Produces(MediaType.APPLICATION_JSON)
- public Response getResponse() throws IOException {
- //TODO: Modify the Path "response" and uri of the getResponse() method to be "/response/test/fixed"
- //TODO: Fix the response so that it returns a 200 OK instead of an internal server error.
- // TODO:Return the Response with the String entity
- String entity = "This site is now fixed.";
- return Response.status(Response.Status.OK).entity(entity).build();
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example4SolutionResource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example4SolutionResource.java
deleted file mode 100644
index dcd8dc0..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example4SolutionResource.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package solutions;
-
-import model.Event;
-import utility.FileHelper;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example4SolutionResource {
-
- @GET
- @Path("sample")
- @Produces(MediaType.APPLICATION_JSON)
- public Response getSampleEvent() throws IOException {
-
- Event event = FileHelper.readSingleEvent("single-event.json");
- return Response.ok().entity(event).build();
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example5SolutionResource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example5SolutionResource.java
deleted file mode 100644
index d604564..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example5SolutionResource.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package solutions;
-
-
-import com.fasterxml.jackson.databind.ObjectMapper;
-import model.Event;
-import utility.FileHelper;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-import java.util.List;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example5SolutionResource {
- private ObjectMapper mapper = new ObjectMapper();
-
- @GET
- @Path("all")
- @Produces(MediaType.APPLICATION_JSON)
- public Response getAllEvents() throws IOException {
- //TODO: Return the list of all of the events in the events.json file
- List events = FileHelper.readAllEvents("events.json");
- return Response.ok(events).build();
- }
-
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example6SolutionResource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example6SolutionResource.java
deleted file mode 100644
index 657c95d..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example6SolutionResource.java
+++ /dev/null
@@ -1,50 +0,0 @@
-package solutions;
-
-import model.Country;
-import model.Event;
-import utility.FileHelper;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import java.io.IOException;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example6SolutionResource {
-
- @GET
- @Path("allParticipatingCountries")
- @Produces(MediaType.APPLICATION_JSON)
- public Set getAllParticipatingCountries() throws IOException {
-
- List events = FileHelper.readAllEvents("allParticipatingCountries.json");
- Set countries = new HashSet<>();
-
- for (Event event: events) {
-
- countries.add(event.getAwayCountry());
- countries.add(event.getHomeCountry());
- }
-
- return countries;
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example7SolutionResource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example7SolutionResource.java
deleted file mode 100644
index cb5239b..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example7SolutionResource.java
+++ /dev/null
@@ -1,96 +0,0 @@
-package solutions;
-
-
-import model.Event;
-import utility.FileHelper;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.PathParam;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example7SolutionResource {
-
- /**
- * Example 7 Instructions:
- *
- * Copy over solutions from Examples 5 and 6 into this resource to help you with this example
- * Return the Events for the country in the Response, must be a 200 OK response if available, include the teams in the response
- * If no teams were found, return a 404 Response.Status.NOT_FOUND, and a message stating the country was not found
- * If not available or exception is thrown should return a 500 Response.Status.INTERNAL_SERVER_ERROR with an explanation of what went wrong
- */
-
-/*
- @GET
- @Path("all")
- @Produces(MediaType.APPLICATION_JSON)
- public List getAllEvents() throws IOException {
- List events = FileHelper.readAllEvents("events.json");
- return events;
- }
-
-
- @GET
- @Path("allParticipatingCountries")
- @Produces(MediaType.APPLICATION_JSON)
- public Set getAllParticipatingCountries() throws IOException {
-
- events = getAllEvents();
- Set countries = new HashSet<>();
-
- for (Event event: events) {
-
- countries.add(event.getAwayCountry());
- countries.add(event.getHomeCountry());
- }
-
- return countries;
- }
-
-*/
- @GET
- @Path("country/{countryName}")
- @Produces(MediaType.APPLICATION_JSON)
- public Response getEventsForCountry(@PathParam("countryName") String countryName) throws IOException {
- List eventsForCountry = new ArrayList<>();
- List events = FileHelper.readAllEvents("events.json");
-
- for (Event event : events) {
- if (event.getAwayCountry().name().equalsIgnoreCase(countryName) || event.getHomeCountry().name().equalsIgnoreCase(countryName)) {
- eventsForCountry.add(event);
- }
- }
- Response.ResponseBuilder response;
- try {
- if (eventsForCountry.size() > 0) {
- return Response.ok(eventsForCountry).build();
- } else {
- return Response.ok().entity("No matches found for Country with name " + countryName).build();
- }
- } catch (Exception e) {
- response = Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity(e);
- }
- return response.build();
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example8SolutionResource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example8SolutionResource.java
deleted file mode 100644
index ac1edd8..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example8SolutionResource.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package solutions;
-
-import model.Event;
-import utility.FileHelper;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.PathParam;
-import java.io.IOException;
-import java.util.List;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example8SolutionResource {
-
- @GET
- @Path("{country}/wins")
- public int getWins(@PathParam("country") String country) throws IOException {
-
- List events = FileHelper.readAllEvents("events.json");
-
- int numWins = 0;
- for (Event event: events) {
- if (event.getWinningCountry().name().equalsIgnoreCase(country)) {
- ++numWins;
- }
-
- }
- return numWins;
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example9SolutionResource.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example9SolutionResource.java
deleted file mode 100644
index 18a408e..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/solutions/Example9SolutionResource.java
+++ /dev/null
@@ -1,83 +0,0 @@
-package solutions;
-
-
-import com.fasterxml.jackson.databind.ObjectMapper;
-import model.Event;
-import utility.FileHelper;
-
-import javax.ws.rs.*;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Path("events")
-public class Example9SolutionResource {
-
-
-
- /**
- * Example 9 Instructions:
- *
- * Part 1: Create a Sample Event and save it to the test-create-event.json file using the POST method createEvent
- * Return either a 200 OK or a 500 Internal Server error if it fails to create the event
- * URL to Visit: /events/createEvent
- *
- * Part 2: Create a getNewEvent method that would read the file test-create-event.json and return the created event
- * If the event is not found, return a 404 NOT_FOUND along with an explanation
- * URL to Visit: /events/new
- */
-
- @POST
- @Path("createEvent")
- @Consumes(MediaType.APPLICATION_JSON)
- public Response createEvent(Event newEvent) throws IOException {
- String filename = "test-create-event.json";
-
- List events;
- try {
- events = FileHelper.readAllEvents(filename);
- events.add(newEvent);
- } catch (IOException e) {
- // File not found
- events = new ArrayList<>();
- events.add(newEvent);
- }
-
- try {
- FileHelper.writeEventsToFile(filename, events);
- return Response.ok().build();
- } catch (Exception e) {
- System.out.println("Failed to create a new Event");
- return Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity(e).build();
- }
- }
-
-
- @GET
- @Path("new")
- @Produces(MediaType.APPLICATION_JSON)
- public Response getNewEvent() throws IOException {
- //TODO: Make this method return an Event
- String filename = "test-create-event.json";
- List allCreatedEvents = FileHelper.readAllEvents(filename);
- return Response.ok(allCreatedEvents).build();
- }
-
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/CreateEvents.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/CreateEvents.java
deleted file mode 100644
index cdf7525..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/CreateEvents.java
+++ /dev/null
@@ -1,91 +0,0 @@
-package utility;
-
-import com.fasterxml.jackson.databind.ObjectMapper;
-import model.Country;
-import model.Event;
-import model.EventType;
-import org.joda.time.LocalDate;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.GregorianCalendar;
-import java.util.List;
-import java.util.concurrent.ThreadLocalRandom;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-//DO NOT MODIFY THIS CLASS
-public class CreateEvents {
-
- private static final ObjectMapper mapper = new ObjectMapper();
-
- public static void main(String args[]) throws IOException {
-
- List events = new ArrayList<>();
- for (int i = 0; i < 100; i++) {
-
- int eventIndex = ThreadLocalRandom.current().nextInt(0, EventType.values().length);
- int homeCountryIndex = 0;
- int awayCountryIndex = 0;
- while (homeCountryIndex == awayCountryIndex) {
- homeCountryIndex = ThreadLocalRandom.current().nextInt(0, Country.values().length);
- awayCountryIndex = ThreadLocalRandom.current().nextInt(0, Country.values().length);
- }
- events.add(createEvent(EventType.values()[eventIndex],
- Country.values()[homeCountryIndex],
- Country.values()[awayCountryIndex]));
- }
- //DO NOT MODIFY FILENAME
-// String filePath = CreateEvents.class.getClassLoader().getResources("resources").getPath();
-
- mapper.writerWithDefaultPrettyPrinter()
- .writeValue(new File("EngineeringEssentialsServices/src/main/resources/events.json"), events);
-
- }
-
- private static Event createEvent(EventType eventType, Country homeCountry, Country awayCountry) {
- Event event = new Event();
- event.setAwayCountry(awayCountry);
- event.setHomeCountry(homeCountry);
- event.setEventType(eventType);
-
- int dayOfMonth = ThreadLocalRandom.current().nextInt(1, 28);
- int month = 1;
- int winner = ThreadLocalRandom.current().nextInt(0, 2);
- int winningScore = ThreadLocalRandom.current().nextInt(10, 16);
- int losingScore = ThreadLocalRandom.current().nextInt(0, 10);
- event.setWinningScore(winningScore);
- event.setLosingScore(losingScore);
-
- if (winner == 0) {
- event.setWinningCountry(awayCountry);
- event.setLosingCountry(homeCountry);
- } else {
- event.setWinningCountry(homeCountry);
- event.setLosingCountry(awayCountry);
- }
-
-
- Date date = new GregorianCalendar(2018, month, dayOfMonth).getTime();
- event.setDate(date);
-
- return event;
- }
-
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/CustomJsonMapper.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/CustomJsonMapper.java
deleted file mode 100644
index c919964..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/CustomJsonMapper.java
+++ /dev/null
@@ -1,47 +0,0 @@
-package utility;
-
-import com.fasterxml.jackson.annotation.JsonAutoDetect;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.PropertyAccessor;
-import com.fasterxml.jackson.databind.DeserializationFeature;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import com.fasterxml.jackson.databind.SerializationFeature;
-import com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider;
-
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.ext.Provider;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-@Provider
-@Produces(MediaType.APPLICATION_JSON)
-public class CustomJsonMapper extends JacksonJaxbJsonProvider {
-
- private static ObjectMapper mapper = new ObjectMapper();
-
- static {
- mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
- mapper.setSerializationInclusion(JsonInclude.Include.ALWAYS);
- mapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);
- mapper.enable(SerializationFeature.INDENT_OUTPUT);
- }
-
- public CustomJsonMapper() {
- super();
- setMapper(mapper);
- }
-}
\ No newline at end of file
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/FileHelper.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/FileHelper.java
deleted file mode 100644
index 7c2323e..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/FileHelper.java
+++ /dev/null
@@ -1,87 +0,0 @@
-package utility;
-
-import com.fasterxml.jackson.core.type.TypeReference;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import model.Event;
-import model.Team;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.nio.file.Path;
-import java.nio.file.Paths;
-import java.text.SimpleDateFormat;
-import java.util.List;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-public class FileHelper {
-
- public static final SimpleDateFormat DATEFORMAT = new SimpleDateFormat("yyyy-MM-dd");
- private static final ObjectMapper mapper = new ObjectMapper();
-
- public static Event readSingleEvent(String fileName) throws IOException {
-
- InputStream inputStream = new FileInputStream(("data" + File.separatorChar + fileName));
-// InputStream resourceAsStream = FileHelper.class.getClassLoader().getResourceAsStream(fileName);
- return mapper.readValue(inputStream, new TypeReference() {});
- }
-
- public static List readAllEvents(String fileName) throws IOException {
-
- InputStream inputStream = new FileInputStream(("data" + File.separatorChar + fileName));
-// InputStream resourceAsStream = FileHelper.class.getClassLoader().getResourceAsStream(fileName);
- return mapper.readValue(inputStream, new TypeReference>() {
- });
- }
-
- public static List readTeamsFromFile(String fileName) throws IOException {
-
- InputStream inputStream = new FileInputStream(("data" + File.separatorChar + fileName));
-// InputStream resourceAsStream = FileHelper.class.getClassLoader().getResourceAsStream(fileName);
- return mapper.readValue(inputStream, new TypeReference>() {});
- }
-
- public static Team readTeamFromFile(String fileName) throws IOException {
-
- InputStream inputStream = new FileInputStream(("data" + File.separatorChar + fileName));
-// InputStream resourceAsStream = FileHelper.class.getClassLoader().getResourceAsStream(fileName);
- return mapper.readValue(inputStream, new TypeReference() {});
- }
-
- public static void writeTeamsToFile(String fileName, List teams) throws IOException {
-
- mapper.writerWithDefaultPrettyPrinter()
- .writeValue(new File("data", fileName), teams);
- }
-
- public static void writeTeamToFile(String fileName, Team team) throws IOException {
- mapper.writerWithDefaultPrettyPrinter()
- .writeValue(new File("data", fileName), team);
- }
-
-
- public static void writeEventToFile(String fileName, Event event) throws IOException {
- mapper.writerWithDefaultPrettyPrinter()
- .writeValue(new File("data", fileName), event);
- }
-
- public static void writeEventsToFile(String fileName, List scheduledEvents) throws IOException {
- mapper.writerWithDefaultPrettyPrinter()
- .writeValue(new File("data", fileName), scheduledEvents);
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/LocalDateDeserializer.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/LocalDateDeserializer.java
deleted file mode 100644
index c13002d..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/LocalDateDeserializer.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package utility;
-
-import com.fasterxml.jackson.core.JsonParser;
-import com.fasterxml.jackson.core.JsonProcessingException;
-import com.fasterxml.jackson.core.ObjectCodec;
-import com.fasterxml.jackson.databind.DeserializationContext;
-import com.fasterxml.jackson.databind.JsonDeserializer;
-import com.fasterxml.jackson.databind.JsonNode;
-import org.joda.time.format.DateTimeFormat;
-import org.joda.time.format.DateTimeFormatter;
-
-import java.io.IOException;
-import java.time.LocalDate;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-public class LocalDateDeserializer extends JsonDeserializer {
- @Override
- public LocalDate deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
-
- ObjectCodec objectCodec = jsonParser.getCodec();
- JsonNode node = objectCodec.readTree(jsonParser);
-
- final String dateString = node.get("date").asText();
- DateTimeFormatter dateTimeFormatter = DateTimeFormat.forPattern("yyyy-MM-dd");
-// final LocalDate dt = dateTimeFormatter.parseLocalDate(dateString);
-
-
- return null;
- }
-}
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/LocalDateSerializer.java b/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/LocalDateSerializer.java
deleted file mode 100644
index 9365180..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/main/java/utility/LocalDateSerializer.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package utility;
-
-import com.fasterxml.jackson.core.JsonGenerator;
-import com.fasterxml.jackson.databind.JsonSerializer;
-import com.fasterxml.jackson.databind.SerializerProvider;
-import com.fasterxml.jackson.databind.ser.std.StdSerializer;
-import org.apache.commons.lang3.StringUtils;
-import org.joda.time.LocalDate;
-
-import java.io.IOException;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-public class ResourcesTest extends JerseyTest {
- private static ObjectMapper mapper = new ObjectMapper();
-
-
- @Override
- protected Application configure() {
- return new ResourceConfig(
- Example2Resource.class,
- Example3Resource.class,
- Example4Resource.class,
- Example5Resource.class,
- Example6Resource.class,
- Example7Resource.class,
- Example8Resource.class,
- Example9Resource.class,
- Example10Resource.class,
- Example11Resource.class,
- Example12Resource.class
- );
- }
-
- @Test
- public void testExample2() {
- String response = target().path("events/test").request().get(String.class);
- assertEquals("Welcome to Engineering Essentials Services Training!", response);
- }
-
- @Test
- public void testExample3() {
- String entity = "This site is now fixed.";
- Response expected = Response.ok().entity(entity).build();
-
- Response response = target().path("response/test/fixed").request().get();
- String stringResponse = target().path("response/test/fixed").request().get(String.class);
- assertEquals(expected.getStatus(), response.getStatus());
- assertEquals(expected.getEntity(), stringResponse);
- }
-
- @Test
- public void testExample4() throws ParseException {
- Event event = new Event();
-
- /**
- * Use the setter methods to create an identical event to single-event.json
- * and assert that they are equal
- *
- */
-
- Date date = DATEFORMAT.parse("2018-02-27");
- event.setDate(date);
-
- Event response = target().path("events/sample").request().get(Event.class);
-
-// assertEquals();
- Assert.fail("Remove this line once you write the test");
-
- }
-
- @Test
- public void testExample5() throws IOException {
- List events = FileHelper.readAllEvents("events.json");
-
- Response response = target().path("events/all").request().get();
- List responseEvents = mapper.convertValue(response.readEntity(List.class), new TypeReference>() {
- });
-
- assertEquals(events.size(), responseEvents.size());
- assertEquals(events, responseEvents);
- }
-
- @Test
- public void testExample6() {
-
- // Add a test to make sure that all the participating countries are returned correctly
- // The only country not participating is Portugal
- Set checkParticipatingCountries = EnumSet.complementOf(EnumSet.of(Country.Portugal));
-
-
- Assert.fail("Remove this line once you write the test");
- }
-
- @Test
- public void testExample7() {
-
- List china = target().path("/events/country/China").request().get(List.class);
- List brazil = target().path("events/country/brazil").request().get(List.class);
- List brazilUppercase = target().path("events/country/BraZil").request().get(List.class);
- List us = target().path("events/country/UnitedStates").request().get(List.class);
- String response = target().path("events/country/Canada").request().get(String.class);
-
- assertEquals(23, china.size());
- assertEquals(28, brazil.size());
- assertEquals(28, brazilUppercase.size());
- assertEquals(25, us.size());
- assertEquals(response, "No matches found for Country with name Canada");
- }
-
- @Test
- public void testExample8() {
-
- int expNumWinsEngland = 15;
- int expNumWinsUnitedStates = 8;
- int expNumWinsChina = 15;
-
- // Fill in the Jersey get requests
- int actualNumWinsEngland = 0;
- int actualNumWinsUnitedStates = 0;
- int actualNumWinsChina = 0;
-
- assertEquals(expNumWinsEngland, actualNumWinsEngland);
- assertEquals(expNumWinsUnitedStates, actualNumWinsUnitedStates);
- assertEquals(expNumWinsChina, actualNumWinsChina);
- }
-
- @Test
- public void testExample9() throws ParseException, IOException {
-
- Event event = new Event();
- event.setAwayCountry(Country.Japan);
- event.setHomeCountry(UnitedStates);
- event.setWinningCountry(UnitedStates);
- event.setLosingCountry(Country.Japan);
- event.setWinningScore(10);
- event.setLosingScore(4);
- event.setEventType(EventType.Baseball);
-
- Date date = DATEFORMAT.parse("2018-02-22");
- event.setDate(date);
-
- Response postEvent = target().path("events/createEvent").request().post(Entity.json(event));
- List getNewEvents = target().path("events/new").request().get(List.class);
-
- // To make sure that the event was created
- assertEquals(1, getNewEvents.size());
-
- target().path("events/createEvent").request().post(Entity.json(event));
- List getNewEvents2 = target().path("events/new").request().get(List.class);
-
- // To make sure that a new event was added, rather than overwriting the existing one, test not idempotent
- assertTrue(getNewEvents2.size() >= 2);
- assertEquals(postEvent.getStatus(), 200);
- }
-
- @Test
- public void testExample10() {
-
- // Add some players
- Set players = new HashSet<>();
-
- // Add players to the team and set a team name
- Team team = new Team();
-
- // Make sure to test doing the PUT operation twice, and make sure the result is the same both times
-
- Assert.fail("Remove this line once you write the test");
- }
-
- @Test
- public void testExample11() throws ParseException, IOException {
-
- List allEvents = FileHelper.readAllEvents("events.json");
-
- List cancelledEvents = target().path("events/cancel/Baseball/home/China/away/Australia").request().delete(List.class);
-
- assertTrue(cancelledEvents.size() < allEvents.size());
- assertEquals(1, cancelledEvents.size());
- }
-
- @Test
- public void testExample12() {
-
- // Check that the number of events between Feb 09 2018 and Feb 12 2018 (inclusive) is 14
-
- List eventsInRange = target().path("/events/startDate/2018-02-09/endDate/2018-02-12").request().get(List.class);
- assertEquals(14, eventsInRange.size());
- }
-}
\ No newline at end of file
diff --git a/techCurriculum/services/EngineeringEssentialsServices/src/test/java/resources/ResourcesTestSolutions.java b/techCurriculum/services/EngineeringEssentialsServices/src/test/java/resources/ResourcesTestSolutions.java
deleted file mode 100644
index 549ebc8..0000000
--- a/techCurriculum/services/EngineeringEssentialsServices/src/test/java/resources/ResourcesTestSolutions.java
+++ /dev/null
@@ -1,222 +0,0 @@
-package resources;
-
-import com.fasterxml.jackson.core.type.TypeReference;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import model.*;
-import org.glassfish.jersey.server.ResourceConfig;
-import org.glassfish.jersey.test.JerseyTest;
-import org.junit.Test;
-import solutions.*;
-import utility.FileHelper;
-
-import javax.ws.rs.client.Entity;
-import javax.ws.rs.core.Application;
-import javax.ws.rs.core.Response;
-import java.io.IOException;
-import java.text.ParseException;
-import java.util.*;
-
-import static model.Country.*;
-import static org.junit.Assert.*;
-import static utility.FileHelper.DATEFORMAT;
-
-/**
- * Copyright 2018 Goldman Sachs.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-public class ResourcesTestSolutions extends JerseyTest {
- private static ObjectMapper mapper = new ObjectMapper();
-
-
- @Override
- protected Application configure() {
- return new ResourceConfig(
- Example2SolutionResource.class,
- Example3SolutionResource.class,
- Example4SolutionResource.class,
- Example5SolutionResource.class,
- Example6SolutionResource.class,
- Example7SolutionResource.class,
- Example8SolutionResource.class,
- Example9SolutionResource.class,
- Example10SolutionResource.class,
- Example11SolutionResource.class,
- Example12SolutionResource.class
- );
- }
-
- @Test
- public void testExample2() {
- String response = target().path("events/test").request().get(String.class);
- assertEquals("Welcome to Engineering Essentials Services Training!", response);
- }
-
- @Test
- public void testExample3() {
- String entity = "This site is now fixed.";
- Response expected = Response.ok().entity(entity).build();
-
- Response response = target().path("response/test/fixed").request().get();
- String stringResponse = target().path("response/test/fixed").request().get(String.class);
- assertEquals(expected.getStatus(), response.getStatus());
- assertEquals(expected.getEntity(), stringResponse);
- }
-
- @Test
- public void testExample4() throws ParseException {
- Event event = new Event();
- event.setAwayCountry(Country.Australia);
- event.setHomeCountry(Portugal);
- event.setWinningCountry(Portugal);
- event.setLosingCountry(Country.Australia);
- event.setWinningScore(22);
- event.setLosingScore(4);
- event.setEventType(EventType.WaterPolo);
-
- Date date = DATEFORMAT.parse("2018-02-27");
- event.setDate(date);
-
- Event response = target().path("events/sample").request().get(Event.class);
- assertEquals(event, response);
- }
-
- @Test
- public void testExample5() throws IOException {
- List events = FileHelper.readAllEvents("events.json");
-
- Response response = target().path("events/all").request().get();
- List responseEvents = mapper.convertValue(response.readEntity(List.class), new TypeReference>() {
- });
-
- assertEquals(events.size(), responseEvents.size());
- assertEquals(events, responseEvents);
- }
-
- @Test
- public void testExample6() {
-
- Set checkParticipatingCountries = EnumSet.complementOf(EnumSet.of(Country.Portugal));
- Set getParticipatingCountries = target().path("events/allParticipatingCountries").request().get(Set.class);
-
- assertEquals(checkParticipatingCountries.size(), getParticipatingCountries.size());
- assertFalse(getParticipatingCountries.contains(Portugal));
-
- }
-
- @Test
- public void testExample7() {
-
- List china = target().path("/events/country/China").request().get(List.class);
- List brazil = target().path("events/country/brazil").request().get(List.class);
- List brazilUppercase = target().path("events/country/BraZil").request().get(List.class);
- List us = target().path("events/country/UnitedStates").request().get(List.class);
- String response = target().path("events/country/Canada").request().get(String.class);
-
- assertEquals(23, china.size());
- assertEquals(28, brazil.size());
- assertEquals(28, brazilUppercase.size());
- assertEquals(25, us.size());
- assertEquals(response, "No matches found for Country with name Canada");
- }
-
- @Test
- public void testExample8() {
-
- int expNumWinsEngland = 15;
- int expNumWinsUnitedStates = 8;
- int expNumWinsChina = 15;
-
- int actualNumWinsEngland = target().path("events/England/wins").request().get(int.class);
- int actualNumWinsUnitedStates = target().path("events/UnitedStates/wins").request().get(int.class);
- int actualNumWinsChina = target().path("events/China/wins").request().get(int.class);
-
- assertEquals(expNumWinsEngland, actualNumWinsEngland);
- assertEquals(expNumWinsUnitedStates, actualNumWinsUnitedStates);
- assertEquals(expNumWinsChina, actualNumWinsChina);
- }
-
- @Test
- public void testExample9() throws ParseException, IOException {
-
- Event event = new Event();
- event.setAwayCountry(Country.Japan);
- event.setHomeCountry(UnitedStates);
- event.setWinningCountry(UnitedStates);
- event.setLosingCountry(Country.Japan);
- event.setWinningScore(10);
- event.setLosingScore(4);
- event.setEventType(EventType.Baseball);
-
- Date date = DATEFORMAT.parse("2018-02-22");
- event.setDate(date);
-
- Response postEvent = target().path("events/createEvent").request().post(Entity.json(event));
- List getNewEvents = target().path("events/new").request().get(List.class);
-
- // To make sure that the event was created
- assertEquals(1, getNewEvents.size());
-
- target().path("events/createEvent").request().post(Entity.json(event));
- List getNewEvents2 = target().path("events/new").request().get(List.class);
-
- // To make sure that a new event was added, rather than overwriting the existing one
- assertEquals(2, getNewEvents2.size());
- assertEquals(postEvent.getStatus(), 200);
-
- }
-
- @Test
- public void testExample10() {
-
- Set players = new HashSet<>();
- players.add(new Player("Anna Conda", India));
- players.add(new Player("Linda Book", India));
-
- Team ballers = new Team();
- ballers.setName("Smallers");
- ballers.setPlayers(players);
-
- Response putTeam = target().path("events/team").request().put(Entity.json(ballers));
- assertEquals(200, putTeam.getStatus());
-
- Team getBallers = target().path("events/team/Smallers").request().get(Team.class);
-
- target().path("events/team").request().put(Entity.json(ballers));
- Team getBallers2 = target().path("events/team/Smallers").request().get(Team.class);
-
- assertEquals(ballers, getBallers);
- assertEquals(getBallers, getBallers2);
- }
-
- @Test
- public void testExample11() throws ParseException, IOException {
- List allEvents = FileHelper.readAllEvents("events.json");
-
- List cancelledEvents = target().path("events/cancel/Baseball/home/China/away/Australia").request().delete(List.class);
-
- assertTrue(cancelledEvents.size() < allEvents.size());
- assertEquals(1, cancelledEvents.size());
-
- }
-
- @Test
- public void testExample12() {
-
- // Check that the number of events between Feb 09 2018 and Feb 12 2018 (inclusive) is 14
-
- List eventsInRange = target().path("/events/startDate/2018-02-09/endDate/2018-02-12").request().get(List.class);
- assertEquals(14, eventsInRange.size());
- }
-
-}
\ No newline at end of file
diff --git a/techCurriculum/services/pom.xml b/techCurriculum/services/pom.xml
deleted file mode 100644
index 92c0302..0000000
--- a/techCurriculum/services/pom.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
- 4.0.0
-
- EngineeringEssentials
- engineering-essentials
- pom
- 1.0-SNAPSHOT
-
- EngineeringEssentialsServices
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
-
- 1.8
- 1.8
-
-
-
-
-
-
-
- io.dropwizard
- dropwizard-core
- 1.1.0
-
-
-
-
- com.fasterxml.jackson.core
- jackson-databind
- 2.8.7
-
-
-
-
- junit
- junit
- 4.11
- test
-
-
-
-
- org.glassfish.jersey.test-framework
- jersey-test-framework-core
- 2.22.1
-
-
-
- org.glassfish.jersey.core
- jersey-server
- 2.22.1
-
-
-
- org.glassfish.jersey.containers
- jersey-container-servlet
- 2.22.1
-
-
-
- org.glassfish.jersey.test-framework.providers
- jersey-test-framework-provider-grizzly2
- 2.22.1
-
-
-
-
\ No newline at end of file
diff --git a/techCurriculum/ui/LICENSE b/techCurriculum/ui/LICENSE
deleted file mode 100644
index c0ee812..0000000
--- a/techCurriculum/ui/LICENSE
+++ /dev/null
@@ -1,201 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "{}"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright {yyyy} {name of copyright owner}
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/techCurriculum/ui/extension-work.txt b/techCurriculum/ui/extension-work.txt
deleted file mode 100644
index d3b9789..0000000
--- a/techCurriculum/ui/extension-work.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Copyright 2019 Goldman Sachs.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
-Extra features you can add to the Cards project...
-* "Favorite" Cards: Add a star icon on all cards that allows you to click the star to "favorite" the card
-* "Reply-to" Cards: Add a reply icon on all cards that, when clicked, opens a different form for responding
-* More libraries: Think up some features for the app and use open source third party libraries from GitHub to implement them
-
-
-Further topics to research...
-* Fetch, Axios, jQuery -- figure out how to use at least one of these to make AJAX HTTP requests! You'll need to do this for your case study.
-* React router -- can use this to add several pages to your application
-* React lifecycle -- learn more about React's under the hood "magic" and places where you can inject additional logic
-* Redux -- popular central datastore architecture, more useful for larger projects
-* Boilerplate -- alternatives to create-react-app that you'll probably consider if you ever make your own React app
diff --git a/techCurriculum/ui/goals.txt b/techCurriculum/ui/goals.txt
deleted file mode 100644
index ddc72f8..0000000
--- a/techCurriculum/ui/goals.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-Copyright 2019 Goldman Sachs.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
-1.1 Display the title "Cards" as an
and a sub-title "Share your ideas" as an
as a single React element by using JSX.
-2.1 Move your title and sub-title into a new component named Title.
-2.2 Compose your Title component in the App component.
-2.3 Only render a single component App from index.js.
-2.4 Create a new component named "User" to display a user icon and the name "John Smith" underneath.
-2.5 Create a new component named "Message" to display the text "React is so cool!"
-2.6 Create a new component named "Card" composed of the other components you previously created.
-2.7 Render your Card component into the DOM.
-3.1 Pass in "John Smith" into your User component as a prop.
-3.2 Pass in "React is so cool!" into your Message component as a prop.
-3.3 Create multiple "cards" using your single card component and pass in different data to each via props.
-4.1 Refactor Cards to be stored in the state of App.js.
-4.2 Add a form skeleton for inputting new Cards a new file called CardForm.js.
-4.3 Add a submit button that performs an action on click.
-4.4 Implement text input (with value setting, with state) in a new file called TextInput.js.
-4.5 Compose CardForm with App as the parent.
-4.6 Make text inputs editable (with onChange handler).
-4.7 Allow text to be accessible in CardForm state so we can submit it.
-4.8 Propogate form submissions to the App state.
-5.1 Add a react-select in CardForm to allow selection of multiple tags with your card (without storing in state yet)
-5.2 Store the selection in CardForm's state!
-5.3 Show tags in your Card component when they've been submitted.
-6.1 Add a react-datepicker in CardForm to allow datestamp.
-6.2 Get it to show up in new submissions.
-7.1 Create a line chart that displays average number of posts per month for both John and Jane using the provided JSON data.
\ No newline at end of file
diff --git a/techCurriculum/ui/setup.txt b/techCurriculum/ui/setup.txt
deleted file mode 100644
index 6c6b760..0000000
--- a/techCurriculum/ui/setup.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Copyright 2019 Goldman Sachs.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
-
-# Prerequisites
-
-- IDE e.g. Sublime Text, Visual Studio Code
-- Node (v10.x and up should all be fine)
-- npm (v6.x)
-- git (v2.x)
-- clone the goldmansachs/EngineeringEssentials GitHub repository
-
-# Environment Setup
-
-- We will assume you have the repository in the root of a drive, e.g. H:\
-- File structure will look like: H:\EngineeringEssentials\techCurriculum\ui\starter_code\cards-app\...
-- Run the following command to get set up with the boiler plate code
-
- > H:\EngineeringEssentials\techCurriculum\ui\starter_code\cards-app>npm install
- * Installs the initial dependencies for this project (mainly vanilla React libraries)
-
-# Test your setup
-
- > H:\EngineeringEssentials\techCurriculum\ui\starter_code\cards-app>npm start
-
- You should see a barebones page that says "Hello World"
\ No newline at end of file
diff --git a/techCurriculum/ui/solutions/1.1/1.1.PNG b/techCurriculum/ui/solutions/1.1/1.1.PNG
deleted file mode 100644
index 518a558..0000000
Binary files a/techCurriculum/ui/solutions/1.1/1.1.PNG and /dev/null differ
diff --git a/techCurriculum/ui/solutions/1.1/src/App.js b/techCurriculum/ui/solutions/1.1/src/App.js
deleted file mode 100644
index 6440e4b..0000000
--- a/techCurriculum/ui/solutions/1.1/src/App.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const App = () => {
- return (
-
-
Hello World 2
-
- );
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/1.1/src/index.js b/techCurriculum/ui/solutions/1.1/src/index.js
deleted file mode 100644
index 35e9019..0000000
--- a/techCurriculum/ui/solutions/1.1/src/index.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import './stylesheet.css';
-
-const title = (
-
-
Cards
-
Share your ideas
-
-);
-
-ReactDOM.render(
- title,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/2.1/src/App.js b/techCurriculum/ui/solutions/2.1/src/App.js
deleted file mode 100644
index 6440e4b..0000000
--- a/techCurriculum/ui/solutions/2.1/src/App.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const App = () => {
- return (
-
-
Hello World 2
-
- );
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/2.1/src/components/Title.js b/techCurriculum/ui/solutions/2.1/src/components/Title.js
deleted file mode 100644
index c8ac8d5..0000000
--- a/techCurriculum/ui/solutions/2.1/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/2.1/src/index.js b/techCurriculum/ui/solutions/2.1/src/index.js
deleted file mode 100644
index 35e9019..0000000
--- a/techCurriculum/ui/solutions/2.1/src/index.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import './stylesheet.css';
-
-const title = (
-
-
Cards
-
Share your ideas
-
-);
-
-ReactDOM.render(
- title,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/2.2/src/App.js b/techCurriculum/ui/solutions/2.2/src/App.js
deleted file mode 100644
index 82df92d..0000000
--- a/techCurriculum/ui/solutions/2.2/src/App.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-
-const App = () => {
- return (
-
-
-
- );
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/2.2/src/components/Title.js b/techCurriculum/ui/solutions/2.2/src/components/Title.js
deleted file mode 100644
index c8ac8d5..0000000
--- a/techCurriculum/ui/solutions/2.2/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/2.2/src/index.js b/techCurriculum/ui/solutions/2.2/src/index.js
deleted file mode 100644
index 35e9019..0000000
--- a/techCurriculum/ui/solutions/2.2/src/index.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import './stylesheet.css';
-
-const title = (
-
-
Cards
-
Share your ideas
-
-);
-
-ReactDOM.render(
- title,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/2.3/src/App.js b/techCurriculum/ui/solutions/2.3/src/App.js
deleted file mode 100644
index 82df92d..0000000
--- a/techCurriculum/ui/solutions/2.3/src/App.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-
-const App = () => {
- return (
-
-
-
- );
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/2.3/src/components/Title.js b/techCurriculum/ui/solutions/2.3/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/2.3/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/2.3/src/index.js b/techCurriculum/ui/solutions/2.3/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/2.3/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/2.4/src/App.js b/techCurriculum/ui/solutions/2.4/src/App.js
deleted file mode 100644
index 82df92d..0000000
--- a/techCurriculum/ui/solutions/2.4/src/App.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-
-const App = () => {
- return (
-
-
-
- );
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/2.4/src/components/Title.js b/techCurriculum/ui/solutions/2.4/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/2.4/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/2.4/src/components/User.js b/techCurriculum/ui/solutions/2.4/src/components/User.js
deleted file mode 100644
index 14506ef..0000000
--- a/techCurriculum/ui/solutions/2.4/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = () => {
- return (
-
-
-
John Smith
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/2.4/src/index.js b/techCurriculum/ui/solutions/2.4/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/2.4/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/2.5/src/App.js b/techCurriculum/ui/solutions/2.5/src/App.js
deleted file mode 100644
index 82df92d..0000000
--- a/techCurriculum/ui/solutions/2.5/src/App.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-
-const App = () => {
- return (
-
-
-
- );
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/2.5/src/components/Message.js b/techCurriculum/ui/solutions/2.5/src/components/Message.js
deleted file mode 100644
index 09d7c91..0000000
--- a/techCurriculum/ui/solutions/2.5/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = () => {
- return (
-
-
React is so cool!
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/2.5/src/components/Title.js b/techCurriculum/ui/solutions/2.5/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/2.5/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/2.5/src/components/User.js b/techCurriculum/ui/solutions/2.5/src/components/User.js
deleted file mode 100644
index 14506ef..0000000
--- a/techCurriculum/ui/solutions/2.5/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = () => {
- return (
-
-
-
John Smith
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/2.5/src/index.js b/techCurriculum/ui/solutions/2.5/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/2.5/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/2.6/src/App.js b/techCurriculum/ui/solutions/2.6/src/App.js
deleted file mode 100644
index 82df92d..0000000
--- a/techCurriculum/ui/solutions/2.6/src/App.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-
-const App = () => {
- return (
-
-
-
- );
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/2.6/src/components/Card.js b/techCurriculum/ui/solutions/2.6/src/components/Card.js
deleted file mode 100644
index 6492916..0000000
--- a/techCurriculum/ui/solutions/2.6/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = () => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/2.6/src/components/Message.js b/techCurriculum/ui/solutions/2.6/src/components/Message.js
deleted file mode 100644
index 09d7c91..0000000
--- a/techCurriculum/ui/solutions/2.6/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = () => {
- return (
-
-
React is so cool!
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/2.6/src/components/Title.js b/techCurriculum/ui/solutions/2.6/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/2.6/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/2.6/src/components/User.js b/techCurriculum/ui/solutions/2.6/src/components/User.js
deleted file mode 100644
index 14506ef..0000000
--- a/techCurriculum/ui/solutions/2.6/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = () => {
- return (
-
-
-
John Smith
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/2.6/src/index.js b/techCurriculum/ui/solutions/2.6/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/2.6/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/2.7/2.7.PNG b/techCurriculum/ui/solutions/2.7/2.7.PNG
deleted file mode 100644
index b8526ca..0000000
Binary files a/techCurriculum/ui/solutions/2.7/2.7.PNG and /dev/null differ
diff --git a/techCurriculum/ui/solutions/2.7/src/App.js b/techCurriculum/ui/solutions/2.7/src/App.js
deleted file mode 100644
index f9e1710..0000000
--- a/techCurriculum/ui/solutions/2.7/src/App.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from './node_modules/react';
-import Title from './components/Title';
-import Card from './components/Card';
-
-const App = () => {
- return (
-
-
-
-
- );
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/2.7/src/components/Card.js b/techCurriculum/ui/solutions/2.7/src/components/Card.js
deleted file mode 100644
index 2e53ef0..0000000
--- a/techCurriculum/ui/solutions/2.7/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from './node_modules/react';
-import User from './User';
-import Message from './Message';
-
-const Card = () => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/2.7/src/components/Message.js b/techCurriculum/ui/solutions/2.7/src/components/Message.js
deleted file mode 100644
index 1ba8049..0000000
--- a/techCurriculum/ui/solutions/2.7/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from './node_modules/react';
-
-const Message = () => {
- return (
-
-
React is so cool!
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/2.7/src/components/Title.js b/techCurriculum/ui/solutions/2.7/src/components/Title.js
deleted file mode 100644
index 0a14124..0000000
--- a/techCurriculum/ui/solutions/2.7/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from './node_modules/react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/2.7/src/components/User.js b/techCurriculum/ui/solutions/2.7/src/components/User.js
deleted file mode 100644
index b9bb5ad..0000000
--- a/techCurriculum/ui/solutions/2.7/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from './node_modules/react';
-
-const User = () => {
- return (
-
-
-
John Smith
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/2.7/src/index.js b/techCurriculum/ui/solutions/2.7/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/2.7/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/3.1/src/App.js b/techCurriculum/ui/solutions/3.1/src/App.js
deleted file mode 100644
index c78f290..0000000
--- a/techCurriculum/ui/solutions/3.1/src/App.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-
-const App = () => {
- return (
-
-
-
-
- );
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/3.1/src/components/Card.js b/techCurriculum/ui/solutions/3.1/src/components/Card.js
deleted file mode 100644
index 6544124..0000000
--- a/techCurriculum/ui/solutions/3.1/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = () => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/3.1/src/components/Message.js b/techCurriculum/ui/solutions/3.1/src/components/Message.js
deleted file mode 100644
index 09d7c91..0000000
--- a/techCurriculum/ui/solutions/3.1/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = () => {
- return (
-
-
React is so cool!
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/3.1/src/components/Title.js b/techCurriculum/ui/solutions/3.1/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/3.1/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/3.1/src/components/User.js b/techCurriculum/ui/solutions/3.1/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/3.1/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/3.1/src/index.js b/techCurriculum/ui/solutions/3.1/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/3.1/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/3.2/src/App.js b/techCurriculum/ui/solutions/3.2/src/App.js
deleted file mode 100644
index c78f290..0000000
--- a/techCurriculum/ui/solutions/3.2/src/App.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-
-const App = () => {
- return (
-
-
-
-
- );
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/3.2/src/components/Card.js b/techCurriculum/ui/solutions/3.2/src/components/Card.js
deleted file mode 100644
index 581e019..0000000
--- a/techCurriculum/ui/solutions/3.2/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = () => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/3.2/src/components/Message.js b/techCurriculum/ui/solutions/3.2/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/3.2/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/3.2/src/components/Title.js b/techCurriculum/ui/solutions/3.2/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/3.2/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/3.2/src/components/User.js b/techCurriculum/ui/solutions/3.2/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/3.2/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/3.2/src/index.js b/techCurriculum/ui/solutions/3.2/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/3.2/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/3.3/3.3.PNG b/techCurriculum/ui/solutions/3.3/3.3.PNG
deleted file mode 100644
index 3ffc783..0000000
Binary files a/techCurriculum/ui/solutions/3.3/3.3.PNG and /dev/null differ
diff --git a/techCurriculum/ui/solutions/3.3/src/App.js b/techCurriculum/ui/solutions/3.3/src/App.js
deleted file mode 100644
index 638b592..0000000
--- a/techCurriculum/ui/solutions/3.3/src/App.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-
-const App = () => {
- return (
-
-
-
-
-
- );
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/3.3/src/components/Card.js b/techCurriculum/ui/solutions/3.3/src/components/Card.js
deleted file mode 100644
index 3f26af2..0000000
--- a/techCurriculum/ui/solutions/3.3/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/3.3/src/components/Message.js b/techCurriculum/ui/solutions/3.3/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/3.3/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/3.3/src/components/Title.js b/techCurriculum/ui/solutions/3.3/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/3.3/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/3.3/src/components/User.js b/techCurriculum/ui/solutions/3.3/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/3.3/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/3.3/src/index.js b/techCurriculum/ui/solutions/3.3/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/3.3/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/4.1/src/App.js b/techCurriculum/ui/solutions/4.1/src/App.js
deleted file mode 100644
index 5167c2a..0000000
--- a/techCurriculum/ui/solutions/4.1/src/App.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!'
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!'
- }
- ]
- };
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
- { cards }
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/4.1/src/components/Card.js b/techCurriculum/ui/solutions/4.1/src/components/Card.js
deleted file mode 100644
index 3f26af2..0000000
--- a/techCurriculum/ui/solutions/4.1/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/4.1/src/components/Message.js b/techCurriculum/ui/solutions/4.1/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/4.1/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/4.1/src/components/Title.js b/techCurriculum/ui/solutions/4.1/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/4.1/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/4.1/src/components/User.js b/techCurriculum/ui/solutions/4.1/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/4.1/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/4.1/src/index.js b/techCurriculum/ui/solutions/4.1/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/4.1/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/4.2/src/App.js b/techCurriculum/ui/solutions/4.2/src/App.js
deleted file mode 100644
index 5167c2a..0000000
--- a/techCurriculum/ui/solutions/4.2/src/App.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!'
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!'
- }
- ]
- };
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
- { cards }
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/4.2/src/components/Card.js b/techCurriculum/ui/solutions/4.2/src/components/Card.js
deleted file mode 100644
index 3f26af2..0000000
--- a/techCurriculum/ui/solutions/4.2/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/4.2/src/components/CardForm.js b/techCurriculum/ui/solutions/4.2/src/components/CardForm.js
deleted file mode 100644
index 8ab85c6..0000000
--- a/techCurriculum/ui/solutions/4.2/src/components/CardForm.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-
-class CardForm extends React.Component {
- render() {
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/4.2/src/components/Message.js b/techCurriculum/ui/solutions/4.2/src/components/Message.js
deleted file mode 100644
index 41e5ad3..0000000
--- a/techCurriculum/ui/solutions/4.2/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = () => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/4.2/src/components/Title.js b/techCurriculum/ui/solutions/4.2/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/4.2/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/4.2/src/components/User.js b/techCurriculum/ui/solutions/4.2/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/4.2/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/4.2/src/index.js b/techCurriculum/ui/solutions/4.2/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/4.2/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/4.3/src/App.js b/techCurriculum/ui/solutions/4.3/src/App.js
deleted file mode 100644
index 5167c2a..0000000
--- a/techCurriculum/ui/solutions/4.3/src/App.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!'
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!'
- }
- ]
- };
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
- { cards }
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/4.3/src/components/Card.js b/techCurriculum/ui/solutions/4.3/src/components/Card.js
deleted file mode 100644
index 3f26af2..0000000
--- a/techCurriculum/ui/solutions/4.3/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/4.3/src/components/CardForm.js b/techCurriculum/ui/solutions/4.3/src/components/CardForm.js
deleted file mode 100644
index 0bf1561..0000000
--- a/techCurriculum/ui/solutions/4.3/src/components/CardForm.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-
-class CardForm extends React.Component {
- constructor(props) {
- super(props);
- }
-
- handleSubmit = (event) => {
-
- }
-
- render() {
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/4.3/src/components/Message.js b/techCurriculum/ui/solutions/4.3/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/4.3/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/4.3/src/components/Title.js b/techCurriculum/ui/solutions/4.3/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/4.3/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/4.3/src/components/User.js b/techCurriculum/ui/solutions/4.3/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/4.3/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/4.3/src/index.js b/techCurriculum/ui/solutions/4.3/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/4.3/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/4.4/src/App.js b/techCurriculum/ui/solutions/4.4/src/App.js
deleted file mode 100644
index 5167c2a..0000000
--- a/techCurriculum/ui/solutions/4.4/src/App.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!'
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!'
- }
- ]
- };
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
- { cards }
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/4.4/src/components/Card.js b/techCurriculum/ui/solutions/4.4/src/components/Card.js
deleted file mode 100644
index 3f26af2..0000000
--- a/techCurriculum/ui/solutions/4.4/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/4.4/src/components/CardForm.js b/techCurriculum/ui/solutions/4.4/src/components/CardForm.js
deleted file mode 100644
index 0bf1561..0000000
--- a/techCurriculum/ui/solutions/4.4/src/components/CardForm.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-
-class CardForm extends React.Component {
- constructor(props) {
- super(props);
- }
-
- handleSubmit = (event) => {
-
- }
-
- render() {
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/4.4/src/components/Message.js b/techCurriculum/ui/solutions/4.4/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/4.4/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/4.4/src/components/TextInput.js b/techCurriculum/ui/solutions/4.4/src/components/TextInput.js
deleted file mode 100644
index ca438f4..0000000
--- a/techCurriculum/ui/solutions/4.4/src/components/TextInput.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-class TextInput extends React.Component {
- constructor(props) {
- super(props);
- this.state = { value: '' };
- }
-
- render() {
- return (
-
-
-
-
- )
- }
-}
-
-export default TextInput;
diff --git a/techCurriculum/ui/solutions/4.4/src/components/Title.js b/techCurriculum/ui/solutions/4.4/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/4.4/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/4.4/src/components/User.js b/techCurriculum/ui/solutions/4.4/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/4.4/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/4.4/src/index.js b/techCurriculum/ui/solutions/4.4/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/4.4/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/4.5/4.5.PNG b/techCurriculum/ui/solutions/4.5/4.5.PNG
deleted file mode 100644
index 558b6e8..0000000
Binary files a/techCurriculum/ui/solutions/4.5/4.5.PNG and /dev/null differ
diff --git a/techCurriculum/ui/solutions/4.5/src/App.js b/techCurriculum/ui/solutions/4.5/src/App.js
deleted file mode 100644
index 25b11b8..0000000
--- a/techCurriculum/ui/solutions/4.5/src/App.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-import CardForm from './components/CardForm';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!'
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!'
- }
- ]
- };
- }
-
- handleSubmit = () => {
-
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
-
- { cards }
-
-
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/4.5/src/components/Card.js b/techCurriculum/ui/solutions/4.5/src/components/Card.js
deleted file mode 100644
index 3f26af2..0000000
--- a/techCurriculum/ui/solutions/4.5/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/4.5/src/components/CardForm.js b/techCurriculum/ui/solutions/4.5/src/components/CardForm.js
deleted file mode 100644
index ac1063c..0000000
--- a/techCurriculum/ui/solutions/4.5/src/components/CardForm.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-
-class CardForm extends React.Component {
-
- handleSubmit = (event) => {
-
- }
-
- render() {
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/4.5/src/components/Message.js b/techCurriculum/ui/solutions/4.5/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/4.5/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/4.5/src/components/TextInput.js b/techCurriculum/ui/solutions/4.5/src/components/TextInput.js
deleted file mode 100644
index ca438f4..0000000
--- a/techCurriculum/ui/solutions/4.5/src/components/TextInput.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-class TextInput extends React.Component {
- constructor(props) {
- super(props);
- this.state = { value: '' };
- }
-
- render() {
- return (
-
-
-
-
- )
- }
-}
-
-export default TextInput;
diff --git a/techCurriculum/ui/solutions/4.5/src/components/Title.js b/techCurriculum/ui/solutions/4.5/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/4.5/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/4.5/src/components/User.js b/techCurriculum/ui/solutions/4.5/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/4.5/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/4.5/src/index.js b/techCurriculum/ui/solutions/4.5/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/4.5/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/4.6/src/App.js b/techCurriculum/ui/solutions/4.6/src/App.js
deleted file mode 100644
index 25b11b8..0000000
--- a/techCurriculum/ui/solutions/4.6/src/App.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-import CardForm from './components/CardForm';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!'
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!'
- }
- ]
- };
- }
-
- handleSubmit = () => {
-
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
-
- { cards }
-
-
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/4.6/src/components/Card.js b/techCurriculum/ui/solutions/4.6/src/components/Card.js
deleted file mode 100644
index 3f26af2..0000000
--- a/techCurriculum/ui/solutions/4.6/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/4.6/src/components/CardForm.js b/techCurriculum/ui/solutions/4.6/src/components/CardForm.js
deleted file mode 100644
index 0bf1561..0000000
--- a/techCurriculum/ui/solutions/4.6/src/components/CardForm.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-
-class CardForm extends React.Component {
- constructor(props) {
- super(props);
- }
-
- handleSubmit = (event) => {
-
- }
-
- render() {
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/4.6/src/components/Message.js b/techCurriculum/ui/solutions/4.6/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/4.6/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/4.6/src/components/TextInput.js b/techCurriculum/ui/solutions/4.6/src/components/TextInput.js
deleted file mode 100644
index 8eec2d5..0000000
--- a/techCurriculum/ui/solutions/4.6/src/components/TextInput.js
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-class TextInput extends React.Component {
- constructor(props) {
- super(props);
- this.state = { value: '' };
- }
-
- handleChange = (event) => {
- const value = event.target.value;
- this.setState({value: value});
- }
-
- render() {
- return (
-
-
-
-
- )
- }
-}
-
-export default TextInput;
diff --git a/techCurriculum/ui/solutions/4.6/src/components/Title.js b/techCurriculum/ui/solutions/4.6/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/4.6/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/4.6/src/components/User.js b/techCurriculum/ui/solutions/4.6/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/4.6/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/4.6/src/index.js b/techCurriculum/ui/solutions/4.6/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/4.6/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/4.7/src/App.js b/techCurriculum/ui/solutions/4.7/src/App.js
deleted file mode 100644
index 25b11b8..0000000
--- a/techCurriculum/ui/solutions/4.7/src/App.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-import CardForm from './components/CardForm';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!'
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!'
- }
- ]
- };
- }
-
- handleSubmit = () => {
-
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
-
- { cards }
-
-
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/4.7/src/components/Card.js b/techCurriculum/ui/solutions/4.7/src/components/Card.js
deleted file mode 100644
index 3f26af2..0000000
--- a/techCurriculum/ui/solutions/4.7/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/4.7/src/components/CardForm.js b/techCurriculum/ui/solutions/4.7/src/components/CardForm.js
deleted file mode 100644
index dc21fe5..0000000
--- a/techCurriculum/ui/solutions/4.7/src/components/CardForm.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-
-class CardForm extends React.Component {
- constructor(props) {
- super(props);
- this.state = {username: '', message: ''};
- }
-
- handleUsernameChange = (value) => {
- this.setState({username: value});
- }
-
- handleMessageChange = (value) => {
- this.setState({message: value});
- }
-
- handleSubmit = (event) => {
-
- }
-
- render() {
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/4.7/src/components/Message.js b/techCurriculum/ui/solutions/4.7/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/4.7/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/4.7/src/components/TextInput.js b/techCurriculum/ui/solutions/4.7/src/components/TextInput.js
deleted file mode 100644
index 0a8e32d..0000000
--- a/techCurriculum/ui/solutions/4.7/src/components/TextInput.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-class TextInput extends React.Component {
- constructor(props) {
- super(props);
- }
-
- handleChange = (event) => {
- const value = event.target.value;
- this.props.onChange(value);
- }
-
- render() {
- return (
-
-
-
-
- )
- }
-}
-
-export default TextInput;
diff --git a/techCurriculum/ui/solutions/4.7/src/components/Title.js b/techCurriculum/ui/solutions/4.7/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/4.7/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/4.7/src/components/User.js b/techCurriculum/ui/solutions/4.7/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/4.7/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/4.7/src/index.js b/techCurriculum/ui/solutions/4.7/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/4.7/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/4.8/4.8.PNG b/techCurriculum/ui/solutions/4.8/4.8.PNG
deleted file mode 100644
index 2b6d90e..0000000
Binary files a/techCurriculum/ui/solutions/4.8/4.8.PNG and /dev/null differ
diff --git a/techCurriculum/ui/solutions/4.8/src/App.js b/techCurriculum/ui/solutions/4.8/src/App.js
deleted file mode 100644
index 823b3c3..0000000
--- a/techCurriculum/ui/solutions/4.8/src/App.js
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-import CardForm from './components/CardForm';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!'
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!'
- }
- ]
- };
- }
-
- handleSubmit = (author, message) => {
- const newCard = {author: author, text: message};
- const cards = [...this.state.cards, newCard];
- this.setState({cards: cards});
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
-
- { cards }
-
-
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/4.8/src/components/Card.js b/techCurriculum/ui/solutions/4.8/src/components/Card.js
deleted file mode 100644
index 3f26af2..0000000
--- a/techCurriculum/ui/solutions/4.8/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/4.8/src/components/CardForm.js b/techCurriculum/ui/solutions/4.8/src/components/CardForm.js
deleted file mode 100644
index d6498d7..0000000
--- a/techCurriculum/ui/solutions/4.8/src/components/CardForm.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-
-class CardForm extends React.Component {
- constructor(props) {
- super(props);
- this.state = {username: '', message: ''};
- }
-
- handleUsernameChange = (value) => {
- this.setState({username: value});
- }
-
- handleMessageChange = (value) => {
- this.setState({message: value});
- }
-
- handleSubmit = (event) => {
- event.preventDefault();
- this.props.onSubmit(this.state.username, this.state.message);
- }
-
- render() {
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/4.8/src/components/Message.js b/techCurriculum/ui/solutions/4.8/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/4.8/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/4.8/src/components/TextInput.js b/techCurriculum/ui/solutions/4.8/src/components/TextInput.js
deleted file mode 100644
index e779a1c..0000000
--- a/techCurriculum/ui/solutions/4.8/src/components/TextInput.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-class TextInput extends React.Component {
-
- handleChange = (event) => {
- const value = event.target.value;
- this.props.onChange(value);
- }
-
- render() {
- return (
-
-
-
-
- )
- }
-}
-
-export default TextInput;
diff --git a/techCurriculum/ui/solutions/4.8/src/components/Title.js b/techCurriculum/ui/solutions/4.8/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/4.8/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/4.8/src/components/User.js b/techCurriculum/ui/solutions/4.8/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/4.8/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/4.8/src/index.js b/techCurriculum/ui/solutions/4.8/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/4.8/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/5.1/package.json b/techCurriculum/ui/solutions/5.1/package.json
deleted file mode 100644
index 509892d..0000000
--- a/techCurriculum/ui/solutions/5.1/package.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "name": "cards-app",
- "version": "0.1.0",
- "private": true,
- "dependencies": {
- "create-react-class": "^15.6.3",
- "react": "^16.8.6",
- "react-dom": "^16.8.6",
- "react-select": "^2.4.3"
- },
- "devDependencies": {
- "react-scripts": "3.0.1"
- },
- "scripts": {
- "start": "react-scripts start",
- "build": "react-scripts build",
- "test": "react-scripts test --env=jsdom",
- "eject": "react-scripts eject"
- },
- "eslintConfig": {
- "extends": "react-app"
- },
- "browserslist": {
- "production": [
- ">0.2%",
- "not dead",
- "not op_mini all"
- ],
- "development": [
- "last 1 chrome version",
- "last 1 firefox version",
- "last 1 safari version"
- ]
- }
-}
diff --git a/techCurriculum/ui/solutions/5.1/src/App.js b/techCurriculum/ui/solutions/5.1/src/App.js
deleted file mode 100644
index 823b3c3..0000000
--- a/techCurriculum/ui/solutions/5.1/src/App.js
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-import CardForm from './components/CardForm';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!'
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!'
- }
- ]
- };
- }
-
- handleSubmit = (author, message) => {
- const newCard = {author: author, text: message};
- const cards = [...this.state.cards, newCard];
- this.setState({cards: cards});
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
-
- { cards }
-
-
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/5.1/src/components/Card.js b/techCurriculum/ui/solutions/5.1/src/components/Card.js
deleted file mode 100644
index 3f26af2..0000000
--- a/techCurriculum/ui/solutions/5.1/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/5.1/src/components/CardForm.js b/techCurriculum/ui/solutions/5.1/src/components/CardForm.js
deleted file mode 100644
index a6cf5ee..0000000
--- a/techCurriculum/ui/solutions/5.1/src/components/CardForm.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-import Select from 'react-select';
-class CardForm extends React.Component {
- constructor(props) {
- super(props);
- this.state = {username: '', message: ''};
- }
-
- handleUsernameChange = (value) => {
- this.setState({username: value});
- }
-
- handleMessageChange = (value) => {
- this.setState({message: value});
- }
-
- handleSubmit = (event) => {
- event.preventDefault();
- this.props.onSubmit(this.state.username, this.state.message);
- }
-
- render() {
- const tagOptions = [
- { value: 'today', label: 'Today' },
- { value: 'red', label: 'Red' }
- ];
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/5.1/src/components/Message.js b/techCurriculum/ui/solutions/5.1/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/5.1/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/5.1/src/components/TextInput.js b/techCurriculum/ui/solutions/5.1/src/components/TextInput.js
deleted file mode 100644
index 3e08499..0000000
--- a/techCurriculum/ui/solutions/5.1/src/components/TextInput.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-class TextInput extends React.Component {
-
- handleChange = (event) => {
- const value = event.target.value;
- this.props.onChange(value);
- }
-
- render() {
- return (
-
-
-
-
- )
- }
-}
-
-export default TextInput;
diff --git a/techCurriculum/ui/solutions/5.1/src/components/Title.js b/techCurriculum/ui/solutions/5.1/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/5.1/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/5.1/src/components/User.js b/techCurriculum/ui/solutions/5.1/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/5.1/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/5.1/src/index.js b/techCurriculum/ui/solutions/5.1/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/5.1/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/5.2/package.json b/techCurriculum/ui/solutions/5.2/package.json
deleted file mode 100644
index 509892d..0000000
--- a/techCurriculum/ui/solutions/5.2/package.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "name": "cards-app",
- "version": "0.1.0",
- "private": true,
- "dependencies": {
- "create-react-class": "^15.6.3",
- "react": "^16.8.6",
- "react-dom": "^16.8.6",
- "react-select": "^2.4.3"
- },
- "devDependencies": {
- "react-scripts": "3.0.1"
- },
- "scripts": {
- "start": "react-scripts start",
- "build": "react-scripts build",
- "test": "react-scripts test --env=jsdom",
- "eject": "react-scripts eject"
- },
- "eslintConfig": {
- "extends": "react-app"
- },
- "browserslist": {
- "production": [
- ">0.2%",
- "not dead",
- "not op_mini all"
- ],
- "development": [
- "last 1 chrome version",
- "last 1 firefox version",
- "last 1 safari version"
- ]
- }
-}
diff --git a/techCurriculum/ui/solutions/5.2/src/App.js b/techCurriculum/ui/solutions/5.2/src/App.js
deleted file mode 100644
index 823b3c3..0000000
--- a/techCurriculum/ui/solutions/5.2/src/App.js
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-import CardForm from './components/CardForm';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!'
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!'
- }
- ]
- };
- }
-
- handleSubmit = (author, message) => {
- const newCard = {author: author, text: message};
- const cards = [...this.state.cards, newCard];
- this.setState({cards: cards});
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
-
- { cards }
-
-
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/5.2/src/components/Card.js b/techCurriculum/ui/solutions/5.2/src/components/Card.js
deleted file mode 100644
index 3f26af2..0000000
--- a/techCurriculum/ui/solutions/5.2/src/components/Card.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- return (
-
-
-
-
-
-
- );
-}
-export default Card;
diff --git a/techCurriculum/ui/solutions/5.2/src/components/CardForm.js b/techCurriculum/ui/solutions/5.2/src/components/CardForm.js
deleted file mode 100644
index 373f421..0000000
--- a/techCurriculum/ui/solutions/5.2/src/components/CardForm.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-import Select from 'react-select';
-
-class CardForm extends React.Component {
- constructor(props) {
- super(props);
- this.state = {username: '', message: '', tags: []};
- }
-
- handleUsernameChange = (value) => {
- this.setState({username: value});
- }
-
- handleMessageChange = (value) => {
- this.setState({message: value});
- }
-
- handleSubmit = (event) => {
- event.preventDefault();
- this.props.onSubmit(this.state.username, this.state.message);
- }
-
- handleTagsChange = (tagList) => {
- this.setState({tags: tagList});
- }
-
- render() {
- const tagOptions = [
- { value: 'today', label: 'Today' },
- { value: 'red', label: 'Red' }
- ];
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/5.2/src/components/Message.js b/techCurriculum/ui/solutions/5.2/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/5.2/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/5.2/src/components/TextInput.js b/techCurriculum/ui/solutions/5.2/src/components/TextInput.js
deleted file mode 100644
index 3e08499..0000000
--- a/techCurriculum/ui/solutions/5.2/src/components/TextInput.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-class TextInput extends React.Component {
-
- handleChange = (event) => {
- const value = event.target.value;
- this.props.onChange(value);
- }
-
- render() {
- return (
-
-
-
-
- )
- }
-}
-
-export default TextInput;
diff --git a/techCurriculum/ui/solutions/5.2/src/components/Title.js b/techCurriculum/ui/solutions/5.2/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/5.2/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/5.2/src/components/User.js b/techCurriculum/ui/solutions/5.2/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/5.2/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/5.2/src/index.js b/techCurriculum/ui/solutions/5.2/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/5.2/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/5.3/5.3.PNG b/techCurriculum/ui/solutions/5.3/5.3.PNG
deleted file mode 100644
index b8d7881..0000000
Binary files a/techCurriculum/ui/solutions/5.3/5.3.PNG and /dev/null differ
diff --git a/techCurriculum/ui/solutions/5.3/package.json b/techCurriculum/ui/solutions/5.3/package.json
deleted file mode 100644
index 509892d..0000000
--- a/techCurriculum/ui/solutions/5.3/package.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "name": "cards-app",
- "version": "0.1.0",
- "private": true,
- "dependencies": {
- "create-react-class": "^15.6.3",
- "react": "^16.8.6",
- "react-dom": "^16.8.6",
- "react-select": "^2.4.3"
- },
- "devDependencies": {
- "react-scripts": "3.0.1"
- },
- "scripts": {
- "start": "react-scripts start",
- "build": "react-scripts build",
- "test": "react-scripts test --env=jsdom",
- "eject": "react-scripts eject"
- },
- "eslintConfig": {
- "extends": "react-app"
- },
- "browserslist": {
- "production": [
- ">0.2%",
- "not dead",
- "not op_mini all"
- ],
- "development": [
- "last 1 chrome version",
- "last 1 firefox version",
- "last 1 safari version"
- ]
- }
-}
diff --git a/techCurriculum/ui/solutions/5.3/src/App.js b/techCurriculum/ui/solutions/5.3/src/App.js
deleted file mode 100644
index 7872923..0000000
--- a/techCurriculum/ui/solutions/5.3/src/App.js
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-import CardForm from './components/CardForm';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!',
- tags: []
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!',
- tags: []
- }
- ]
- };
- }
-
- handleSubmit = (author, message, tags) => {
- const newCard = {author: author, text: message, tags: tags};
- const cards = [...this.state.cards, newCard];
- this.setState({cards: cards});
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
-
- { cards }
-
-
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/5.3/src/components/Card.js b/techCurriculum/ui/solutions/5.3/src/components/Card.js
deleted file mode 100644
index 4f011e0..0000000
--- a/techCurriculum/ui/solutions/5.3/src/components/Card.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- const tagElements = props.tags.map((tag, index) =>
-
- {tag.value}
-
- )
- return (
-
-
-
-
-
- {tagElements}
-
- );
-}
-
-export default Card;
diff --git a/techCurriculum/ui/solutions/5.3/src/components/CardForm.js b/techCurriculum/ui/solutions/5.3/src/components/CardForm.js
deleted file mode 100644
index d037957..0000000
--- a/techCurriculum/ui/solutions/5.3/src/components/CardForm.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-import Select from 'react-select';
-
-class CardForm extends React.Component {
- constructor(props) {
- super(props);
- this.state = {username: '', message: '', tags: []};
- }
-
- handleUsernameChange = (value) => {
- this.setState({username: value});
- }
-
- handleMessageChange = (value) => {
- this.setState({message: value});
- }
-
- handleSubmit = (event) => {
- event.preventDefault();
- this.props.onSubmit(this.state.username, this.state.message, this.state.tags);
- }
-
- handleTagsChange = (tagList) => {
- this.setState({tags: tagList});
- }
-
- render() {
- const tagOptions = [
- { value: 'today', label: 'Today' },
- { value: 'red', label: 'Red' }
- ];
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/5.3/src/components/Message.js b/techCurriculum/ui/solutions/5.3/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/5.3/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/5.3/src/components/TextInput.js b/techCurriculum/ui/solutions/5.3/src/components/TextInput.js
deleted file mode 100644
index 3e08499..0000000
--- a/techCurriculum/ui/solutions/5.3/src/components/TextInput.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-class TextInput extends React.Component {
-
- handleChange = (event) => {
- const value = event.target.value;
- this.props.onChange(value);
- }
-
- render() {
- return (
-
-
-
-
- )
- }
-}
-
-export default TextInput;
diff --git a/techCurriculum/ui/solutions/5.3/src/components/Title.js b/techCurriculum/ui/solutions/5.3/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/5.3/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/5.3/src/components/User.js b/techCurriculum/ui/solutions/5.3/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/5.3/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/5.3/src/index.js b/techCurriculum/ui/solutions/5.3/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/5.3/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/6.1/6.1.PNG b/techCurriculum/ui/solutions/6.1/6.1.PNG
deleted file mode 100644
index 29742e8..0000000
Binary files a/techCurriculum/ui/solutions/6.1/6.1.PNG and /dev/null differ
diff --git a/techCurriculum/ui/solutions/6.1/package.json b/techCurriculum/ui/solutions/6.1/package.json
deleted file mode 100644
index 6b5ad5c..0000000
--- a/techCurriculum/ui/solutions/6.1/package.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "name": "cards-app",
- "version": "0.1.0",
- "private": true,
- "dependencies": {
- "create-react-class": "^15.5.3",
- "react": "^16.8.6",
- "react-dom": "^16.8.6",
- "react-select": "^2.4.3",
- "react-datepicker": "^2.5.0"
- },
- "devDependencies": {
- "react-scripts": "0.9.5"
- },
- "scripts": {
- "start": "react-scripts start",
- "build": "react-scripts build",
- "test": "react-scripts test --env=jsdom",
- "eject": "react-scripts eject"
- },
- "eslintConfig": {
- "extends": "react-app"
- },
- "browserslist": {
- "production": [
- ">0.2%",
- "not dead",
- "not op_mini all"
- ],
- "development": [
- "last 1 chrome version",
- "last 1 firefox version",
- "last 1 safari version"
- ]
- }
-}
diff --git a/techCurriculum/ui/solutions/6.1/src/App.js b/techCurriculum/ui/solutions/6.1/src/App.js
deleted file mode 100644
index 7872923..0000000
--- a/techCurriculum/ui/solutions/6.1/src/App.js
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-import CardForm from './components/CardForm';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!',
- tags: []
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!',
- tags: []
- }
- ]
- };
- }
-
- handleSubmit = (author, message, tags) => {
- const newCard = {author: author, text: message, tags: tags};
- const cards = [...this.state.cards, newCard];
- this.setState({cards: cards});
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
-
- { cards }
-
-
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/6.1/src/components/Card.js b/techCurriculum/ui/solutions/6.1/src/components/Card.js
deleted file mode 100644
index 4f011e0..0000000
--- a/techCurriculum/ui/solutions/6.1/src/components/Card.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- const tagElements = props.tags.map((tag, index) =>
-
- {tag.value}
-
- )
- return (
-
-
-
-
-
- {tagElements}
-
- );
-}
-
-export default Card;
diff --git a/techCurriculum/ui/solutions/6.1/src/components/CardForm.js b/techCurriculum/ui/solutions/6.1/src/components/CardForm.js
deleted file mode 100644
index a1b26bc..0000000
--- a/techCurriculum/ui/solutions/6.1/src/components/CardForm.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-import Select from 'react-select';
-import DatePicker from 'react-datepicker';
-import 'react-datepicker/dist/react-datepicker.css';
-
-class CardForm extends React.Component {
- constructor(props) {
- super(props);
- this.state = {username: '', message: '', tags: [], dateStamp: undefined};
- }
-
- handleUsernameChange = (value) => {
- this.setState({username: value});
- }
-
- handleMessageChange = (value) => {
- this.setState({message: value});
- }
-
- handleSubmit = (event) => {
- event.preventDefault();
- this.props.onSubmit(this.state.username, this.state.message, this.state.tags);
- }
-
- handleTagsChange = (tagList) => {
- this.setState({tags: tagList});
- }
-
- handleDateStampChange = (dateStamp) => {
- this.setState({dateStamp: dateStamp});
- }
-
- render() {
- const tagOptions = [
- { value: 'today', label: 'Today' },
- { value: 'red', label: 'Red' }
- ];
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/6.1/src/components/Message.js b/techCurriculum/ui/solutions/6.1/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/6.1/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/6.1/src/components/TextInput.js b/techCurriculum/ui/solutions/6.1/src/components/TextInput.js
deleted file mode 100644
index 3e08499..0000000
--- a/techCurriculum/ui/solutions/6.1/src/components/TextInput.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-class TextInput extends React.Component {
-
- handleChange = (event) => {
- const value = event.target.value;
- this.props.onChange(value);
- }
-
- render() {
- return (
-
-
-
-
- )
- }
-}
-
-export default TextInput;
diff --git a/techCurriculum/ui/solutions/6.1/src/components/Title.js b/techCurriculum/ui/solutions/6.1/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/6.1/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/6.1/src/components/User.js b/techCurriculum/ui/solutions/6.1/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/6.1/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/6.1/src/index.js b/techCurriculum/ui/solutions/6.1/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/6.1/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/6.2/6.2.PNG b/techCurriculum/ui/solutions/6.2/6.2.PNG
deleted file mode 100644
index f598cad..0000000
Binary files a/techCurriculum/ui/solutions/6.2/6.2.PNG and /dev/null differ
diff --git a/techCurriculum/ui/solutions/6.2/package.json b/techCurriculum/ui/solutions/6.2/package.json
deleted file mode 100644
index dcbc2ab..0000000
--- a/techCurriculum/ui/solutions/6.2/package.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "name": "cards-app",
- "version": "0.1.0",
- "private": true,
- "dependencies": {
- "create-react-class": "^15.5.3",
- "react": "^16.8.6",
- "react-dom": "^16.8.6",
- "react-datepicker": "^2.5.0",
- "react-select": "^2.4.3"
- },
- "devDependencies": {
- "react-scripts": "0.9.5"
- },
- "scripts": {
- "start": "react-scripts start",
- "build": "react-scripts build",
- "test": "react-scripts test --env=jsdom",
- "eject": "react-scripts eject"
- },
- "eslintConfig": {
- "extends": "react-app"
- },
- "browserslist": {
- "production": [
- ">0.2%",
- "not dead",
- "not op_mini all"
- ],
- "development": [
- "last 1 chrome version",
- "last 1 firefox version",
- "last 1 safari version"
- ]
- }
-}
diff --git a/techCurriculum/ui/solutions/6.2/src/App.js b/techCurriculum/ui/solutions/6.2/src/App.js
deleted file mode 100644
index e1c3ccf..0000000
--- a/techCurriculum/ui/solutions/6.2/src/App.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-import CardForm from './components/CardForm';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!',
- tags: []
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!',
- tags: []
- }
- ]
- };
- }
-
- handleSubmit = (author, message, tags, dateStamp) => {
- const newCard = {author: author, text: message, tags: tags, dateStamp: dateStamp};
- const cards = [...this.state.cards, newCard];
- this.setState({cards: cards});
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
-
- { cards }
-
-
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/6.2/src/components/Card.js b/techCurriculum/ui/solutions/6.2/src/components/Card.js
deleted file mode 100644
index 9d1daf0..0000000
--- a/techCurriculum/ui/solutions/6.2/src/components/Card.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- const tagElements = props.tags.map((tag, index) =>
-
- );
-}
-
-export default Card;
diff --git a/techCurriculum/ui/solutions/6.2/src/components/CardForm.js b/techCurriculum/ui/solutions/6.2/src/components/CardForm.js
deleted file mode 100644
index a3bfe00..0000000
--- a/techCurriculum/ui/solutions/6.2/src/components/CardForm.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-import Select from 'react-select';
-import DatePicker from 'react-datepicker';
-import 'react-datepicker/dist/react-datepicker.css';
-
-class CardForm extends React.Component {
- constructor(props) {
- super(props);
- this.state = {username: '', message: '', tags: [], dateStamp: undefined};
- }
-
- handleUsernameChange = (value) => {
- this.setState({username: value});
- }
-
- handleMessageChange = (value) => {
- this.setState({message: value});
- }
-
- handleSubmit = (event) => {
- event.preventDefault();
- this.props.onSubmit(this.state.username, this.state.message, this.state.tags, this.state.dateStamp);
- }
-
- handleTagsChange = (tagList) => {
- this.setState({tags: tagList});
- }
-
- handleDateStampChange = (dateStamp) => {
- this.setState({dateStamp: dateStamp});
- }
-
- render() {
- const tagOptions = [
- { value: 'today', label: 'Today' },
- { value: 'red', label: 'Red' }
- ];
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/6.2/src/components/Message.js b/techCurriculum/ui/solutions/6.2/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/6.2/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/6.2/src/components/TextInput.js b/techCurriculum/ui/solutions/6.2/src/components/TextInput.js
deleted file mode 100644
index 3e08499..0000000
--- a/techCurriculum/ui/solutions/6.2/src/components/TextInput.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-class TextInput extends React.Component {
-
- handleChange = (event) => {
- const value = event.target.value;
- this.props.onChange(value);
- }
-
- render() {
- return (
-
-
-
-
- )
- }
-}
-
-export default TextInput;
diff --git a/techCurriculum/ui/solutions/6.2/src/components/Title.js b/techCurriculum/ui/solutions/6.2/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/6.2/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/6.2/src/components/User.js b/techCurriculum/ui/solutions/6.2/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/6.2/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/6.2/src/index.js b/techCurriculum/ui/solutions/6.2/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/6.2/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/7.1/7.1.PNG b/techCurriculum/ui/solutions/7.1/7.1.PNG
deleted file mode 100644
index b4850c6..0000000
Binary files a/techCurriculum/ui/solutions/7.1/7.1.PNG and /dev/null differ
diff --git a/techCurriculum/ui/solutions/7.1/package.json b/techCurriculum/ui/solutions/7.1/package.json
deleted file mode 100644
index bc2077b..0000000
--- a/techCurriculum/ui/solutions/7.1/package.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "name": "cards-app",
- "version": "0.1.0",
- "private": true,
- "dependencies": {
- "create-react-class": "^15.5.3",
- "highcharts": "5.0.11",
- "moment": "^2.24.0",
- "react": "^16.8.6",
- "react-dom": "^16.8.6",
- "react-datepicker": "^2.5.0",
- "react-select": "^2.4.3"
- },
- "devDependencies": {
- "react-scripts": "0.9.5"
- },
- "scripts": {
- "start": "react-scripts start",
- "build": "react-scripts build",
- "test": "react-scripts test --env=jsdom",
- "eject": "react-scripts eject"
- },
- "eslintConfig": {
- "extends": "react-app"
- },
- "browserslist": {
- "production": [
- ">0.2%",
- "not dead",
- "not op_mini all"
- ],
- "development": [
- "last 1 chrome version",
- "last 1 firefox version",
- "last 1 safari version"
- ]
- }
-}
diff --git a/techCurriculum/ui/solutions/7.1/src/App.js b/techCurriculum/ui/solutions/7.1/src/App.js
deleted file mode 100644
index bfa1d67..0000000
--- a/techCurriculum/ui/solutions/7.1/src/App.js
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Title from './components/Title';
-import Card from './components/Card';
-import CardForm from './components/CardForm';
-import LineChart from './components/LineChart';
-import JohnData from './data/john_posts.json';
-import JaneData from './data/jane_posts.json';
-
-class App extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- cards: [
- {
- author: 'John Smith',
- text: 'React is so cool!',
- tags: []
- },
- {
- author: 'Jane Doe',
- text: 'I use React for all my projects!',
- tags: []
- }
- ]
- };
- }
-
- handleSubmit = (author, message, tags, dateStamp) => {
- const newCard = {author, text: message, tags, dateStamp};
- const cards = [...this.state.cards, newCard];
- this.setState({cards: cards});
- }
-
- render() {
- const cards = this.state.cards.map((card, index) => (
-
- ));
-
- return (
-
-
-
-
- { cards }
-
-
-
-
-
- );
- }
-}
-
-export default App;
diff --git a/techCurriculum/ui/solutions/7.1/src/components/Card.js b/techCurriculum/ui/solutions/7.1/src/components/Card.js
deleted file mode 100644
index 9d1daf0..0000000
--- a/techCurriculum/ui/solutions/7.1/src/components/Card.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import User from './User';
-import Message from './Message';
-
-const Card = (props) => {
- const tagElements = props.tags.map((tag, index) =>
-
- );
-}
-
-export default Card;
diff --git a/techCurriculum/ui/solutions/7.1/src/components/CardForm.js b/techCurriculum/ui/solutions/7.1/src/components/CardForm.js
deleted file mode 100644
index a3bfe00..0000000
--- a/techCurriculum/ui/solutions/7.1/src/components/CardForm.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import TextInput from './TextInput.js'
-import Select from 'react-select';
-import DatePicker from 'react-datepicker';
-import 'react-datepicker/dist/react-datepicker.css';
-
-class CardForm extends React.Component {
- constructor(props) {
- super(props);
- this.state = {username: '', message: '', tags: [], dateStamp: undefined};
- }
-
- handleUsernameChange = (value) => {
- this.setState({username: value});
- }
-
- handleMessageChange = (value) => {
- this.setState({message: value});
- }
-
- handleSubmit = (event) => {
- event.preventDefault();
- this.props.onSubmit(this.state.username, this.state.message, this.state.tags, this.state.dateStamp);
- }
-
- handleTagsChange = (tagList) => {
- this.setState({tags: tagList});
- }
-
- handleDateStampChange = (dateStamp) => {
- this.setState({dateStamp: dateStamp});
- }
-
- render() {
- const tagOptions = [
- { value: 'today', label: 'Today' },
- { value: 'red', label: 'Red' }
- ];
- return (
-
- );
- }
-}
-
-export default CardForm;
diff --git a/techCurriculum/ui/solutions/7.1/src/components/LineChart.js b/techCurriculum/ui/solutions/7.1/src/components/LineChart.js
deleted file mode 100644
index e15cb43..0000000
--- a/techCurriculum/ui/solutions/7.1/src/components/LineChart.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import Highcharts from 'highcharts';
-
-class LineChart extends React.Component {
- constructor(props) {
- super(props);
- this.highchartsOptions = {
- title: {
- text: 'Posts Per Month'
- },
- xAxis: {
- categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
- 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
- },
- yAxis: {
- title: {
- text: 'Number of Posts'
- }
- },
- series: [{
- name: 'John Smith',
- marker: {
- symbol: 'square'
- },
- data: props.dataOne
-
- }, {
- name: 'Jane Doe',
- marker: {
- symbol: 'diamond'
- },
- data: props.dataTwo
- }]
- }
- }
-
- componentDidMount() {
- Highcharts.chart('chart', this.highchartsOptions);
- }
-
- render() {
- return
- }
-}
-
-export default LineChart;
diff --git a/techCurriculum/ui/solutions/7.1/src/components/Message.js b/techCurriculum/ui/solutions/7.1/src/components/Message.js
deleted file mode 100644
index 8f99be4..0000000
--- a/techCurriculum/ui/solutions/7.1/src/components/Message.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Message = (props) => {
- return (
-
-
{props.text}
-
- );
-}
-
-export default Message;
diff --git a/techCurriculum/ui/solutions/7.1/src/components/TextInput.js b/techCurriculum/ui/solutions/7.1/src/components/TextInput.js
deleted file mode 100644
index e779a1c..0000000
--- a/techCurriculum/ui/solutions/7.1/src/components/TextInput.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-class TextInput extends React.Component {
-
- handleChange = (event) => {
- const value = event.target.value;
- this.props.onChange(value);
- }
-
- render() {
- return (
-
-
-
-
- )
- }
-}
-
-export default TextInput;
diff --git a/techCurriculum/ui/solutions/7.1/src/components/Title.js b/techCurriculum/ui/solutions/7.1/src/components/Title.js
deleted file mode 100644
index ffe6fc2..0000000
--- a/techCurriculum/ui/solutions/7.1/src/components/Title.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const Title = () => {
- return (
-
-
Cards
-
Share your ideas
-
- );
-}
-
-export default Title;
diff --git a/techCurriculum/ui/solutions/7.1/src/components/User.js b/techCurriculum/ui/solutions/7.1/src/components/User.js
deleted file mode 100644
index 22dbc4f..0000000
--- a/techCurriculum/ui/solutions/7.1/src/components/User.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-
-const User = (props) => {
- return (
-
-
-
{props.name}
-
- );
-}
-
-export default User;
diff --git a/techCurriculum/ui/solutions/7.1/src/data/jane_posts.json b/techCurriculum/ui/solutions/7.1/src/data/jane_posts.json
deleted file mode 100644
index 26145a4..0000000
--- a/techCurriculum/ui/solutions/7.1/src/data/jane_posts.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "data" : [3.9, 4.2, 5.7, 8.5, 27.9, 19.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8]
-}
\ No newline at end of file
diff --git a/techCurriculum/ui/solutions/7.1/src/data/john_posts.json b/techCurriculum/ui/solutions/7.1/src/data/john_posts.json
deleted file mode 100644
index d1ce9aa..0000000
--- a/techCurriculum/ui/solutions/7.1/src/data/john_posts.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "data" : [2.0, 4.9, 9.5, 14.5, 3.2, 21.5, 15.2, 8.5, 9.3, 18.3, 13.9, 9.6]
-}
\ No newline at end of file
diff --git a/techCurriculum/ui/solutions/7.1/src/index.js b/techCurriculum/ui/solutions/7.1/src/index.js
deleted file mode 100644
index b5b6b40..0000000
--- a/techCurriculum/ui/solutions/7.1/src/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
-* Copyright 2019 Goldman Sachs.
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-**/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-import App from './App';
-import './stylesheet.css';
-
-ReactDOM.render(
- ,
- document.getElementById('root')
-);
diff --git a/techCurriculum/ui/solutions/SOLUTION_DIFF_URLS.txt b/techCurriculum/ui/solutions/SOLUTION_DIFF_URLS.txt
deleted file mode 100644
index 8f94099..0000000
--- a/techCurriculum/ui/solutions/SOLUTION_DIFF_URLS.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-Copyright 2019 Goldman Sachs.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
-1.1 https://github.com/tadas412/EngineeringEssentials/commit/4706f420480e3cc31ef1f64349a9dd6493f02ffa
-2.1 https://github.com/tadas412/EngineeringEssentials/commit/7d19db8f14fd848bdd5b2d99202cfabeca0737ca
-2.2 https://github.com/tadas412/EngineeringEssentials/commit/51cf3f4b0fa965e0c3a67ecc66d17d47697b0b1a
-2.3 https://github.com/tadas412/EngineeringEssentials/commit/60e4d4df083bef1c6e45830c05eda502794cb508
-2.4 https://github.com/tadas412/EngineeringEssentials/commit/85ed3b3ae73805a914ecfddda08add7bbf45870d
-2.5 https://github.com/tadas412/EngineeringEssentials/commit/41d5fdaa68bd7a785e21e79c866a8e1d521d8e93
-2.6 https://github.com/tadas412/EngineeringEssentials/commit/c2167536abd0a8fbc7e3e89c2b6c007503c43ec0
-2.7 https://github.com/tadas412/EngineeringEssentials/commit/b9a6b6b75ba9f25919b1bea08b98dd7091334980
-3.1 https://github.com/tadas412/EngineeringEssentials/commit/87a446515e5c39567f15842797f230c9586accd3
-3.2 https://github.com/tadas412/EngineeringEssentials/commit/f4924e5fbdbf402d50b6e26d6daa425db09e3aa6
-3.3 https://github.com/tadas412/EngineeringEssentials/commit/5fd2a8553beb4b520939c69fddd945b60ccc6ca8
-4.1 https://github.com/tadas412/EngineeringEssentials/commit/de081f2cda4c722877154b15e0a46c5e3b2dd6ae
-4.2 https://github.com/tadas412/EngineeringEssentials/commit/f221a0991207ef29d678838d0a8e14886527a59d
-4.3 https://github.com/tadas412/EngineeringEssentials/commit/c65b027bcab09cb59baa10d0e7eaf0144c4d289d
-4.4 https://github.com/tadas412/EngineeringEssentials/commit/df422b48f8328229e2903de4e3e691e3ad517131
-4.5 https://github.com/tadas412/EngineeringEssentials/commit/72a3309275a2216de298217798174ab6b8f07d1c
-4.6 https://github.com/tadas412/EngineeringEssentials/commit/4b191e999d8f330b6c5847a84a8fa61d379f0a38
-4.7 https://github.com/tadas412/EngineeringEssentials/commit/df2463e0adca910d3478b4ae6bd19429a9dc06cf
-4.8 https://github.com/tadas412/EngineeringEssentials/commit/cb678fc9cd64cdf4607016f6ef545a25c843cca1
-5.1 https://github.com/tadas412/EngineeringEssentials/commit/7622883b90fb69691145c7a361cbada4cc8b5517
-5.2 https://github.com/tadas412/EngineeringEssentials/commit/c6b46e91240faf8640042c5e556c79a2ec877da7
-5.3 https://github.com/tadas412/EngineeringEssentials/commit/b405e63e1a4cf0a085e538e924894e034c7a5dae
-6.1 https://github.com/tadas412/EngineeringEssentials/commit/9768c3e0aeb6c34fb0a956987cdb1d8925ea8815
-6.2 https://github.com/tadas412/EngineeringEssentials/commit/958c92599160e9f78e8139cfd6887f5a4cd4ffa3
-7.1 https://github.com/tadas412/EngineeringEssentials/commit/3e242fc8b58e450287c902718e60f3a1a5a40613
\ No newline at end of file
diff --git a/techCurriculum/ui/starter_code/cards-app/.gitignore b/techCurriculum/ui/starter_code/cards-app/.gitignore
deleted file mode 100644
index 1256c7f..0000000
--- a/techCurriculum/ui/starter_code/cards-app/.gitignore
+++ /dev/null
@@ -1,19 +0,0 @@
-# See https://help.github.com/ignore-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-
-# testing
-/coverage
-
-# production
-/build
-
-# misc
-.DS_Store
-.env
-.vscode/
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
diff --git a/techCurriculum/ui/starter_code/cards-app/README.md b/techCurriculum/ui/starter_code/cards-app/README.md
deleted file mode 100644
index 828f097..0000000
--- a/techCurriculum/ui/starter_code/cards-app/README.md
+++ /dev/null
@@ -1,1623 +0,0 @@
-This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
-
-Below you will find some information on how to perform common tasks.
-You can find the most recent version of this guide [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md).
-
-## Table of Contents
-
-- [Updating to New Releases](#updating-to-new-releases)
-- [Sending Feedback](#sending-feedback)
-- [Folder Structure](#folder-structure)
-- [Available Scripts](#available-scripts)
- - [npm start](#npm-start)
- - [npm test](#npm-test)
- - [npm run build](#npm-run-build)
- - [npm run eject](#npm-run-eject)
-- [Supported Language Features and Polyfills](#supported-language-features-and-polyfills)
-- [Syntax Highlighting in the Editor](#syntax-highlighting-in-the-editor)
-- [Displaying Lint Output in the Editor](#displaying-lint-output-in-the-editor)
-- [Debugging in the Editor](#debugging-in-the-editor)
-- [Changing the Page ``](#changing-the-page-title)
-- [Installing a Dependency](#installing-a-dependency)
-- [Importing a Component](#importing-a-component)
-- [Adding a Stylesheet](#adding-a-stylesheet)
-- [Post-Processing CSS](#post-processing-css)
-- [Adding a CSS Preprocessor (Sass, Less etc.)](#adding-a-css-preprocessor-sass-less-etc)
-- [Adding Images and Fonts](#adding-images-and-fonts)
-- [Using the `public` Folder](#using-the-public-folder)
- - [Changing the HTML](#changing-the-html)
- - [Adding Assets Outside of the Module System](#adding-assets-outside-of-the-module-system)
- - [When to Use the `public` Folder](#when-to-use-the-public-folder)
-- [Using Global Variables](#using-global-variables)
-- [Adding Bootstrap](#adding-bootstrap)
- - [Using a Custom Theme](#using-a-custom-theme)
-- [Adding Flow](#adding-flow)
-- [Adding Custom Environment Variables](#adding-custom-environment-variables)
- - [Referencing Environment Variables in the HTML](#referencing-environment-variables-in-the-html)
- - [Adding Temporary Environment Variables In Your Shell](#adding-temporary-environment-variables-in-your-shell)
- - [Adding Development Environment Variables In `.env`](#adding-development-environment-variables-in-env)
-- [Can I Use Decorators?](#can-i-use-decorators)
-- [Integrating with an API Backend](#integrating-with-an-api-backend)
- - [Node](#node)
- - [Ruby on Rails](#ruby-on-rails)
-- [Proxying API Requests in Development](#proxying-api-requests-in-development)
-- [Using HTTPS in Development](#using-https-in-development)
-- [Generating Dynamic `` Tags on the Server](#generating-dynamic-meta-tags-on-the-server)
-- [Pre-Rendering into Static HTML Files](#pre-rendering-into-static-html-files)
-- [Injecting Data from the Server into the Page](#injecting-data-from-the-server-into-the-page)
-- [Running Tests](#running-tests)
- - [Filename Conventions](#filename-conventions)
- - [Command Line Interface](#command-line-interface)
- - [Version Control Integration](#version-control-integration)
- - [Writing Tests](#writing-tests)
- - [Testing Components](#testing-components)
- - [Using Third Party Assertion Libraries](#using-third-party-assertion-libraries)
- - [Initializing Test Environment](#initializing-test-environment)
- - [Focusing and Excluding Tests](#focusing-and-excluding-tests)
- - [Coverage Reporting](#coverage-reporting)
- - [Continuous Integration](#continuous-integration)
- - [Disabling jsdom](#disabling-jsdom)
- - [Snapshot Testing](#snapshot-testing)
- - [Editor Integration](#editor-integration)
-- [Developing Components in Isolation](#developing-components-in-isolation)
-- [Making a Progressive Web App](#making-a-progressive-web-app)
-- [Deployment](#deployment)
- - [Static Server](#static-server)
- - [Other Solutions](#other-solutions)
- - [Serving Apps with Client-Side Routing](#serving-apps-with-client-side-routing)
- - [Building for Relative Paths](#building-for-relative-paths)
- - [Azure](#azure)
- - [Firebase](#firebase)
- - [GitHub Pages](#github-pages)
- - [Heroku](#heroku)
- - [Modulus](#modulus)
- - [Netlify](#netlify)
- - [Now](#now)
- - [S3 and CloudFront](#s3-and-cloudfront)
- - [Surge](#surge)
-- [Advanced Configuration](#advanced-configuration)
-- [Troubleshooting](#troubleshooting)
- - [`npm start` doesn’t detect changes](#npm-start-doesnt-detect-changes)
- - [`npm test` hangs on macOS Sierra](#npm-test-hangs-on-macos-sierra)
- - [`npm run build` silently fails](#npm-run-build-silently-fails)
- - [`npm run build` fails on Heroku](#npm-run-build-fails-on-heroku)
-- [Something Missing?](#something-missing)
-
-## Updating to New Releases
-
-Create React App is divided into two packages:
-
-* `create-react-app` is a global command-line utility that you use to create new projects.
-* `react-scripts` is a development dependency in the generated projects (including this one).
-
-You almost never need to update `create-react-app` itself: it delegates all the setup to `react-scripts`.
-
-When you run `create-react-app`, it always creates the project with the latest version of `react-scripts` so you’ll get all the new features and improvements in newly created apps automatically.
-
-To update an existing project to a new version of `react-scripts`, [open the changelog](https://github.com/facebookincubator/create-react-app/blob/master/CHANGELOG.md), find the version you’re currently on (check `package.json` in this folder if you’re not sure), and apply the migration instructions for the newer versions.
-
-In most cases bumping the `react-scripts` version in `package.json` and running `npm install` in this folder should be enough, but it’s good to consult the [changelog](https://github.com/facebookincubator/create-react-app/blob/master/CHANGELOG.md) for potential breaking changes.
-
-We commit to keeping the breaking changes minimal so you can upgrade `react-scripts` painlessly.
-
-## Sending Feedback
-
-We are always open to [your feedback](https://github.com/facebookincubator/create-react-app/issues).
-
-## Folder Structure
-
-After creation, your project should look like this:
-
-```
-my-app/
- README.md
- node_modules/
- package.json
- public/
- index.html
- favicon.ico
- src/
- App.css
- App.js
- App.test.js
- index.css
- index.js
- logo.svg
-```
-
-For the project to build, **these files must exist with exact filenames**:
-
-* `public/index.html` is the page template;
-* `src/index.js` is the JavaScript entry point.
-
-You can delete or rename the other files.
-
-You may create subdirectories inside `src`. For faster rebuilds, only files inside `src` are processed by Webpack.
-You need to **put any JS and CSS files inside `src`**, or Webpack won’t see them.
-
-Only files inside `public` can be used from `public/index.html`.
-Read instructions below for using assets from JavaScript and HTML.
-
-You can, however, create more top-level directories.
-They will not be included in the production build so you can use them for things like documentation.
-
-## Available Scripts
-
-In the project directory, you can run:
-
-### `npm start`
-
-Runs the app in the development mode.
-Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
-
-The page will reload if you make edits.
-You will also see any lint errors in the console.
-
-### `npm test`
-
-Launches the test runner in the interactive watch mode.
-See the section about [running tests](#running-tests) for more information.
-
-### `npm run build`
-
-Builds the app for production to the `build` folder.
-It correctly bundles React in production mode and optimizes the build for the best performance.
-
-The build is minified and the filenames include the hashes.
-Your app is ready to be deployed!
-
-See the section about [deployment](#deployment) for more information.
-
-### `npm run eject`
-
-**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
-
-If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
-
-Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
-
-You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
-
-## Supported Language Features and Polyfills
-
-This project supports a superset of the latest JavaScript standard.
-In addition to [ES6](https://github.com/lukehoban/es6features) syntax features, it also supports:
-
-* [Exponentiation Operator](https://github.com/rwaldron/exponentiation-operator) (ES2016).
-* [Async/await](https://github.com/tc39/ecmascript-asyncawait) (ES2018).
-* [Object Rest/Spread Properties](https://github.com/sebmarkbage/ecmascript-rest-spread) (stage 3 proposal).
-* [Class Fields and Static Properties](https://github.com/tc39/proposal-class-public-fields) (stage 2 proposal).
-* [JSX](https://facebook.github.io/react/docs/introducing-jsx.html) and [Flow](https://flowtype.org/) syntax.
-
-Learn more about [different proposal stages](https://babeljs.io/docs/plugins/#presets-stage-x-experimental-presets-).
-
-While we recommend to use experimental proposals with some caution, Facebook heavily uses these features in the product code, so we intend to provide [codemods](https://medium.com/@cpojer/effective-javascript-codemods-5a6686bb46fb) if any of these proposals change in the future.
-
-Note that **the project only includes a few ES6 [polyfills](https://en.wikipedia.org/wiki/Polyfill)**:
-
-* [`Object.assign()`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) via [`object-assign`](https://github.com/sindresorhus/object-assign).
-* [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) via [`promise`](https://github.com/then/promise).
-* [`fetch()`](https://developer.mozilla.org/en/docs/Web/API/Fetch_API) via [`whatwg-fetch`](https://github.com/github/fetch).
-
-If you use any other ES6+ features that need **runtime support** (such as `Array.from()` or `Symbol`), make sure you are including the appropriate polyfills manually, or that the browsers you are targeting already support them.
-
-## Syntax Highlighting in the Editor
-
-To configure the syntax highlighting in your favorite text editor, head to the [relevant Babel documentation page](https://babeljs.io/docs/editors) and follow the instructions. Some of the most popular editors are covered.
-
-## Displaying Lint Output in the Editor
-
->Note: this feature is available with `react-scripts@0.2.0` and higher.
-
-Some editors, including Sublime Text, Atom, and Visual Studio Code, provide plugins for ESLint.
-
-They are not required for linting. You should see the linter output right in your terminal as well as the browser console. However, if you prefer the lint results to appear right in your editor, there are some extra steps you can do.
-
-You would need to install an ESLint plugin for your editor first.
-
->**A note for Atom `linter-eslint` users**
-
->If you are using the Atom `linter-eslint` plugin, make sure that **Use global ESLint installation** option is checked:
-
->
-
-
->**For Visual Studio Code users**
-
->VS Code ESLint plugin automatically detects Create React App's configuration file. So you do not need to create `eslintrc.json` at the root directory, except when you want to add your own rules. In that case, you should include CRA's config by adding this line:
-
->```js
-{
- // ...
- "extends": "react-app"
-}
-```
-
-Then add this block to the `package.json` file of your project:
-
-```js
-{
- // ...
- "eslintConfig": {
- "extends": "react-app"
- }
-}
-```
-
-Finally, you will need to install some packages *globally*:
-
-```sh
-npm install -g eslint-config-react-app@0.3.0 eslint@3.8.1 babel-eslint@7.0.0 eslint-plugin-react@6.4.1 eslint-plugin-import@2.0.1 eslint-plugin-jsx-a11y@4.0.0 eslint-plugin-flowtype@2.21.0
-```
-
-We recognize that this is suboptimal, but it is currently required due to the way we hide the ESLint dependency. The ESLint team is already [working on a solution to this](https://github.com/eslint/eslint/issues/3458) so this may become unnecessary in a couple of months.
-
-## Debugging in the Editor
-
-**This feature is currently only supported by [Visual Studio Code](https://code.visualstudio.com) editor.**
-
-Visual Studio Code supports live-editing and debugging out of the box with Create React App. This enables you as a developer to write and debug your React code without leaving the editor, and most importantly it enables you to have a continuous development workflow, where context switching is minimal, as you don’t have to switch between tools.
-
-You would need to have the latest version of [VS Code](https://code.visualstudio.com) and VS Code [Chrome Debugger Extension](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) installed.
-
-Then add the block below to your `launch.json` file and put it inside the `.vscode` folder in your app’s root directory.
-
-```json
-{
- "version": "0.2.0",
- "configurations": [{
- "name": "Chrome",
- "type": "chrome",
- "request": "launch",
- "url": "http://localhost:3000",
- "webRoot": "${workspaceRoot}/src",
- "userDataDir": "${workspaceRoot}/.vscode/chrome",
- "sourceMapPathOverrides": {
- "webpack:///src/*": "${webRoot}/*"
- }
- }]
-}
-```
-
-Start your app by running `npm start`, and start debugging in VS Code by pressing `F5` or by clicking the green debug icon. You can now write code, set breakpoints, make changes to the code, and debug your newly modified code—all from your editor.
-
-## Changing the Page ``
-
-You can find the source HTML file in the `public` folder of the generated project. You may edit the `` tag in it to change the title from “React App” to anything else.
-
-Note that normally you wouldn’t edit files in the `public` folder very often. For example, [adding a stylesheet](#adding-a-stylesheet) is done without touching the HTML.
-
-If you need to dynamically update the page title based on the content, you can use the browser [`document.title`](https://developer.mozilla.org/en-US/docs/Web/API/Document/title) API. For more complex scenarios when you want to change the title from React components, you can use [React Helmet](https://github.com/nfl/react-helmet), a third party library.
-
-If you use a custom server for your app in production and want to modify the title before it gets sent to the browser, you can follow advice in [this section](#generating-dynamic-meta-tags-on-the-server). Alternatively, you can pre-build each page as a static HTML file which then loads the JavaScript bundle, which is covered [here](#pre-rendering-into-static-html-files).
-
-## Installing a Dependency
-
-The generated project includes React and ReactDOM as dependencies. It also includes a set of scripts used by Create React App as a development dependency. You may install other dependencies (for example, React Router) with `npm`:
-
-```
-npm install --save
-```
-
-## Importing a Component
-
-This project setup supports ES6 modules thanks to Babel.
-While you can still use `require()` and `module.exports`, we encourage you to use [`import` and `export`](http://exploringjs.com/es6/ch_modules.html) instead.
-
-For example:
-
-### `Button.js`
-
-```js
-import React, { Component } from 'react';
-
-class Button extends Component {
- render() {
- // ...
- }
-}
-
-export default Button; // Don’t forget to use export default!
-```
-
-### `DangerButton.js`
-
-
-```js
-import React, { Component } from 'react';
-import Button from './Button'; // Import a component from another file
-
-class DangerButton extends Component {
- render() {
- return ;
- }
-}
-
-export default DangerButton;
-```
-
-Be aware of the [difference between default and named exports](http://stackoverflow.com/questions/36795819/react-native-es-6-when-should-i-use-curly-braces-for-import/36796281#36796281). It is a common source of mistakes.
-
-We suggest that you stick to using default imports and exports when a module only exports a single thing (for example, a component). That’s what you get when you use `export default Button` and `import Button from './Button'`.
-
-Named exports are useful for utility modules that export several functions. A module may have at most one default export and as many named exports as you like.
-
-Learn more about ES6 modules:
-
-* [When to use the curly braces?](http://stackoverflow.com/questions/36795819/react-native-es-6-when-should-i-use-curly-braces-for-import/36796281#36796281)
-* [Exploring ES6: Modules](http://exploringjs.com/es6/ch_modules.html)
-* [Understanding ES6: Modules](https://leanpub.com/understandinges6/read#leanpub-auto-encapsulating-code-with-modules)
-
-## Adding a Stylesheet
-
-This project setup uses [Webpack](https://webpack.github.io/) for handling all assets. Webpack offers a custom way of “extending” the concept of `import` beyond JavaScript. To express that a JavaScript file depends on a CSS file, you need to **import the CSS from the JavaScript file**:
-
-### `Button.css`
-
-```css
-.Button {
- padding: 20px;
-}
-```
-
-### `Button.js`
-
-```js
-import React, { Component } from 'react';
-import './Button.css'; // Tell Webpack that Button.js uses these styles
-
-class Button extends Component {
- render() {
- // You can use them as regular CSS styles
- return ;
- }
-}
-```
-
-**This is not required for React** but many people find this feature convenient. You can read about the benefits of this approach [here](https://medium.com/seek-ui-engineering/block-element-modifying-your-javascript-components-d7f99fcab52b). However you should be aware that this makes your code less portable to other build tools and environments than Webpack.
-
-In development, expressing dependencies this way allows your styles to be reloaded on the fly as you edit them. In production, all CSS files will be concatenated into a single minified `.css` file in the build output.
-
-If you are concerned about using Webpack-specific semantics, you can put all your CSS right into `src/index.css`. It would still be imported from `src/index.js`, but you could always remove that import if you later migrate to a different build tool.
-
-## Post-Processing CSS
-
-This project setup minifies your CSS and adds vendor prefixes to it automatically through [Autoprefixer](https://github.com/postcss/autoprefixer) so you don’t need to worry about it.
-
-For example, this:
-
-```css
-.App {
- display: flex;
- flex-direction: row;
- align-items: center;
-}
-```
-
-becomes this:
-
-```css
-.App {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-```
-
-If you need to disable autoprefixing for some reason, [follow this section](https://github.com/postcss/autoprefixer#disabling).
-
-## Adding a CSS Preprocessor (Sass, Less etc.)
-
-Generally, we recommend that you don’t reuse the same CSS classes across different components. For example, instead of using a `.Button` CSS class in `` and `` components, we recommend creating a `