Project 7: Remote guide
Schedule | Flex Meld |
Time allowed | 3 hours |
Update Realm
Update to the latest minor version of Realm.
At the time I write this, it's 0.84.1
.
Cheat: How to do this
Edit the package.json
and replace the version of Realm with 0.84.1
(or any other latest version).
"dependencies": { "@redocly/realm": "0.84.1" }
Kitchen guide
The boss said we need to make a separate repo in a separate GitHub organization (not Redocly).
In there, we need to put one file:
# How to Clean the Kitchen: A Rhyming Guide
Welcome to the kitchen, where the mess likes to play,\
Let's tidy it up, hip-hip-hooray!
First, grab a sponge and some soap,\
With a smile on your face and a heart full of hope.\
Scrub those dishes, let them gleam,\
In a sparkly kitchen, we all dream!
Wipe the counters, left to right,\
Make them shine, oh so bright.\
Spills and crumbs, they have no chance,\
In our clean kitchen dance.
Sweep the floor, don’t miss a spot,\
Under the table, give it a shot.\
Banish the dirt, the dust, the grime,\
A clean kitchen is simply sublime.
Empty the trash, don’t delay,\
Take it out and save the day.\
Replace the bag, fresh and new,\
A simple task, but crucial too.
Fridge and pantry, check them out,\
Throw away what's gone bad, no doubt.\
Organize and make it neat,\
A tidy kitchen can’t be beat!
Microwave and oven, they need love,\
Clean them well, give them a shove.\
No more splatters, no more mess,\
A sparkling clean, we must confess.
Now you’re done, take a bow,\
You’ve cleaned the kitchen, and here’s how.\
With a bit of effort and a lot of cheer,\
You’ve made the kitchen pristine and full of fear!
It should look like the following:
Open to see the rendered Markdown
How to Clean the Kitchen: A Rhyming Guide
Welcome to the kitchen, where the mess likes to play,
Let's tidy it up, hip-hip-hooray!
First, grab a sponge and some soap,
With a smile on your face and a heart full of hope.
Scrub those dishes, let them gleam,
In a sparkly kitchen, we all dream!
Wipe the counters, left to right,
Make them shine, oh so bright.
Spills and crumbs, they have no chance,
In our clean kitchen dance.
Sweep the floor, don’t miss a spot,
Under the table, give it a shot.
Banish the dirt, the dust, the grime,
A clean kitchen is simply sublime.
Empty the trash, don’t delay,
Take it out and save the day.
Replace the bag, fresh and new,
A simple task, but crucial too.
Fridge and pantry, check them out,
Throw away what's gone bad, no doubt.
Organize and make it neat,
A tidy kitchen can’t be beat!
Microwave and oven, they need love,
Clean them well, give them a shove.
No more splatters, no more mess,
A sparkling clean, we must confess.
Now you’re done, take a bow,
You’ve cleaned the kitchen, and here’s how.
With a bit of effort and a lot of cheer,
You’ve made the kitchen pristine and full of fear!
The boss wouldn't go into the details, but there was a very specific reason for putting it in a separate repo.
In any case, the boss wants this to appear in the sidebar next to the Kitchen API.
To do that, you'll need to use the remote content feature.
Cheat
Gotcha! There is no way to cheat this one.
Update the remote
Change the last words of the poem from "full of fear" to "clear" in the remote repo. Be sure to follow a similar workflow by creating a pull request within GitHub and checking the build.
Debrief
Debrief on your experience. What made you smile? What did you find confusing?