Upload the link to your repo to this Google form before the due date.
A server that questions the idea of a 24/7/365 internet, where the boundaries between our work, social, and personal lives are non-existent and devices become always-on portals between these worlds.
But now, you control the flow of information from the start - a server that gives your resume only during normal business hours.
We should begin by deciding what’s most important, what is of the most value. So not considering work, write a bit about the things you value and why and how you would like to invest your time in these things. They could fall into a number of the following categories below, and beyond, but be specific:
Next, with these values at the forefront of your heart and mind, you can hone in on a few more important questions..
Then we can get more practical and decide what your normal business hours should be.
Once you have answered these questions, you are ready to proceed.
The boilerplate code for the normal business hours server can be found HERE. It is recommended to FORK this repository so that you can push your changes to your own Github account later. Directions to FORK a repo are HERE.
Once forked and running locally, program the server to only serve your resume during your normal business hours. If outside these hours, please craft a denied.html
file that will be served to prospective employers. You can consider this file as an opportunity for creativity to make an impression or a plain and simple boundary that provides cursory information on when they can return to see the information they seek. At the very least, the file should be well-designed and simple - so some HTML/CSS styling will be required.
Once the code is functioning properly on your local machine, you’ll need to do the following to your droplet:
First, log in to your Digital Ocean account on the website. You will need to make sure your droplet has a static or “Reserved” IP address (the terms “static” and “reserved” are interchangeable). This is so we can visit the site reliably on the web. Instructions to set this up are here.
Once this is complete, from in your droplet terminal, do the following:
git clone
.env
stuff as it is not required for this.ufw allow 3000
pm2 start app.js
pm2 monit
http://XX.XX.XX.XX:3000
where XX.XX.XX.XX
is your static IP address.You will submit your final Github repo which should have a README. There should be 3 things in the README:
http://XXX.XX.XX.XX:3000/
where you have replaced XXX.XX.XX.XX
with your static IP address.Upload the link to your repo to this Google form before the due date.
Want more of a challenge?
- Use
ejs
to programmatically render your business hours into thedenied.html
page so that they update as your server updates.- Try programming your vacation days into the server as well using additional conditional statements to check for specific dates of the year like Labor Day, Indigenous People’s Day, etc.