Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

215 řádky
4.4 KiB

  1. const courses = [
  2. {
  3. id: 1,
  4. title: "Securing React Apps with Auth0",
  5. slug: "react-auth0-authentication-security",
  6. authorId: 1,
  7. category: "JavaScript",
  8. },
  9. {
  10. id: 2,
  11. title: "React: The Big Picture",
  12. slug: "react-big-picture",
  13. authorId: 1,
  14. category: "JavaScript",
  15. },
  16. {
  17. id: 3,
  18. title: "Creating Reusable React Components",
  19. slug: "react-creating-reusable-components",
  20. authorId: 1,
  21. category: "JavaScript",
  22. },
  23. {
  24. id: 4,
  25. title: "Building a JavaScript Development Environment",
  26. slug: "javascript-development-environment",
  27. authorId: 1,
  28. category: "JavaScript",
  29. },
  30. {
  31. id: 5,
  32. title: "Building Applications with React and Redux",
  33. slug: "react-redux-react-router-es6",
  34. authorId: 1,
  35. category: "JavaScript",
  36. },
  37. {
  38. id: 6,
  39. title: "Building Applications in React and Flux",
  40. slug: "react-flux-building-applications",
  41. authorId: 1,
  42. category: "JavaScript",
  43. },
  44. {
  45. id: 7,
  46. title: "Clean Code: Writing Code for Humans",
  47. slug: "writing-clean-code-humans",
  48. authorId: 1,
  49. category: "Software Practices",
  50. },
  51. {
  52. id: 8,
  53. title: "Architecting Applications for the Real World",
  54. slug: "architecting-applications-dotnet",
  55. authorId: 1,
  56. category: "Software Architecture",
  57. },
  58. {
  59. id: 9,
  60. title: "Becoming an Outlier: Reprogramming the Developer Mind",
  61. slug: "career-reboot-for-developer-mind",
  62. authorId: 1,
  63. category: "Career",
  64. },
  65. {
  66. id: 10,
  67. title: "Web Component Fundamentals",
  68. slug: "web-components-shadow-dom",
  69. authorId: 1,
  70. category: "HTML5",
  71. },
  72. ];
  73. const authors = [
  74. { id: 1, name: "Cory House" },
  75. { id: 2, name: "Scott Allen" },
  76. { id: 3, name: "Dan Wahlin" },
  77. ];
  78. const users = [
  79. {
  80. firstname: "George",
  81. email: "ghorensky@rpmindustries.com",
  82. lastname: "Horensky",
  83. username: "ghorensky",
  84. password: "ghorensky",
  85. isactive: true,
  86. id: 2,
  87. },
  88. {
  89. firstname: "George",
  90. email: "gwilhelm@rpmindustries.com",
  91. lastname: "Wilhelm",
  92. username: "gwilhelm",
  93. password: "gwilhelm",
  94. isactive: true,
  95. id: 3,
  96. },
  97. {
  98. firstname: "John",
  99. email: "jmccosby@rpmindustries.com",
  100. lastname: "McCosby",
  101. username: "jmccosby",
  102. password: "jmccosby",
  103. isactive: true,
  104. id: 4,
  105. },
  106. {
  107. firstname: "John",
  108. email: "jzwicker@rpmindustries.com",
  109. lastname: "Zwicker",
  110. username: "jzwicker",
  111. password: "jzwicker",
  112. isactive: true,
  113. id: 5,
  114. },
  115. {
  116. firstname: "Bill",
  117. email: "bryckman@rpmindustries.com",
  118. lastname: "Ryckman",
  119. username: "bryckman",
  120. password: "bryckman",
  121. isactive: true,
  122. id: 6,
  123. },
  124. {
  125. firstname: "Justin",
  126. email: "jkieffer@rpmindustries.com",
  127. lastname: "Kieffer",
  128. username: "jkieffer",
  129. password: "jkieffer",
  130. isactive: true,
  131. id: 7,
  132. },
  133. {
  134. firstname: "Patrick",
  135. email: "pbuono@rpmindustries.com",
  136. lastname: "Buono",
  137. username: "pbuono",
  138. password: "pbuono",
  139. isactive: false,
  140. id: 8,
  141. },
  142. {
  143. firstname: "Josh",
  144. email: "jmorgan@rpmindustries.com",
  145. lastname: "Morgan",
  146. username: "jmorgan",
  147. password: "jmorgan",
  148. isactive: true,
  149. id: 9,
  150. },
  151. {
  152. firstname: "Anthony",
  153. email: "aguzzi@rpmindustries.com",
  154. lastname: "Guzzi",
  155. username: "aguzzi",
  156. password: "aguzzi",
  157. isactive: false,
  158. id: 10,
  159. },
  160. {
  161. firstname: "Art",
  162. email: "aschrage@rpmindustries.com",
  163. lastname: "Schrage",
  164. username: "aschrage",
  165. password: "ascharge",
  166. isactive: false,
  167. id: 11,
  168. },
  169. ];
  170. //TODO
  171. /******************************************
  172. * Add new databodels above these comments*
  173. * const model = [ object ] *
  174. * bpmockDataNewObject *
  175. * bpmockDataNewObjectLine *
  176. * ****************************************
  177. */
  178. const newUser = {
  179. firstname: "",
  180. email: "",
  181. lastname: "",
  182. username: "",
  183. password: "",
  184. isactive: true,
  185. id: null,
  186. };
  187. const newCourse = {
  188. id: null,
  189. title: "",
  190. authorId: null,
  191. category: "",
  192. };
  193. //TODO
  194. /********************************************************
  195. * Add newmodel constants above this block of comments *
  196. * ******************************************************
  197. */
  198. // Using CommonJS style export so we can consume via Node (without using Babel-node)
  199. module.exports = {
  200. newCourse,
  201. newUser,
  202. /** Add newObject construct reference here */
  203. courses,
  204. authors,
  205. users,
  206. /** Add objects(list) reference here */
  207. };