Open 01zulfi opened 2 months ago
I'm happy to take this one. Whereabouts in the lesson order are you thinking this should be placed? Given that the Intro to Express was written with the assumption that environment variables have already been taught (though this can be amended accordingly).
Oops. If youre too busy could I take this one Mao :) Would love your feedback on it though!
No worries at all, wasn't actually aware of the prior Discord discussion! All yours and looking forward to it! :tada:
@MaoShizhong I totally forgot about the env var mention in the Intro to Express lesson, good callout.
The env var lesson would be pretty much independent from any surrounding lessons, we could place it before the Express section altogether (updated the issue description accordingly).
Yeah, prior the the Express section probably makes most sense given it's a general Node thing :+1: One step further in the milestone! :tada:
This issue is stale because it has had no activity for the last 30 days.
To-Do: today!
Lesson: Environment Variables
Lesson overview
What and why env vars && using
dotenv
. This new lesson will be placed before the new Express section. The security configuration lesson will be removed as a result.Lesson outline
The following items define the scope of the lesson. The lesson outline is flexible; you can improve, expand, and omit items whilst writing lesson content (make sure the pull request description mentions that).
process.env
process.env
using theexport
cli commanddotenv
packagedotenv
Acceptance criteria
If the requirements here are not met, the work effort is not complete.
Additional information
Get the lesson template
Download the lesson template using the following command (replace
lesson_name
with the actual lesson name):