- src
- controllers
- UserController.ts
- FormController.ts
- QuestionController.ts
- ResponseController.ts
- models
- User.ts
- Form.ts
- controllers
- Question.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"body": "What is the time value of money?", | |
"answer": "The time value of money is the concept that states money today is worth more than the same amount in the future due to its potential earning capacity and the effects of inflation.", | |
"c1": "The time value of money refers to the importance of being punctual in financial transactions.", | |
"c2": "The time value of money refers to the idea that money should be spent wisely over time.", | |
"c3": "The time value of money refers to the consideration of time as a factor in investment decisions.", | |
"w1": "The time value of money is a term used in the field of physics to describe the measurement of time.", | |
"w2": "The time value of money refers to the concept that money is more valuable during certain times of the year.", | |
"w3": "The time value of money refers to the idea that money can be exchanged for goods and services at any time.", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"insuranceCard":{"insuranceType":"secondary","frontImage":"/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAYAAIdpAAQAAAABAAAAJgAAAAAAAqACAAQAAAABAAANZqADAAQAAAABAAAJSAAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/+ICKElDQ19QUk9GSUxFAAEBAAACGGFwcGwEAAAAbW50clJHQiBYWVogB+YAAQABAAAAAAAAYWNzcEFQUEwAAAAAQVBQTAAAAAAAAAAAAAAAAAAAAAAAAPbWAAEAAAAA0y1hcHBs7P2jjjiFR8NttL1PetoYLwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKZGVzYwAAAPwAAAAwY3BydAAAASwAAABQd3RwdAAAAXwAAAAUclhZWgAAAZAAAAAUZ1hZWgAAAaQAAAAUYlhZWgAAAbgAAAAUclRSQwAAAcwAAAAgY2hhZAAAAewAAAAsYlRSQwAAAcwAAAAgZ1RSQwAAAcwAAAAgbWx1YwAAAAAAAAABAAAADGVuVVMAAAAUAAAAHABEAGkAcwBwAGwAYQB5ACAAUAAzbWx1YwAAAAAAAAABAAAADGVuVVMAAAA0AAAAHABDAG8AcAB5AHIAaQBnAGgAdAAgAEEAcABwAGwAZQAgAEkAbgBjAC4ALAAgADIAMAAyADJYWVogAAAAAAAA9tUAAQAAAADTLFhZWiAAAAAAAACD3wAAPb////+7WFlaIAAAAAAAAEq/AACxNwAACrlYWVogAAAAAAAAKDgAABELAADIuXBhcmEAAAAAAAMAAAACZmYAAPKnAAANWQAAE9AAAApbc2YzMgAAAAAAAQxCAAAF3v//8yYAAAeTAAD9kP//+6L///2jAAAD3AAAwG7/wAARCAlIDWYDASIA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Portfolio GetPortfolioById(int id, String period = "live") | |
{ | |
var portfolioQuery = _context.Portfolios.Where(p => p.Id == id); | |
Portfolio portfolio; | |
switch (period) | |
{ | |
case "live": | |
portfolio = portfolioQuery.Select(p => new Portfolio { Valuation = p.Valuation, Live = p.Live }).FirstOrDefault(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"candidates": [ | |
{ | |
"id": 12, | |
"first_name": "Loi", | |
"last_name": "Tran", | |
"email": "[email protected]", | |
"gender": "male", | |
"company": "CoderSchool", | |
"job_title": "Instructor", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
useEffect(() => { | |
const existingToken = sessionStorage.getItem("token"); | |
const accessToken = | |
window.location.search.split("=")[0] === "?access_token" | |
? window.location.search.split("=")[1] | |
: null; | |
if (!accessToken && !existingToken) { | |
window.location.replace( | |
`https://github.com/login/oauth/authorize?scope=user:email,repo&client_id=${clientId}` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.App { | |
flex: 1; | |
display: flex; | |
min-height: 100vh; | |
text-align: center; | |
background-color: #e9ebee; | |
} | |
.choice-card { | |
flex: 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.App { | |
flex: 1; | |
display: flex; | |
min-height: 100vh; | |
text-align: center; | |
background-color: #e9ebee; | |
} | |
.choice-card { | |
flex: 1; | |
display: flex; |
https://xenodochial-jepsen-751c65.netlify.com/
https://drive.google.com/drive/folders/1BfsBkfvpzbvbZv5uN4vN5nqVGJT0_d3Y?usp=sharing
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"