From 7e65b3c1069b615619ae916aa1bfdb6238c1beed Mon Sep 17 00:00:00 2001 From: 01zulfi <85733202+01zulfi@users.noreply.github.com> Date: Tue, 8 Mar 2022 18:24:13 +0500 Subject: [PATCH] update lesson urls in node_js_lessons.rb --- db/fixtures/lessons/node_js_lessons.rb | 44 +++++++++++++------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/db/fixtures/lessons/node_js_lessons.rb b/db/fixtures/lessons/node_js_lessons.rb index 820beb57c7..46d2d2485b 100644 --- a/db/fixtures/lessons/node_js_lessons.rb +++ b/db/fixtures/lessons/node_js_lessons.rb @@ -4,28 +4,28 @@ def node_js_lessons title: 'Introduction: What is NodeJs', description: 'Lets take a look at what Node is, and what it means to write code for a server.', is_project: false, - url: '/nodeJS/getting-started/Introduction.md', + url: '/nodeJS/introduction_to_nodeJS/introduction_what_is_nodeJS.md', identifier_uuid: 'e05fed63-01e4-432a-9bbf-652d4398be0d', }, 'Getting Started' => { title: 'Getting Started', description: "You'll go through a basic Node tutorial and write some real server-side code.", is_project: false, - url: '/nodeJS/getting-started/Getting-Started.md', + url: '/nodeJS/introduction_to_nodeJS/getting_started.md', identifier_uuid: 'e03532e7-1e00-4e47-a36e-a5cddeca0f43', }, 'Debugging Node' => { title: 'Debugging Node', description: "You'll learn how to effectively debug NodeJS code.", is_project: false, - url: '/nodeJS/getting-started/debugging-node.md', + url: '/nodeJS/introduction_to_nodeJS/debugging_node.md', identifier_uuid: '8c6f41d0-1e59-11ec-9621-0242ac130002', }, 'Basic Informational Site' => { title: 'Basic Informational Site', description: "Use what you've learned to build a very simple website skeleton", is_project: true, - url: '/nodeJS/getting-started/Getting-Started-Project.md', + url: '/nodeJS/introduction_to_nodeJS/project_basic_informational_site.md', accepts_submission: true, has_live_preview: true, identifier_uuid: 'de746d83-dcce-48f0-a0ba-72d117d0ac05', @@ -41,21 +41,21 @@ def node_js_lessons title: 'Introduction to Express', description: 'We look at Express for the first time and learn what it does for us', is_project: false, - url: '/nodeJS/express-basics/Express-Introduction.md', + url: '/nodeJS/express_and_mongoose/introduction_to_express.md', identifier_uuid: 'ba826e59-aeb3-4150-a893-5a9cbb185525', }, 'Express 101' => { title: 'Express 101', description: "It's time to dive into the main tutorial and actually write some code using the express-generator", is_project: false, - url: '/nodeJS/express-basics/Express-Lesson-1.md', + url: '/nodeJS/express_and_mongoose/express_101.md', identifier_uuid: 'ef20eb89-87d7-4c73-b376-e9f47c596ad9', }, 'Express 102: CRUD and MVC' => { title: 'Express 102: CRUD and MVC', description: 'Here you learn how to set up a database in your Express projects', is_project: false, - url: '/nodeJS/express-basics/Express-Lesson-2.md', + url: '/nodeJS/express_and_mongoose/express_102_crud_and_mvc.md', identifier_uuid: '2b19f45c-536a-412d-8062-2e5c4144b6b6', }, 'Preparing for Deployment' => { @@ -69,7 +69,7 @@ def node_js_lessons title: 'Mini Message Board', description: 'We take a break from the main tutorial and create a simple message board.', is_project: true, - url: '/nodeJS/express-basics/Express-Mini-Message-Board.md', + url: '/nodeJS/express_and_mongoose/project_mini_message_board.md', accepts_submission: true, has_live_preview: true, identifier_uuid: '0270683a-d1e1-49f1-996e-ab721c251354', @@ -78,21 +78,21 @@ def node_js_lessons title: 'Express 103: Routes and Controllers', description: 'We learn how to use the express router and use the MVC pattern to set up controllers for our Library tutorial', is_project: false, - url: '/nodeJS/express-basics/Express-Lesson-3.md', + url: '/nodeJS/express_and_mongoose/express_103_routes_and_controllers.md', identifier_uuid: '17f1624b-4263-4e25-8aad-69c49e4990e5', }, 'Express 104: View Templates' => { title: 'Express 104: View Templates', description: 'This lesson shows you how to set up view templates.', is_project: false, - url: '/nodeJS/express-basics/Express-Lesson-4.md', + url: '/nodeJS/express_and_mongoose/express_104_view_templates.md', identifier_uuid: '3a3cddd5-e2cf-4545-bc3d-60c692018231', }, 'Express 105: Forms and Deployment' => { title: 'Express 105: Forms and Deployment', description: 'Here we learn how to use forms to create the data-entry portions of the Library Tutorial and finish the project by learning about deployment', is_project: true, - url: '/nodeJS/express-basics/Express-Lesson-5.md', + url: '/nodeJS/express_and_mongoose/project_express_105_forms_and_deployment.md', accepts_submission: true, has_live_preview: true, identifier_uuid: 'de07c671-e8c7-47c0-88fe-219b66308bd4', @@ -101,7 +101,7 @@ def node_js_lessons title: 'Inventory Application', description: "We put together everything you've learned so far by building an inventory management app for an imaginary store.", is_project: true, - url: '/nodeJS/express-basics/Express-Inventory-Application.md', + url: '/nodeJS/express_and_mongoose/project_inventory_application.md', accepts_submission: true, has_live_preview: true, identifier_uuid: '5b7bcdb8-38d5-46ea-846b-c12bfb0290ef', @@ -110,21 +110,21 @@ def node_js_lessons title: 'Authentication Basics', description: 'Learn the basics of authentication with passportJS and bcrypt', is_project: false, - url: '/nodeJS/authentication/Authentication.md', + url: '/nodeJS/authentication/authentication_basics.md', identifier_uuid: 'b7cb44be-5b4a-48cf-addc-37272b7f9e8d', }, 'Security Configuration' => { title: 'Security Configuration', description: 'We learn how to use configuration modules to secure our apps', is_project: false, - url: '/nodeJS/authentication/Security-Configuration.md', + url: '/nodeJS/authentication/security_configuration.md', identifier_uuid: 'a310c4f1-bec5-4c2e-bb52-a89772a67ed4', }, 'Members Only' => { title: 'Members Only', description: "We create a private online clubhouse to practice using the auth strategies we've learned", is_project: true, - url: '/nodeJS/authentication/Members-Only.md', + url: '/nodeJS/authentication/project_members_only.md', accepts_submission: true, has_live_preview: true, identifier_uuid: 'dc36f70d-cc3b-47c5-958f-0c09ca61ca78', @@ -133,21 +133,21 @@ def node_js_lessons title: 'API basics', description: 'You already know most of what you need to create robust APIs. This lesson fills in the blanks for you.', is_project: false, - url: '/nodeJS/APIs/APIs.md', + url: '/nodeJS/apis/api_basics.md', identifier_uuid: 'ef267268-b196-466b-9c03-32d399c961ee', }, 'API Security' => { title: 'API Security', description: 'We learn how to secure our APIs using JSON web tokens', is_project: false, - url: '/nodeJS/APIs/API-Security.md', + url: '/nodeJS/apis/api_security.md', identifier_uuid: 'a9234831-cd6b-4597-be02-897361809b0c', }, 'Blog API' => { title: 'Blog API', description: 'You create the backend for a blog and then plug it into multiple frontend applications', is_project: true, - url: '/nodeJS/APIs/Blog-Project.md', + url: '/nodeJS/apis/project_blog_api.md', accepts_submission: true, has_live_preview: true, identifier_uuid: 'ad8a46e7-a42b-420b-804d-afafb0c60d2c', @@ -156,21 +156,21 @@ def node_js_lessons title: 'Testing Routes and Controllers', description: 'We learn how to use Supertest to write tests for our routes and controllers', is_project: false, - url: '/nodeJS/testing/Testing.md', + url: '/nodeJS/testing_express/testing_routes_and_controllers.md', identifier_uuid: '5942067c-e52e-4bff-98e1-11f5e9c52b33', }, 'Testing database operations' => { title: 'Testing database operations', description: 'we learn how to use mongodb-memory-server to write tests for routes that manipulate a database', is_project: false, - url: '/nodeJS/testing/Testing-Mongo.md', + url: '/nodeJS/testing_express/testing_database_operations.md', identifier_uuid: '8e0e26ea-57c4-4cc6-9d0d-bf8561de9dae', }, 'Odin-Book' => { title: 'Odin-Book', description: "You'll use everything you've learned so far to replicate Facebook!", is_project: true, - url: '/nodeJS/Odin-Book.md', + url: '/nodeJS/final_project/project_odin_book.md', accepts_submission: true, has_live_preview: true, identifier_uuid: 'c0d6ba51-620e-49e0-8583-924f38754874', @@ -179,7 +179,7 @@ def node_js_lessons title: 'Conclusion', description: 'Wow you\'ve gotten to the last lesson!', is_project: false, - url: '/nodeJS/conclusion.md', + url: '/nodeJS/final_project/conclusion.md', identifier_uuid: '5881368f-71aa-4fb4-b3ab-632cdcfa802f' } }