Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node revamp: Routing #27796

Conversation

MaoShizhong
Copy link
Contributor

Because

Draft new Express routing lesson as part of the Node revamp project.

This PR

  • Provides a new Routing lesson

Issue

Closes #27605

Additional Information

Pull Request Requirements

  • I have thoroughly read and understand The Odin Project Contributing Guide
  • The title of this PR follows the location of change: brief description of change format, e.g. Intro to HTML and CSS lesson: Fix link text
  • The Because section summarizes the reason for this PR
  • The This PR section has a bullet point list describing the changes in this PR
  • If this PR addresses an open issue, it is linked in the Issue section
  • If any lesson files are included in this PR, they have been previewed with the Markdown preview tool to ensure it is formatted correctly
  • If any lesson files are included in this PR, they follow the Layout Style Guide

@MaoShizhong MaoShizhong added the Project Node Revamp Issues/PRs related to the Node Revamp project label Apr 15, 2024
@github-actions github-actions bot added the Content: NodeJS Involves the NodeJS course label Apr 15, 2024
@MaoShizhong MaoShizhong marked this pull request as ready for review April 16, 2024 15:02
@MaoShizhong
Copy link
Contributor Author

The assignment section is very light, with just Express' own primer/mini-guide, and a reminder about docs. I was unable to find any "standout" resources on this topic that were both limited in scope to routing, and provided more beyond just repeating what the lesson and the Express docs say.

Copy link
Member

@01zulfi 01zulfi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MaoShizhong Another fantastic lesson 🔥

Concise and covers everything it needs to. Left a couple comments below

nodeJS/express/routing.md Outdated Show resolved Hide resolved
nodeJS/express/routing.md Outdated Show resolved Hide resolved
nodeJS/express/routing.md Show resolved Hide resolved
nodeJS/express/routing.md Outdated Show resolved Hide resolved
TheOdinProject/theodinproject#4507 makes level 4
headings clickable with IDs, just like level 3 headings, so the subsection
headings are sufficient with spans with IDs.
@MaoShizhong MaoShizhong changed the title Node revamp: Lesson/Routing Node revamp: Routing Apr 28, 2024
Copy link
Member

@01zulfi 01zulfi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 🚀 🚀

Amend Youtube link example to better reflect more of the examples given
in the subsection.
Also fixed "route" that should be called "request".
@MaoShizhong
Copy link
Contributor Author

Sneaky post-approval commit - just enhancing the query params section to be more explicit about the syntax, and a small nit fix.

Copy link
Member

@01zulfi 01zulfi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm (2) 🚀🚀

@01zulfi 01zulfi merged commit e96c2e6 into TheOdinProject:main May 5, 2024
3 checks passed
@MaoShizhong MaoShizhong deleted the node-revamp/write-express-routes-lesson branch May 9, 2024 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content: NodeJS Involves the NodeJS course Project Node Revamp Issues/PRs related to the Node Revamp project
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

New Lesson: Routes
2 participants