|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- const courses = [
- {
- id: 1,
- title: "Securing React Apps with Auth0",
- slug: "react-auth0-authentication-security",
- authorId: 1,
- category: "JavaScript",
- },
- {
- id: 2,
- title: "React: The Big Picture",
- slug: "react-big-picture",
- authorId: 1,
- category: "JavaScript",
- },
- {
- id: 3,
- title: "Creating Reusable React Components",
- slug: "react-creating-reusable-components",
- authorId: 1,
- category: "JavaScript",
- },
- {
- id: 4,
- title: "Building a JavaScript Development Environment",
- slug: "javascript-development-environment",
- authorId: 1,
- category: "JavaScript",
- },
- {
- id: 5,
- title: "Building Applications with React and Redux",
- slug: "react-redux-react-router-es6",
- authorId: 1,
- category: "JavaScript",
- },
- {
- id: 6,
- title: "Building Applications in React and Flux",
- slug: "react-flux-building-applications",
- authorId: 1,
- category: "JavaScript",
- },
- {
- id: 7,
- title: "Clean Code: Writing Code for Humans",
- slug: "writing-clean-code-humans",
- authorId: 1,
- category: "Software Practices",
- },
- {
- id: 8,
- title: "Architecting Applications for the Real World",
- slug: "architecting-applications-dotnet",
- authorId: 1,
- category: "Software Architecture",
- },
- {
- id: 9,
- title: "Becoming an Outlier: Reprogramming the Developer Mind",
- slug: "career-reboot-for-developer-mind",
- authorId: 1,
- category: "Career",
- },
- {
- id: 10,
- title: "Web Component Fundamentals",
- slug: "web-components-shadow-dom",
- authorId: 1,
- category: "HTML5",
- },
- ];
-
- const authors = [
- { id: 1, name: "Cory House" },
- { id: 2, name: "Scott Allen" },
- { id: 3, name: "Dan Wahlin" },
- ];
-
- const users = [
- {
- firstname: "George",
- email: "ghorensky@rpmindustries.com",
- lastname: "Horensky",
- username: "ghorensky",
- password: "ghorensky",
- isactive: true,
- id: 2,
- },
- {
- firstname: "George",
- email: "gwilhelm@rpmindustries.com",
- lastname: "Wilhelm",
- username: "gwilhelm",
- password: "gwilhelm",
- isactive: true,
- id: 3,
- },
- {
- firstname: "John",
- email: "jmccosby@rpmindustries.com",
- lastname: "McCosby",
- username: "jmccosby",
- password: "jmccosby",
- isactive: true,
- id: 4,
- },
- {
- firstname: "John",
- email: "jzwicker@rpmindustries.com",
- lastname: "Zwicker",
- username: "jzwicker",
- password: "jzwicker",
- isactive: true,
- id: 5,
- },
- {
- firstname: "Bill",
- email: "bryckman@rpmindustries.com",
- lastname: "Ryckman",
- username: "bryckman",
- password: "bryckman",
- isactive: true,
- id: 6,
- },
- {
- firstname: "Justin",
- email: "jkieffer@rpmindustries.com",
- lastname: "Kieffer",
- username: "jkieffer",
- password: "jkieffer",
- isactive: true,
- id: 7,
- },
- {
- firstname: "Patrick",
- email: "pbuono@rpmindustries.com",
- lastname: "Buono",
- username: "pbuono",
- password: "pbuono",
- isactive: false,
- id: 8,
- },
- {
- firstname: "Josh",
- email: "jmorgan@rpmindustries.com",
- lastname: "Morgan",
- username: "jmorgan",
- password: "jmorgan",
- isactive: true,
- id: 9,
- },
- {
- firstname: "Anthony",
- email: "aguzzi@rpmindustries.com",
- lastname: "Guzzi",
- username: "aguzzi",
- password: "aguzzi",
- isactive: false,
- id: 10,
- },
- {
- firstname: "Art",
- email: "aschrage@rpmindustries.com",
- lastname: "Schrage",
- username: "aschrage",
- password: "ascharge",
- isactive: false,
- id: 11,
- },
- ];
-
- //TODO
- /******************************************
- * Add new databodels above these comments*
- * const model = [ object ] *
- * bpmockDataNewObject *
- * bpmockDataNewObjectLine *
- * ****************************************
- */
-
- const newUser = {
- firstname: "",
- email: "",
- lastname: "",
- username: "",
- password: "",
- isactive: true,
- id: null,
- };
-
- const newCourse = {
- id: null,
- title: "",
- authorId: null,
- category: "",
- };
-
- //TODO
- /********************************************************
- * Add newmodel constants above this block of comments *
- * ******************************************************
- */
-
- // Using CommonJS style export so we can consume via Node (without using Babel-node)
- module.exports = {
- newCourse,
- newUser,
- /** Add newObject construct reference here */
- courses,
- authors,
- users,
- /** Add objects(list) reference here */
- };
|