<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Seth Alexander on Medium]]></title>
        <description><![CDATA[Stories by Seth Alexander on Medium]]></description>
        <link>https://medium.com/@sethalexander?source=rss-2bceaa50a82d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hkAaQjQO8ReBPVgOejGHrw.jpeg</url>
            <title>Stories by Seth Alexander on Medium</title>
            <link>https://medium.com/@sethalexander?source=rss-2bceaa50a82d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 18:20:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sethalexander/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to build your own React boilerplate with webpack 4 & Babel 7]]></title>
            <link>https://medium.com/@sethalexander/how-to-build-your-own-react-boilerplate-1a97d09337fd?source=rss-2bceaa50a82d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a97d09337fd</guid>
            <category><![CDATA[webpack]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Seth Alexander]]></dc:creator>
            <pubDate>Fri, 11 May 2018 21:47:05 GMT</pubDate>
            <atom:updated>2019-03-19T02:34:17.492Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</cc:license>
            <content:encoded><![CDATA[<p>Before we get started, I want to let you, the reader know, I plan to keep this updated for the foreseeable future. So, if something is broken, PLEASE let me know in the comments so I can fix it. I’m hoping to never have package installs with explicit version numbers unless absolutely necessary.</p><p>So you’ve learned some <a href="https://reactjs.org/">React</a> and built a few things. You’ve probably used <a href="https://github.com/facebook/create-react-app">create-react-app</a> or <a href="https://github.com/coryhouse/react-slingshot">react-slingshot</a> to get off the ground quickly with minimal configuration. However, now you’re ready to venture out on your own with your very own React boilerplate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*2WYxr-sEuxS0piH6.gif" /></figure><h3>WHERE. TO. START?</h3><p>I recently faced this same dilemma. It was a struggle, but at the end of it, I had a solid repository that I could use as a basis for future React projects.</p><p>I realized I wanted to use <a href="https://webpack.js.org/">webpack</a> because it’s the new hotness (well not so new), but I wouldn’t have a lot of resources to pull from to figure it out.</p><p>I have <strong>zero</strong> working knowledge of <a href="https://gruntjs.com/">Grunt</a> or <a href="https://gulpjs.com/">Gulp</a>, although after looking at them briefly, I know they do some cools things in their own right.</p><p>Also, the people I know who <strong>know</strong> more than I do use webpack. I also had a reference React boilerplate webpack config I was going to use as a base (but I quickly realized I was going to have to rewrite most of this config).</p><h3>Back to the beginning</h3><p>Let’s take it back, though. What really is a boilerplate? <a href="https://en.oxforddictionaries.com/definition/boilerplate">Dictionary.com</a> failed in getting me a definition that would work. <a href="https://en.oxforddictionaries.com/definition/boilerplate">Oxford Dictionaries</a>, on the other hand, landed the W with:</p><blockquote><strong><em>3.1</em></strong><em> Standardized pieces of text for use as clauses in contracts or as part of a computer program.</em></blockquote><p>This works. So it’s something that’s standard across computer programs. As in some code that’s always the same at least in theory. So instead of having to run things like npm i react react-dom webpack and so on every time we start a project, we can copy our boilerplate and be off to the races knowing all the essential pieces we want are ready to go.</p><p>And since we’ll be building our own boilerplate, we’ll know that everything is being maintained the way <strong>we</strong> want it to, because it’s ours. We will also learn <strong>a lot</strong> during the process, and possibly even decide to make decisions that differ from what others have instructed us to do.</p><h3>Get Git</h3><p>First let’s create a local folder and make this a Git repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/0*92nYSWFkxFnzhxom.png" /></figure><h3>First things first</h3><p>Now, what type of project would this be without a README.md? Every repository should have a readme file. Even if it’s just to remind <strong>you</strong> about how things work. Trust me, it may seem like you’ll remember exactly what each script does and why right now. However, a year from now, these readme’s come in handy! Trust me. So, create a README.md in the root of the project. Put something like this in there:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/0*qB4QoPyvIIjaF5Lh.png" /></figure><p>Make sure to commit your files to Git after any changes you make:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/0*fpBsmbW-AeQiaaqX.png" /></figure><h3>Folder structure</h3><p>This one is pretty straightforward. Make the following folder structure to house everything:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/0*XA_6Y4HbQG1bVbO_.png" /></figure><p>You can accomplish this easily with this command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*W5jZA0cJguUxiOE4.png" /></figure><h3>.gitignore</h3><p>An essential part of any Git project is the .gitignore file. This tells Git to not put certain files under version control. This is important for things like packages and other things that we will retrieve from repositories. Not only do we not need these in version control, but it’s actually detrimental if we do include them in version control. At least I’m pretty sure it’s detrimental.</p><p>Create a .gitignore file in the root of your project and add the following to it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/0*uq8MctPHdRBAwoHb.png" /></figure><p>There are generators for this file, like <a href="https://www.gitignore.io/">this one</a>, but this should be enough for what we’re doing today.</p><h3>npm</h3><p>All node projects must be initialized so we can use the package manager. This will create a package.json file for us, which must be in version control.</p><p>It contains many things, but the most important are:</p><ul><li>A list of all the installed packages and their semantic version allowed</li><li>Scripts</li></ul><p>To start this process, enter the following in your terminal in the root of your project:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/344/0*yW-u991aXCNqz-zi.png" /></figure><p>You’ll be asked more than a few questions, but feel free to just press Enter and leave it all blank. In the end you’ll have a shiny new package.json that looks something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NPlQqu8mBV6nyT8e.png" /></figure><h3>HTML</h3><p>Yes! Time to write some code! Well, this is going to be the most boring HTML you’ll probably ever write. Create an index.html in the root of your project and set it up like so:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Fb3KAWcWthmyOr1g.png" /></figure><h3>React</h3><p>Now, let’s add React to our project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/0*Ean3wrHFOffJxLrw.png" /></figure><p>Create this file /src/components/App.js and in it put the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/0*_MoFAJv6Q67MPdZM.png" /></figure><p>Then we will render the App via an index which we will create here at /src/index.js and put the following in:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/0*R6dXNZsV87UgBKfo.png" /></figure><h3>Babel</h3><p>Babel is awesome. It lets us write the latest and greatest JavaScript while ensuring we have maximum compatibility with the code we ship. First thing is we have to install Babel and a few additional Babel packages to make this all work together. Don’t worry, I’ll explain it soon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ubhCwnPpUXXL7VXXpFrwdw.png" /><figcaption>Babel 7!</figcaption></figure><p>Then we need to create a .babelrc in the root of our project and add the following to it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*aM_LP7PpKLFxzZhkjGPREA.png" /></figure><p>Now, what does this do exactly? The env preset implicitly includes babel-preset-es2015, babel-preset-es2016, babel-preset-es2017, and babel-preset-latest together, which means you can run ES6, ES7, and ES8 code.</p><p>The react preset I <strong>think</strong> is pretty self-explanatory, but, you might be wondering why we need it if React is JavaScript. That’s because Babel doesn’t know what to do with React &amp; JSX.</p><p>NOTE: I removed the stage-2 preset from this update. If you’re wondering why, read this great post by the Babel team: <a href="https://babeljs.io/blog/2018/07/27/removing-babels-stage-presets">Removing Babel’s Stage Presets</a>.</p><h3>Tests</h3><p>So we’re making progress. Now that we have a React component with our App.js let’s make sure to create a simple associated test for that component. This way we’re starting to implement some good practices, like having tests for the things we build. We will be using Jest with Enzyme for this project. First things first, let’s install it with:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cXHuNAsv_Hx0WiL-.png" /></figure><p>Now create /test/enzyme.setup.js and put in it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/0*frY42A7_35JY53JQ.png" /></figure><p>We’ll need to add Jest functionality into our package.json so add the following to it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*00Hwe158-rvXI2ge.png" /></figure><p>Next, we should add our first component test! So, create a file at /test/App.test.js to test that our App component renders as expected. We are also going to implement a snapshot test to ensure our component’s structure doesn’t change from test to test. To do that we’ll need the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cVzP2dCxIldszNhf.png" /></figure><p>You might be wondering how to run this new test. To do so, we need to change the test script in the package.json to this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/0*-Jzpfbvf2F9XD1ue.png" /></figure><p>You can now run the test from your terminal with npm test and should see something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/0*556y3LdrI4wrbrWi.png" /></figure><h3>Break Time</h3><p>If you’ve made it this far with your React boilerplate, CONGRATS! Mostly because you’ve realized that I’m using images for my code and you have to type it all out. That’s a pain in the butt, I know. Trust me though, you’re learning more than you know by being forced to type it all out, and the muscle memory is going to serve you well long after this tutorial.</p><h3>webpack</h3><p>webpack will allow us to modularize our code and easily bundle it into a single file for production. Something I think a lot of people really like about webpack, though, is the development server. We’ll start by just installing webpack with:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*c0p_-oAvwVzpwpwV.png" /></figure><p>webpack looks for a webpack.config.js file by default in the root of the project, so let’s create that and add to it a couple things:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/0*SlQTqp8Ca-bAh2v0.png" /></figure><p>The entry is telling webpack where to find the base JavaScript file. In our application, that’s index.js. Then it tells it where to output the built file when it’s done with it.</p><h3>webpack loaders</h3><p>Loaders are helpful pieces we can add to webpack to make it more powerful and do things to other file types. Before webpack will work properly, we need to set it up to work with ES6 and JSX. We’ll do this through the babel-loader. Add the babel-loader to your project with:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*zXf29F04uzIi5oDK.png" /></figure><p>Then add the loader to your webpack.config.js like so:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/0*5CRMb3rDDg5xydIi.png" /></figure><p>To utilize Sass and SCSS, we’ll need another loader. Now to get the best “bang for our buck” we’re going to chain three loaders together so our styles are applied immediately to the DOM. Let’s install the loaders:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-ICXu4VHvyElCoIy.png" /></figure><p>And configure it like so in our webpack.config.js:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/0*xyRAib0DelV-b1qK.png" /></figure><p>Since we just enabled some style support, let’s add some. Create /src/styles/style.sass and put in it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*das9iIjQuzsA9wA8.png" /></figure><p>Then add it to your index.js like so:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/0*QUPugYHTy7spv3Il.png" /></figure><p>Up next are webpack plugins. So, we need a way to include the built JavaScript in our index.html and of course, there’s a way to do this automatically. This is also going to take the index.html file and drop it into our build folder (more on the build later). Let’s add the HtmlWebPackPlugin and include it in our webpack.config.js like so:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/0*FIwyAEw_4n99_7BE.png" /></figure><p>Then:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/0*18qOQVxQIIkwe41_.png" /></figure><p>Our next plugin is going to ensure that the directory we put our build in is cleaned out of any former files every time we run a build. We do that with these two steps:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/0*DzhmgthF4vle9Gzy.png" /></figure><p>Then:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*xXrFcSVDDrvt5mlE_zfegQ.png" /></figure><p>The moment we’ve all been waiting for! Let’s get the development server set up. So we’re going to add two packages in this step. webpack-cli is going to be used to run our commands from our package.json file. First:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/0*IGHtuoKZZu69mWli.png" /></figure><p>Then update our webpack.config.js:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/0*iirbAytQ0N8sWjYJ.png" /></figure><p>Finally add to the scripts section of the package.json:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/0*96k0tCdU9yKoJHEa.png" /></figure><p>Now fire up your development server and your default browser will open. It’ll take a second while webpack does its thing, but you’ll soon see your React live in the browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/0*u-SpQQFtVjO5BDZY.png" /></figure><p>So right now we could say success! However, our code isn’t optimized for production use. But we don’t want to optimize our code while we’re in development either, because it takes a lot longer to build. So let’s create separate build files for our production and development environments and tell webpack how to handle that. I promise we’re almost done. Really we are…</p><p>Up next is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/0*PlSBA34kM63ex9WR.png" /></figure><p>This is going to allow us to have three webpack config files. So let’s get that setup. Rename your webpack.config.js to webpack.common.js. Then create webpack.dev.js and webpack.prod.js. The idea is one will have configuration used in both development and production, one will be development only, and one will be production only.</p><p>So first thing, let’s remove the development server code from common we just added in the last step and add it to webpack.dev.js. We’ll utilize webpack-merge to include everything from webpack.common.js and add on webpack.dev.js. So now your webpack.common.js looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/0*hIbPOh_uwBimE1p6.png" /></figure><p>Your webpack.dev.js should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/0*jtMKTRLUVCjH1jr2.png" /></figure><p>Your webpack.prod.js should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/0*2mHw3JrENOizgUN7.png" /></figure><p>The last step here is to update the scripts in our package.json file to utilize these different files at different times. Your new scripts sections should look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LKSauxx8B6LiVRva.png" /></figure><h3>What now?</h3><p>Now you can go ahead and start your development server with:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/0*sYXHRufDR0sNg9p5.png" /></figure><p>You can build your application and have all the advantages of everything we’ve put together. When you’re ready to deploy your production application just run:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/0*9WoL_3BK8Jrhl3nY.png" /></figure><p>This will output an optimized version of your code into the /dist folder. Take those files and upload them to your favorite host and you’re good to go!</p><h3>What’s Next With Your React Boilerplate?</h3><p>Well, nothing from me! Ha, I think you’ve had enough by now. Hopefully, this empowers you to dive into creating your own boilerplate. You’ll start your personal projects steps ahead and really get an understanding of what each piece does.</p><p>I <strong>highly</strong> recommend the <a href="https://webpack.js.org/concepts/">webpack docs</a> for further reading if you want to continue to add configuration to your webpack setup. There is <strong>a lot </strong>more you can do with it.</p><p>Another thing you might want to do is set up something like <a href="https://eslint.org/">ESLint</a> in your project as well. You can also dive deep into <a href="https://babeljs.io/">Babel</a> and all that it allows you to do.</p><p>Thanks for reading! I’d love to hear what you think about this setup. Anything you’d add, remove, or change, please leave in the comments below.</p><p>I ALMOST FORGOT! <em>Actually I did, I’m adding this after I clicked “Publish”</em>. If you want to find all this code, I have it in a repo <a href="https://github.com/itzsaga/react-boilerplate-blog">here</a>.</p><p>If you found this helpful and interesting, please share this article on Facebook and Twitter.</p><p>And please click the 👏 below so that other people will see this here on Medium. Thank you for reading.</p><p><em>Originally published at </em><a href="https://sethaalexander.com/how-to-build-your-own-react-boilerplate/"><em>sethaalexander.com</em></a><em> on May 11, 2018.</em></p><p><em>Updated on 2018–09–21 to utilize Babel 7.</em></p><p><em>Updated on 2019–03–18 to utilize CleanWebpackPlugin 2.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a97d09337fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Portfolio Site How-To For New Developers]]></title>
            <link>https://medium.com/@sethalexander/portfolio-site-how-to-for-new-developers-b1a1e01c4f8a?source=rss-2bceaa50a82d------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1a1e01c4f8a</guid>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[freecodecamp]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[nashville]]></category>
            <category><![CDATA[web-developer]]></category>
            <dc:creator><![CDATA[Seth Alexander]]></dc:creator>
            <pubDate>Sat, 10 Mar 2018 16:22:11 GMT</pubDate>
            <atom:updated>2018-03-22T02:12:53.770Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*psaLRl0apEfIf6KT.jpg" /></figure><p>I recently shared my <a href="http://sethalexander.me/">portfolio site</a> with the <a href="https://www.facebook.com/groups/free.code.camp.nashville/">Free Code Camp Nashville</a> group and got some inquiries into some of the technologies and features I used to build it. So I figured I’d share all aspects of the site and some steps to utilizing the same tools I did.</p><h3>Should I build my site from scratch?</h3><p>When I asked this question to the ever helpful NashDev community I received a resounding “No” from Senior devs. This might seem counter intuitive, however, the overall thought process was if you’re just starting out, unless you’re looking to be considered a designer, then using something someone else has already done very well as the base of your portfolio is better than building it yourself. Concentrate on highlighting the things that you are going to be doing in a potential job, not on the overall layout and design of your portfolio site. I decided to go with a template from <a href="https://html5up.net/">HTML5 UP</a> for a few reasons. First, they’re FREE as long as you keep the attribution. Second, <a href="https://twitter.com/ajlkn">AJ</a> who creates these amazing templates is based out of Nashville just like me and had in the past connected me with some solid people to have beer/coffee with and discuss my career. Third, it’s a static site. That is, it’s 100% HTML, CSS &amp; JavaScript so I would have many simple options for hosting when I got to that point. Lastly, all of the templates are responsive so if a potential hiring manager clicks through from their phone they’re going to get a great experience.</p><h3>I’ve got my template, now what?</h3><p>Fill er up with content! So this I don’t think I can help with too much. What you decide to include on your site is going to be up to you. However, as this is going to be something professional shy away from anything controversial. Keep it scoped around the skills you have and things you have built. A couple resources that I used for my site. The high-res background images I used all came from <a href="https://unsplash.com/">Unsplash</a>. Unsplash describes itself as:</p><blockquote><em>Beautiful, free photos.<br>Gifted by the world’s most generous community of photographers. 🎁</em></blockquote><p>There aren’t <em>that</em> many coding images so once you’ve seen them you’ll start noticing them all over the web. Check them out and see if you can find interesting images that represent YOU and use them. Or don’t. Like I said, it’s up to you. Another cool place I found but didn’t get to integrate is <a href="https://coverr.co/">Coverr</a> which provides “beautiful, free videos for your homepage”. I still want to replace the top image on my site with one of their videos on a loop. I just haven’t spent the time to figure out how to implement it within the template I am using. All of my technology icons come from <a href="https://konpa.github.io/devicon/">DEVICON</a> which has sweet full color SVG’s. Note, if you don’t see it on the linked site check there GitHub repo <a href="https://github.com/konpa/devicon">here</a> as I found not all the icons are on their site. Just look in the icons folder of the repo. I like these icons because since they’re SVG’s they they will look great no matter their scale.</p><p>I implemented my contact for by using <a href="https://formspree.io/">Formspree</a> which is a sweet way to add a form to a site super simply. I wouldn’t suggest using them for a production app but for something like this they’re perfect. They also include reCAPTCHA by default so you won’t have to worry about spam.</p><h3>It’s done! How should I host it?</h3><p>Before moving on to picking a web host, I think you should get yourself a domain name. I’ve been an avid user of <a href="https://namecheap.pxf.io/c/1213859/386170/5618">Namecheap</a> (<em>Full Disclosure: This is an affiliate link. I recommend them because I use them not because I can get 20% of your domain purchase.</em>) for years and purchase all my domains through them. Try for a first name, last name domain. Stay away from domains that are truly vanity and try to stick to .com, .io, .me if you can. They’re just easier to remember in general. Once again, do what you want. This is just what I would do.</p><p>Now because you’ve built a static site there are MANY free options that you can use in conjunction with your domain name for hosting. I currently use <a href="https://surge.sh/">Surge</a> however, <a href="https://zeit.co/now">Now</a>, <a href="https://pages.github.com/">GitHub Pages</a> and <a href="https://www.netlify.com/">Netlify</a> are also very common, free and easy to use. If you’re looking for a more fully featured web host I currently use <a href="https://account.geekghost.net/aff.php?aff=45">GeekGhost</a> (<em>Another affiliate link</em>) and enjoy them. I haven’t had any issues, they allow Let’s Encrypt SSL Certificates (an easy and free way to get your site using HTTPS) and their base plan is only $3.50/mo! I won’t go through deploying your site and setting up your domain name as this will be different for each host you may use. Feel free to ask host specific questions in the comments.</p><h3>I’m online, what now?</h3><p>Honestly, not much. Just make sure to link to your site from your resume, on LinkedIn, etc… In addition, remember to keep your site updated as you gain new work experience, publish new projects, and acquire new skills. You never know who might be looking at your portfolio and decide they want to reach out to you!</p><p>If you found this helpful and interesting, please share this article on Facebook and Twitter.</p><p>And please click the 💚 below so that other people will see this here on Medium. Thank you for reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*olCZXLKDPJQGo5WeCchCaQ.gif" /></figure><p><em>Originally published at </em><a href="https://sethaalexander.com/portfolio-site-new-developers/"><em>sethaalexander.com</em></a><em> on March 10, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1a1e01c4f8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[freeCodeCamp Nashville October Meetup Recap]]></title>
            <link>https://medium.com/free-code-camp/freecodecamp-nashville-october-meetup-recap-c9004ca5794e?source=rss-2bceaa50a82d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9004ca5794e</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Seth Alexander]]></dc:creator>
            <pubDate>Thu, 12 Oct 2017 21:48:55 GMT</pubDate>
            <atom:updated>2017-10-17T07:29:35.924Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>Good times in Nashville: a recap of our October freeCodeCamp Meetup</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8ulZ8QJH7r1roTvL.jpg" /></figure><p>On Saturday, October 7, we had our monthly freeCodeCamp Nashville meetup at Nashville Software School. As always it was good times.</p><p>We were supposed to have a guest speaker. But at the last minute they couldn’t make it. So our very own superstar and freeCodeCamp Nashville Co-Organizer <a href="https://github.com/davi3blu3">Dave Harned</a> stepped in and crushed it.</p><p>He presented a Crash Course on Node.js. You can find the repo <a href="https://github.com/davi3blu3/fcc-node-crash">here</a>. Excuse the work in progress readme. Like most things, it’s not perfect. Feel free to open a Pull Request and shore up those docs!</p><p>I’m going to walk through what Dave presented so you can see what you missed out on and come to the next one ;-). Honestly, so you can benefit from a well put together intro that’ll have you up, running, and playing around in no time. Dave chose <a href="https://c9.io/">Cloud9</a> as his IDE so everyone could follow along without having to worry about what people might, or might not, have on their computers. This also provides a consistent user experience so debugging is easier.</p><p>So head over to Cloud9 and get signed up and logged in. Also, check out the repo from the link above and look at the readme.</p><p>Next, you’ll want to click <strong>Create a new workspace</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*YD500IGlr7EuEUs_5TQrFQ.png" /></figure><p>Your <strong>Workspace name</strong> can be whatever you want. Leave <strong>Hosted workspace</strong> selected and choose <strong>Private</strong> or <strong>Public</strong>, it doesn’t matter which. In <strong>Clone from Git or Mercurial URL</strong> input https://github.com/davi3blu3/fcc-node-crash.git. Then, under <strong>Choose a template</strong> select <strong>Node.js</strong>. Lastly, click <strong>Create Workspace</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h2L7iRTdWp2zXr6hTh07Mg.png" /></figure><p>This might take a minute but eventually, you’ll have something that looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_ntB7K82PsEjQVZpQwbE_w.png" /></figure><p>So first thing, let’s go to the terminal at the bottom of the screen and type in <strong>npm install</strong> and hit enter. That’s going to bring in all the packages at are in our <strong>package.json</strong> file. You’ll see a new folder in your file tree now called <strong>node_modules</strong>. That’s where all the packages live.</p><p>Now let’s open up <strong>1_helloworld.js</strong>. It should look like this:</p><pre>var hello = function() {<br>    console.log(&#39;Hello world&#39;);<br>}<br>hello();<br><br>// console.log(process.argv);<br><br>// var greet = process.argv[2] || &quot;World&quot;;<br><br>// var hello = function(name) {<br>//     console.log(&#39;Hello &#39; + name + &#39;!&#39;);<br>// }<br>// hello(greet);</pre><p>Back in our terminal, we can run this file with node 1_helloworld.js. With the initial code, you should see “Hello World” printed in your terminal. This terminal is also our console inside Cloud9. So anything we console.log will end up here. We can see something interesting when we uncomment line 6 by taking out the //.</p><p>So line 6 should look like this now: console.log(process.argv);. When we run node 1_helloworld.js we get our “Hello World” again but then we also get an array that has two elements.</p><p>Yours should be the same as mine:</p><pre>[ &#39;/home/ubuntu/.nvm/versions/node/v6.11.2/bin/node&#39;, &#39;/home/ubuntu/workspace/1_helloworld.js&#39; ]</pre><p>These two elements are the <a href="https://stackoverflow.com/questions/22213980/could-someone-explain-what-process-argv-means-in-node-js-please#22214003">whole command-line invocation</a>. We can do some interesting things with this.</p><p>Let’s change our code up some:</p><pre>// var hello = function() {<br>//     console.log(&#39;Hello world&#39;);<br>// }<br>// hello();<br><br>console.log(process.argv);<br><br>var greet = process.argv[2] || &quot;World&quot;;<br><br>var hello = function(name) {<br>    console.log(&#39;Hello &#39; + name + &#39;!&#39;);<br>}<br>hello(greet);</pre><p>Okay, well not changed much. We only commented and uncommented stuff. So now we have our console.log from before, we set a variable, we set a function, and we call that function. So if we run node <strong>1_helloworld.js</strong> now we’ll see our process.argv array and “Hello World”.</p><p>If we run node <strong>1_helloworld.js “freeCodeCamp Nashville”</strong>, we’ll see an array with 3 elements and “Hello freeCodeCamp Nashville” printed. We can pass things in this way!</p><p>Let’s look at <strong>2_hellofile.js</strong> now:</p><pre>const fs = require(&#39;fs&#39;);<br>const fileToRead = process.argv[2] || &#39;README.md&#39;;<br>const lineIndex = process.argv[3] - 1 || 3;<br><br>fs.readFile(fileToRead, function (err, data) {<br>    if (err) throw err;<br><br>    var lines = data.toString(&#39;utf-8&#39;).split(&quot;\n&quot;);<br><br>    console.log(lines[lineIndex]);<br>});</pre><p>Let’s run this with <strong>node 2_hellofile.js</strong> and see what we get. Whoa, where did that come from? Let’s walk through how this happened. I’m not going to walk through how fs works. It’s a module that comes with Node.js and if you want to learn more you can look <a href="https://nodejs.org/dist/latest-v6.x/docs/api/fs.html#fs_file_system">here</a>.</p><ul><li>Line 1 we require the module in our JavaScript file<br>Now we can use everything that comes with it</li><li>Line 2 we’re setting a variable equal to something we pass into our process.argv or README.md</li><li>Line 3 we’re setting another variable equal to something we pass into our process.argv or 3</li><li>Line 5 we’re using the readFile function that comes with fs and passing in an argument and a callback function to handle an error or data</li><li>Line 6 we say we’ll throw an error if an error occurs</li><li>Line 8 we set a variable that takes the data fs gets for us and turns it into a string then splits it on “\n” so we end up with an array of strings</li><li>Line 10 we console.log the element from the lines array that is at lineIndex index position</li><li>Line 11 we close the function</li></ul><p>If you want to play with this try node 2_hellofile.js &#39;README.md&#39; 14. We’re taking the <strong>readme</strong> and turning it into an array split at the end of each line then logging the line that we call by number.</p><p>On to <strong>3_helloweb.js</strong> which should look like this:</p><pre>const http = require(&#39;http&#39;);<br><br>// on c9.io hostname must be &#39;8080&#39;<br>// locally, this can be almost anything<br>const port = 3000;<br><br>// on c9.io hostname must be &#39;0.0.0.0&#39;<br>// locally, you would use &#39;localhost&#39; (a variable for &#39;127.0.0.1&#39;)<br>const hostname = &#39;localhost&#39;;<br><br>const server = http.createServer(function(request, response){<br>    response.writeHead(200, {&quot;Content-Type&quot;: &quot;text/plain&quot;});<br>    response.write(&quot;Hello Web! XOXO, Node&quot;);<br>    response.end();<br>});<br><br>server.listen(port, hostname, function(){<br>    console.log(`Server running at ${hostname}:${port}/`);<br>});</pre><p>Once again not to go too deep into what http is but it gets our server going. This <strong>3_helloweb.js</strong> is going to be our Node.js <strong>web server</strong>. A very simple one but one nonetheless. Dave has left some notes for us. We need to change the port variable on line 5 to 8080 and the hostname variable on line 9 to &#39;0.0.0.0&#39;. If you were running this code locally the settings that are here should work. However, Cloud9 has some specific restrictions to how they will allow us to run a server. So make the changes and run node 3_helloweb.jsin your terminal.</p><p>You should be greeted with a Server running at 0.0.0.0:8080/ and a green box from Cloud9 with a link to the server:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1J-FOUD93NRjeFNRK2mPRg.png" /></figure><p>When you click that link the first time you’ll get a nasty orange screen with a red button. That’s Cloud9 telling you to not use this type of server for anything important. So click through and you should see a web page that says “Hello Web! XOXO, Node”. That text coming straight from line 18 of our <strong>3_helloweb.js file</strong>. To kill the server click on the terminal and ctrl + c or cmd + c.</p><p>Lastly, we have <strong>4_helloexpress.js</strong>:</p><pre>// bring in dependencies / libraries<br>var http = require(&#39;http&#39;);<br>var express = require(&#39;express&#39;);<br>var app = express();<br>var bodyParser = require(&#39;body-parser&#39;);</pre><pre>// environment variables<br>var port = 8080;<br>var hostname = &#39;0.0.0.0&#39;;</pre><pre>// parses text content of a http request<br>app.use(bodyParser.text({ type: &#39;text/html&#39; }));</pre><pre>// servers static files like our html $ css from public folder<br>app.use(express.static(&#39;public&#39;));</pre><pre>// this handles our post request from the front end<br>app.post(&#39;/&#39;, function(req, res, next) {<br>    console.log(&#39;Message from browser: &#39;,  req.body);<br>    res.end(&#39;Message received. Hello from the back end!&#39;);<br>})</pre><pre>// start the server and listen for requests<br>var server = http.createServer(app);</pre><pre>server.listen(port, hostname, function(){<br>    console.log(`Server running at ${hostname}:${port}/`);<br>});</pre><p>In this app, we’re going to be using <a href="https://expressjs.com/">Express</a> as our web application framework. Express is super popular. Read their docs if you’re interested, I’m not going to dive into it too deep here.</p><p>I’m actually not going to get too deep into this code except to point out a few things. Let’s run our server with <strong>node 4_helloexpress.js</strong>. When we go to the website we should have a simple form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*cnYRiwgyE0fzXPIfboxliQ.png" /></figure><p>This is coming from line 15 where we tell Express to serve the files in the public folder. The public folder has three files which make up our front end. Take a look at <strong>frontend.js</strong> back in Cloud9:</p><pre>var submit = document.getElementById(&#39;submit&#39;);</pre><pre>var captureData = function(e) {<br>    var data = document.getElementById(&#39;data&#39;);<br>    sendData(data.value);<br>}</pre><pre>var sendData = function(message) {</pre><pre>    var xhr = new XMLHttpRequest();<br>    xhr.open(&quot;POST&quot;, &#39;/&#39;, true);<br>    xhr.setRequestHeader(&quot;Content-type&quot;, &quot;text/html&quot;);<br>    xhr.onreadystatechange = function() {<br>        if(xhr.readyState == XMLHttpRequest.DONE &amp;&amp; xhr.status == 200) {<br>            console.log(&#39;Sending: &#39; + message + &#39;. Successful!&#39;);<br>            console.log(xhr.response);<br>        }<br>    }<br>    xhr.send(message); <br>}</pre><pre>submit.addEventListener(&quot;click&quot;, captureData);</pre><p>Now if you’re using Chrome (which we at freeCodeCamp Nashville recommend), open up the console back on that ugly purple page. ctrl + shift + i or cmd + shift + i should do it. If not, right-click anywhere purple and choose the “Inspect” option. You’ll see an error about <strong>favicon.ico</strong> and you can ignore that.</p><p>What we want to show is the front end talking to the back end server. We’re going to do this by logging to the two different consoles. So when we type something into our form and click “Submit” we should see this in our browser console:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*2az-omhcaoRLrBRo6-zZHQ.png" /></figure><p>and this in our Cloud9 server terminal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/0*uiBmeCD80ad2fqul.png" /></figure><p>When we click “Submit” we’re doing a POST request on line 11 of <strong>frontend.js</strong>. On line 14 we’re creating that first console message we see in our Chrome console if the data is sent successfully.</p><p>Then back in our <strong>4_helloexpress.js</strong> on line 26, we set the server up to listen. Our front end sent the POST so the server “hears” that and handles it on line 18 because it’s a POST. On line 19 it logs to the Cloud9 terminal what we saw before and on line 20 it sends some stuff back to the front end.</p><p>Line 16 in <strong>frontend.js</strong> receives the stuff the back end just sent in response and logs that to our Chrome console. That’s a lot of back and forth but illustrates how browsers and servers “talk” to each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NT8kOqkqiJSFrXpn-9mjaw.jpeg" /><figcaption>A picture from the event.</figcaption></figure><p>Hopefully, this piqued your interest and you want to start building your own full stack JavaScript apps. Or maybe now you know just enough to start having fun and playing around.</p><p>If you want to hook up with us at freeCodeCamp Nashville, check us out on <a href="https://www.meetup.com/freeCodeCamp-Nashville">Meetup at freeCodeCamp Nashville</a>. We also have a <a href="https://www.facebook.com/groups/free.code.camp.nashville/">Free Code Camp Nashville Facebook Page</a>.</p><p>My favorite is the #freecodecamp channel on the <a href="https://nashdev.com/">NashDev Slack</a> network. If you want to join us, go to the link, and enter your email. You’ll get an invite to the network. Set up your account and once you log in you’ll jump into the #general channel by default. Type /join #freecodecamp and hit enter. Then you’ll be right there with us chatting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9004ca5794e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/free-code-camp/freecodecamp-nashville-october-meetup-recap-c9004ca5794e">freeCodeCamp Nashville October Meetup Recap</a> was originally published in <a href="https://medium.com/free-code-camp">We’ve moved to freeCodeCamp.org/news</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Boot Camps are Failing Their Graduates]]></title>
            <link>https://medium.com/@sethalexander/why-boot-camps-are-failing-their-graduates-305904305445?source=rss-2bceaa50a82d------2</link>
            <guid isPermaLink="false">https://medium.com/p/305904305445</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[bootcamp]]></category>
            <category><![CDATA[schools]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Seth Alexander]]></dc:creator>
            <pubDate>Sun, 30 Jul 2017 03:57:26 GMT</pubDate>
            <atom:updated>2017-07-30T03:57:26.706Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0WMXNAHldwTQIPwcv51rEA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/7SRymDKKDus?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Ben White</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>As a recent boot camp graduate it’s odd that I feel the boot camp industry is failing their graduates. However, with two large boot camps closing in the month of July there has been a lot of talk in the coding education space. I’ve been able to chat with graduates of The Iron Yard as well as other boot camp grads out there. I’ve also seen the gripes of Senior Developers as well as boot camp grads who are 6 months post graduation and still not finding employment. So I decided to dig into the data some.</p><p>I started looking at the top online web development boot camps. I decided to look at the top rated on <a href="https://www.coursereport.com/">Course Report</a>. I specifically was looking at if the program offered a job guarantee and if they offered career services. Now, what I think about career services or the help the school offers in guiding students to land a job is based on what I have received. However, I quickly found that while programs like to say they help grads find jobs most really don’t in my opinion. <strong><em>This is where I feel they are failing their graduates.</em></strong> It seems like this is the standard if anything is mentioned:</p><blockquote>Employers are invited to connect with our apprentices before the end of each cohort. In a speed dating format, apprentices and employers get the opportunity to connect about current career opportunities. In addition, Employer Network Managers meet with apprentices multiple times during their cohort and assist with resumes, interview prep, job search and all other employment needs. Our masters and mentors are also there to assist you in your job search.</blockquote><p>So to decode this:</p><p>“Employers are invited to connect with our apprentices before the end of each cohort. In a speed dating format, apprentices and employers get the opportunity to connect about current career opportunities.” This means that employers are invited to connect with students on demo day, those employers may or may not come.</p><p>Then, “In addition, Employer Network Managers meet with apprentices multiple times during their cohort and assist with resumes, interview prep, job search and all other employment needs.” So you get prep during the cohort but not after? That seems odd to me. Don’t you need this help the most after you graduate?</p><p>Lastly, “Our masters and mentors are also there to assist you in your job search.” The teachers will help you if they can.</p><p>Now contrast that with a much rarer and I feel proper career support promise:</p><blockquote>As alumni of our courses you have lifetime access to our experienced career counselors, mentors, instructors and hiring networks. Whether it’s job interviewing, sharpening up your portfolio, or brushing up on your code, our classrooms and staff are at your disposal. For life.</blockquote><blockquote>Alumni Resources:<br>- Professional head shot for social media<br>- Completed super transcript<br>- Technical training for GitHub and LinkedIn profiles<br>- Technical interview / job negotiation training<br>- Access to library of recorded class materials<br>- Free co-working<br>- Access to current mentors / instructors<br>- Access to career counselor<br>- Job tracking / job searching tools<br>- Free admission to hiring events</blockquote><p>There is one thread that does run through all the schools that offer more in depth career services, a Job Guarantee. The typical one has stipulations of things you must do each week to maintain eligibility for this guarantee. If in 6 months after graduation the student does not find full time employment in the tech industry their tuition will be refunded is pretty standard. To see what the requirements of a couple top schools look like check out the ones for <a href="http://go.flatironschool.com/career-services-commitment">Flatiron School</a> &amp; <a href="https://www.bloc.io/faq#tuition_guarantee">Bloc</a>. Now, this does not mean that schools that do not offer a job guarantee do not teach what’s needed to land a job, the struggle in landing a job might be more than others who have more dedicated support. I know that I’ve never heard a bad thing about a <a href="http://www.hackreactor.com/">Hack Reactor</a> graduate from anybody that has hired one and they offer no guarantee and they are one of the most expensive schools as well.</p><p>I just find it sad when I see a student who graduated from a boot camp 6 months ago talking about how they haven’t landed a job yet. They’re frustrated. I’m sure this could be mitigated by better guidance and direction being given to them. They’re looking for someone to blame and it’s hard for a person to say that the school they poured their time and money into might not have been the best decision. There is a bias there that is hard to break. It’s also hard sometimes to tell those people that they might need to take a look in the mirror and reevaluate themselves. If every other student in their cohort has landed something by this point in time it might not be the hiring managers or the school but themselves. This is what good career support would be providing. Not just a nice CV and an updated LinkedIn profile.</p><p>I’m going to take a unpopular, but I believe widely held, stance right now. Not everybody can learn to code. Sorry, I just don’t believe it. Just like not everybody can learn to do Quantum Physics. Okay, I know those are a little extreme in comparison. However, I think it still holds true. I think there’s going to be a larger need for mid level developers a few years from now as boot camp grads who got into the profession for the wrong reasons realize they really don’t like their jobs. Those people won’t have the passion or drive to be truly valuable for companies and it’ll be clear who their counterparts that love development are. Those people are going to THRIVE once that separation occurs. I’ve heard stories of boot camps that literally asked two questions to potential students, “Can you pay? Do you have a Mac?” Some don’t even ask that second question. It’s a sad reality that is going to bite this industry in the ass.</p><p>I know I love the basic tasks that web developers do every day. The problem solving and learning. So I’ll be looking forward to being the diamond in the rough when the time comes. I’m also happy to see some boot camps closing. The industry will start evaluating what those schools did wrong to hopefully not follow in their footsteps. Eventually, students will start being more discerning in what school they choose to attend as more and more pop up. In addition, online and remote programs are now offering top notch programs that are accessible for anyone with an internet connection.</p><p>If you know someone that is thinking about going to a coding boot camp, please share this article with them on Facebook and Twitter.</p><p>And please click the 💚 below so that other people will see this here on Medium. Thank you for reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*olCZXLKDPJQGo5WeCchCaQ.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=305904305445" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can you juggle? I hope so.]]></title>
            <link>https://medium.com/@sethalexander/can-you-juggle-i-hope-so-ad841b0fe5cb?source=rss-2bceaa50a82d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad841b0fe5cb</guid>
            <category><![CDATA[flatiron-school]]></category>
            <category><![CDATA[nashville]]></category>
            <category><![CDATA[web-developer]]></category>
            <category><![CDATA[job-hunting]]></category>
            <category><![CDATA[networking-tips]]></category>
            <dc:creator><![CDATA[Seth Alexander]]></dc:creator>
            <pubDate>Sun, 23 Jul 2017 04:05:06 GMT</pubDate>
            <atom:updated>2017-07-23T04:05:06.848Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kLslS_Fg33bsSJ45cWovdw.jpeg" /></figure><p>So I thought that being finished with school would make life a little simpler. I was wrong. Between attending meetups, networking, doing career prep stuff, accepting a Teaching Assistant position at Flatiron School, continuing to learn new topics, doing algorithm challenges, interviewing, and extending my projects, I’m very busy. Oh yeah, and writing my blog at least once a week. Oh, and watching the kiddos full time while my wife is at work. I’m actually ending up doing less coding than I would like. However, I know in time this will change. I’ll be all done with my career prep and just working the plan. I’ll be done with things like watching <a href="https://www.lynda.com/JavaScript-tutorials/Four-Semesters-Computer-Science-5-Hours/604270-2.html">Four Semesters of Computer Science in 5 Hours</a>.</p><p>However, you reap what you sow. I think a big part that is missing from the program I just completed is throwing career prep in earlier. I’ve realized that the things I have been doing <strong>during</strong> my time in the boot camp have been very beneficial to me. I think a lot of people miss out on this and then it takes them longer than it should to land a job. The biggest thing is the networking. I think every student should be instructed to find at least one technical meetup and attend every time they meet for the duration of the program and beyond. This will produce ripe fruit.</p><p>In the middle of all this I’ve scored an interview. I passed my technical interview and was happy to <strong>NOT </strong>be quizzed on any Computer Science topics. I was also happy to be told not to worry about writing the most efficient code but to write code that works. In the end, this is what my live coding ended up being:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ea45c014b06b8b4f4162148f4588d5a6/href">https://medium.com/media/ea45c014b06b8b4f4162148f4588d5a6/href</a></iframe><p>I hit two real stumbling block. First, I initially wrote return str.reverse() for my first function. It started throwing errors when I tested it and I couldn’t remember why. Then it clicked. I can’t call reverse() on a string, only an array. The other place I got stuck was on line 18. I couldn’t remember unshift(). I simply asked, “May I Google the correct function instead of guessing?” To which I was told yes. Luckily for me, the lead who was on the interview had earlier said he was asked by someone in an interview once if they could Google and he told them yes. This did not make me feel as nervous about asking the question. I know not every interview will be like this though.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*lt7qkMEqYv5f22WAWC6cRQ.jpeg" /></figure><p>Ultimately, I’m in a similar place to when I started coding. Trying to figure out what to learn next? I’ve come full circle. It’s the circle of life of a developer. Something that came up in conversation today from a working web developer I know was in regard to this. He was talking about a friend who is about 5 years behind current technology and is going to either have to take a pay cut for his next position or level up a good bit before it. This was one of the most attractive things to me about becoming a developer. I’ll have to keep up with technology and will never stop learning. I would get bored in the restaurant world after a year of being somewhere. The mental stimulation just wasn’t there for me.</p><p>While I can’t actually juggle pins or tennis balls. I think I’m doing a damn good job juggling this crazy thing called full time job hunting.</p><p>If you know someone that is thinking currently, almost, or finished with a coding boot camp, please share this article with them on Facebook and Twitter.</p><p>And please click the 💚 below so that other people will see this here on Medium. Thank you for reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*olCZXLKDPJQGo5WeCchCaQ.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad841b0fe5cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Full Time Job before The Full Time Job]]></title>
            <link>https://medium.com/@sethalexander/the-full-time-job-before-the-full-time-job-9ef63ccfaee?source=rss-2bceaa50a82d------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ef63ccfaee</guid>
            <category><![CDATA[bootcamp]]></category>
            <category><![CDATA[web-developer]]></category>
            <category><![CDATA[nashville]]></category>
            <category><![CDATA[job-search]]></category>
            <category><![CDATA[flatiron-school]]></category>
            <dc:creator><![CDATA[Seth Alexander]]></dc:creator>
            <pubDate>Sat, 15 Jul 2017 20:45:19 GMT</pubDate>
            <atom:updated>2017-07-21T03:20:55.157Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2bEiEPBk1SoVk1Pl0d_r-w.jpeg" /></figure><p>I think this picture is pretty accurate as to how I feel right now. A pawn crowned king. I passed my final assessment the first time through and have officially been a graduate of Flatiron School for a week now. I’m also lucky enough to have a full time job right out of school. A full time job looking for a job that is :-p. It’s amazing how in depth the job search can be. However, when you are provided with a solid framework to follow it’s nice to see the pieces just start falling into place. With my choice of the <a href="https://flatironschool.com/programs/online-web-developer-career-course/">Full Stack Web Developer Program</a> through Flatiron School I receive a job guarantee if I follow some steps. Obviously there is a little more to it, like following my career coaches advice, but in general I must have 8 git commits per week to GitHub, write one blog post per week, and perform 8 job search activities per week (ie. apply for a job, meet someone at a user group, follow up thank you notes, networking outreach to meet for coffee, etc…).</p><p>These are things I think I would do anyway but having a structure that I am being held accountable to is definitely pushing me to get out of my comfort zone some in this process. I also have a better pace to do my outreach. If I had done it myself I probably would have blown through EVERY contact I have in this first week and now be dealing with scheduling conflicts and such going into next week. Now I am pacing it and staggering how I contact people some. If you’re like me you’re already thinking of ways to track this type of job search. Maybe build an app, or utilize Trello, or a Google Sheet. Luckily, the Flatiron School curriculum is open source so you can just find it right <a href="https://github.com/learn-co-students/careers-job-search-tracker-v-000">here</a> (look for the embedded link).</p><h3>Staying Active Coding</h3><p>While this seems like a standard practice I know it’s not. I’ve watched many boot camp graduates GitHub accounts go from consistent commits to zero after graduation. This is something I prepared for as I worked on my portfolio projects. I always knew ways that I wanted to extend them. Although, now that I have the freedom to learn <strong>ANYTHING </strong>I need to stay on track. As soon as I became a graduate a <a href="https://nodejs.org/">Node.js</a> track opened up for me in my courses listing. This is attractive as I could round out some full stack JS knowledge. I also purchased <a href="https://learnnode.com/">Wes Bos’ Learn Node</a> course while I was going through the boot camp so I have that too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RF2MAfjB1_0FowzOmTW78Q.jpeg" /></figure><p>It’s easy to become lax though. It’s nice to take a breath and relax. I’ve worked hard and I <em>deserve </em>a break right? Well, no I don’t. I still have to work my butt off. I’m at the bottom right now and the climb is hard. However, the job search is pretty much full time in and of itself so now I need to find time to code too? Yes. Here’s the plan:</p><ol><li>Refactor my React with Redux project to pull from the Yelp API instead of from the Rails API I built it on. Then implement comments being persisted in the DB.</li><li>Finish the TODO items I left open for the rest of my projects. Work on the Ruby CLI Gem first, then my jQuery front end, then my Rails project, then my Sinatra project (maybe).</li><li>Node.js is next. First the Flatiron track then Wes Bos’ course.</li><li>If I’m still looking for work at this point I’m not sure what I’ll dive into. I might choose to build my React app using other frameworks to acquire familiarity and demonstrate my ability to learn other things.</li></ol><p>Ultimately, I don’t want my GitHub to go stale. I’m also working on algorithm challenges to prepare for technical interviews. I’m mostly working on <a href="https://codefights.com/signup/85hdF2zEPEthw6DZA/main">CodeFights</a> currently as they have an Interview Prep set of problems. However, I’ve done problems on <a href="http://www.codewars.com/r/rf2vqg">Codewars</a> which are fun and I hear a ton of good things about <a href="http://exercism.io/">exercism.io</a> which I’ll probably dive into once I’m done with CodeFights stuff.</p><h3>Networking</h3><p>While this might seem like a natural thing for me, former restaurant manager, bartender, meetup co-organizer, meetup attender, etc… It’s always awkward to reach out to someone for the first time. Luckily, I have help with this. There are some awesome resources for this in Nashville as well. I’m sure if you look around there are resources in your city as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*knnj1OVfw6cfE0sEkz5LYg.jpeg" /></figure><p><a href="https://meetup.com/">Meetup.com</a> has to be the #1 resource for networking around shared topics. There are so many user groups and these are open to the public. So, everyone at a meetup event is already a warm contact. They expect to be approached and talked to. Adding to that the topic should hopefully be something that you are interested in and can speak somewhat about. I’ve had some great conversations, met some awesome engineers and established friendly contacts that I hope to maintain long term.</p><p>Another great place to check out, and meetups will help you find these, are Slack networks in your city. Nashville has the <a href="http://nashdev.com/">NashDev</a> Slack network which is a central place for people in IT in Nashville to chat. I&#39;ve asked questions there and learned a ton from the responses from lead engineers and seasoned developers who have helped me with no strings attached. The best part is, some of these people I’ll probably end up interviewing with. Now I’m not a random name but someone that they have conversed with and taught before.</p><p>In addition, look for groups specifically for people to extend their learning. Started in Nashville and slowly spreading I found <a href="https://groups.google.com/forum/#!forum/penny-university">Penny University</a>. I think they describe the idea better than I can paraphrase:</p><blockquote>The name “Penny University” is a reference to the early coffeehouses in Oxford England. These coffeehouses held an important association with the European Age of Enlightenment. For the price of a penny, scholars and laypeople alike would be given admittance to the coffeehouse, enjoy an endless supply of coffee, and more importantly enjoy learning through conversations with their peers. Thus these coffeehouses came to be called “Penny Universities”.</blockquote><blockquote>Our new group, Penny University, serves as a modern take on this old tradition by connecting those who desire to learn with those who are willing to share what they know. This can certainly be at a coffeehouse, but anywhere else as well, including just a quick Google Hangout.</blockquote><blockquote>There are no mentors or mentees, leaders or followers. We are all peers and we are here to both learn and to teach.</blockquote><p>Not surprisingly Penny U has their own Slack network.</p><p>Look for ways that you can donate time to coding. It’s a great way to work next to Senior developers and learn. In addition, the contacts are great. You’ll demonstrate not just what you know but how you can interact in a team setting. An awesome place to start is <a href="https://www.codeforamerica.org/">Code for America</a> and then track down your local <a href="https://www.codeforamerica.org/join-us/volunteer-with-us/list-of-all-brigades">Brigade</a> that does civic projects. I recently attended a <a href="http://www.codefornashville.org/">Code for Nashville</a> meetup and got hooked in with them. Was told to join their Slack network and learn some Node.js for the project they’re getting ready to start.</p><p>A final piece to networking is meeting people for 1 on 1 conversations. While these can be the most intimidating hopefully they aren&#39;t completely cold. I know that I’m only asking people that I&#39;ve met in person at a meetup or have spoken with via Slack to some extent. I’m meeting some great people this way and as soon as I’m done with my project refactors I’m going to start asking for code reviews which will help level me up as a developer too.</p><p>Let’s see if I can beat the odds and land a job quicker than the average bear though these efforts.</p><p>If you know someone that is thinking currently, almost, or finished with a coding boot camp, please share this article with them on Facebook and Twitter.</p><p>And please click the 💚 below so that other people will see this here on Medium. Thank you for reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*olCZXLKDPJQGo5WeCchCaQ.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ef63ccfaee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[So Close to the End]]></title>
            <link>https://medium.com/@sethalexander/so-close-to-the-end-dcd77bae33f8?source=rss-2bceaa50a82d------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcd77bae33f8</guid>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[redux]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[flatiron-school]]></category>
            <dc:creator><![CDATA[Seth Alexander]]></dc:creator>
            <pubDate>Wed, 05 Jul 2017 20:22:54 GMT</pubDate>
            <atom:updated>2017-07-06T05:28:41.792Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EpwrygVbD47BYcdy54o0Fg.jpeg" /></figure><p>It’s been about 3 weeks since I last blogged. I put my head down and sprinted towards the finish line. I can’t say that I’m 100% done, yet, but I will be soon. I have completed my final portfolio project and have my assessment for it tomorrow. I must say, <a href="http://redux.js.org/">Redux</a> threw me for one while working on this project. I hit many stumbling blocks building this project. I think my sprint was alittle ambitious and I ended up not knowing the Redux stuff as in depth as I wanted to. I definitely created some of my own frustration because of this. However, I hacked away at it and got it. I watched YouTube videos, <a href="https://learnredux.com/">Wes Bos’s Redux Course</a>, and I even used <a href="https://hackhands.com/">HackHands</a> a couple times thanks to the <a href="https://education.github.com/pack">Github Education Student Developer Pack</a> $25 credit I received.</p><p>HackHands was an interesting experience. Getting help from people who were not native English speakers (I assumed that’s who I’d get considering I was doing this on July 4th) and being able to communicate how I was stuck. The two times I used it I didn’t get a direct answer to my question. However, I did see someone debug my code live and in the end the source of my problem was illuminated by the help.</p><p>So one problem I ran into was not getting the data from my API when I called fetchPlaces(). I was stumped. By all accounts it should be working. My API was returning proper JSON formatted data. I had:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/546f157a0163a935c505056e80dec213/href">https://medium.com/media/546f157a0163a935c505056e80dec213/href</a></iframe><p>I couldn&#39;t for the life of me figure out why I wasn’t getting the data that I needed back. I considered using parseJSON() but I didn’t think I needed to since the data being returned was already JSON. I was going to use it just like that as well. I wasn&#39;t accounting for the fact that I was using fetch() to retrieve the JSON from my API. For more about the small, but important piece, that I was missing take a look at <a href="https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch">Using Fetch</a> followed by <a href="https://developer.mozilla.org/en-US/docs/Web/API/Body/json">Body.json()</a> on MDN. With that knowledge I was able to fix my call by implementing .json() on line 7 below followed by another .then which now has the proper data to pass into the payload.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c4fc0e2587042ce7d7640ff091650e99/href">https://medium.com/media/c4fc0e2587042ce7d7640ff091650e99/href</a></iframe><p>Another issue I ran into was a CORS violation. CORS stands for “Cross-origin resource sharing” and can be described as:</p><blockquote><em>Cross-origin resource sharing is a mechanism that allows restricted resources on a web page to be requested from another domain outside the domain from which the first resource was served. A web page may freely embed cross-origin images, stylesheets, scripts, iframes, and videos. Certain “cross-domain” requests, notably Ajax requests, however are forbidden by default by the same-origin security policy.<br> — </em><a href="https://en.wikipedia.org/wiki/Cross-origin_resource_sharing"><em>Wikipedia</em></a></blockquote><p>If that doesn’t make sense, don’t worry. Just know that CORS is implemented for security on the web. However, it also meant that unless I explicitly stated that my React app could talk to my Rails API I wasn’t going to be able to get the data. Luckily, there is a pretty easy way to enable this and it only took a few lines of code. I first added gem &#39;rack-cors&#39;, :require =&gt; &#39;rack/cors&#39; to my Gemfile and ran bundle. Next I had to add some code:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b7eb0c22da4553e95377534e313d1288/href">https://medium.com/media/b7eb0c22da4553e95377534e313d1288/href</a></iframe><p>This enabled my React application running on localhost:3000 to talk to my Rails API server running on localhost:3001 with no problems.</p><p>Ultimately I learned <strong>A LOT</strong> doing this project. I’m not 100% happy with where my app is at currently. However, to my understanding it fulfills all the requirements of the project and that’s what I was shooting for. I can see abstracting it away from the back end and setting it up to pull all data from an external API call instead. Having built the back end though I know that it’ll always work the way I want it to and thus is a more stable project to include in a portfolio.</p><p>Check out <a href="https://github.com/itzsaga/foodie-view">Foodie View</a> and see what you think for yourself. I’ll get it up on Heroku soon and will link to it from GitHub.</p><p>Time spent total: 457:50<br> Lessons completed total: 689</p><p>Go back to <a href="https://medium.com/@sethalexander/international-jquery-tic-tac-toe-229509897fa3">Day 109</a>.</p><p>If you know someone that is thinking about doing an online coding bootcamp, please share this article on Facebook and Twitter.</p><p>And please click the 💚 below so that other people will see this here on Medium. Thank you for reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*olCZXLKDPJQGo5WeCchCaQ.gif" /></figure><p><em>Originally published at </em><a href="https://itzsaga.github.io/post/so-close-to-the-end/"><em>itzsaga.github.io</em></a><em> on July 5, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcd77bae33f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sometimes The Logic Is Flawed]]></title>
            <link>https://codeburst.io/sometimes-the-logic-is-flawed-ee954c832e14?source=rss-2bceaa50a82d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee954c832e14</guid>
            <category><![CDATA[jquery]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[flatiron-school]]></category>
            <category><![CDATA[json]]></category>
            <category><![CDATA[es6]]></category>
            <dc:creator><![CDATA[Seth Alexander]]></dc:creator>
            <pubDate>Fri, 16 Jun 2017 04:01:31 GMT</pubDate>
            <atom:updated>2017-07-06T05:29:17.855Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aNjZTfdn_2JlUd7YMwIUHw.jpeg" /></figure><p>So I’m banging away at my jQuery project. I got hung up on some code tonight but got it working right before I stopped for the night! I was stoked! So what was I stuck on? In my app a user can create as many places as they want. Each place can have as many items as they want. A user can look at a specific item and see the name of it, the rating they gave it, any notes they wrote about it and where the item is available (the places they’ve added it to). I wanted to implement a “Next Item” button/link that when clicked will load the next item for the current user.</p><p>First things first I needed an array of the current users item ID #’s. I needed this because my show pages follow RESTful conventions and use the item ID in the URL. This is what the show page is expecting in it’s params. So I got that done relatively easily:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b46f05494094a70df5ec5d421bc311da/href">https://medium.com/media/b46f05494094a70df5ec5d421bc311da/href</a></iframe><p>Then, I wanted the functionality that I stated above. However, I didn’t want to get to the last item and just have a button that does nothing because there’s no next item. I also didn’t want the button to just disappear (I did that and I thought it was weird). So I decided when we reached the last item we should loop back around and go to the first item again. So I started coding and got to this point:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3e296936001b994fca2e2bb0802b2c9c/href">https://medium.com/media/3e296936001b994fca2e2bb0802b2c9c/href</a></iframe><p>So my “Next Item” link has a class of ‘js-next’. Then I set a nextIndex variable by getting the current data-id of my link (ie, the current item being displayed ID number), turning that into an integer, finding the index of that ID in the itemsValues array and adding one to it. Then I call my internal API and get the next item’s info as a JSON object. I then fill in the new data to the DOM. Finally, I have an <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else">if…else</a> block where I try and set the data-id to the first item ID if the new item is the last item in the array. If not, set it to the now current item ID.</p><p>Looking at this now I think the logic is flawed because, I increment by one on the API call after the click. So setting it to the first item <em>before</em> the click will eliminate one item from ever showing up. I actually had this happen and couldn’t figure out why. This logic was fuzzy but is probably why I ended up moving the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else">if…else</a> logic to the top of my function and when I did it worked!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ef8c693ce585b5526818b5238b2797aa/href">https://medium.com/media/ef8c693ce585b5526818b5238b2797aa/href</a></iframe><p>I also filled out the HTML for the name section of the page using those lovely <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals">template literals</a> I talked about in my last blog post. This project is coming along well. I’m hoping to be done with it tomorrow night at some point in time. If I can finish this off before the weekend I’ll be super happy and think right on track to be done before the end of the month.</p><p>Time spent today: 2:16<br>Time spent total: 394:16<br>Lessons completed today: 0<br>Lessons completed total: 646</p><p>Go back to <a href="https://medium.com/@sethalexander/international-jquery-tic-tac-toe-229509897fa3">Day 106</a>. Continue to <a href="https://medium.com/@sethalexander/so-close-to-the-end-dcd77bae33f8">Day 129</a>.</p><p>If you know someone that is thinking about doing an online coding bootcamp, please share this article on Facebook and Twitter.</p><p>And please click the 💚 below so that other people will see this here on Medium. Thank you for reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*olCZXLKDPJQGo5WeCchCaQ.gif" /></figure><p><em>Originally published at </em><a href="https://itzsaga.github.io/post/sometimes-the-logic-is-flawed/"><em>itzsaga.github.io</em></a><em> on June 16, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee954c832e14" width="1" height="1" alt=""><hr><p><a href="https://codeburst.io/sometimes-the-logic-is-flawed-ee954c832e14">Sometimes The Logic Is Flawed</a> was originally published in <a href="https://codeburst.io/">codeburst</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[International jQuery Tic-Tac-Toe]]></title>
            <link>https://codeburst.io/international-jquery-tic-tac-toe-229509897fa3?source=rss-2bceaa50a82d------2</link>
            <guid isPermaLink="false">https://medium.com/p/229509897fa3</guid>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[json]]></category>
            <category><![CDATA[flatiron-school]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[turbolinks]]></category>
            <dc:creator><![CDATA[Seth Alexander]]></dc:creator>
            <pubDate>Tue, 13 Jun 2017 03:40:53 GMT</pubDate>
            <atom:updated>2017-06-16T14:10:24.474Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qw_7eMBF-Es0iPO9v_hn5w.jpeg" /></figure><p>I’ve been moving along as of late. Today I was able to knock out my <a href="https://github.com/itzsaga/js-tictactoe-rails-api-v-000">Tic-Tac-Toe in jQuery</a> project. Well, it’ll be done <em>VERY</em> soon. I paired with another student <a href="https://github.com/bortch89">Henno</a> who’s in a time zone 7 hours ahead of mine. I had just started and he was looking for a partner so while he read upon the project and had a bit I got the first three controller tests to pass. I did hit an issue though where my active_model_serialiers gem was the most up to date version and that was causing an issue with what the test wanted returned. I was missing the root key of the JSON. With some help, I decided to roll back the gem version and got the test passing. Then we paired for a solid 5 hours before he needed to get some rest. We had 9 tests still failing. Decided that I’d do 4 or 5 of the last 9 and he’d finish it up. So that’s where the project is right now but I know he’ll get it done tomorrow. There isn’t much left.</p><p>It was a good exercise on pairing. We setup a GitHub repo and added a collaborator then discussed what our next test was and how to approach it. Sometimes one of us would just go for it and code it. Sometimes we’d both go at it and whomever got it first would push it up. Henno was using git stash to get rid of any WIP he had an clone down fresh updated code. I used that a couple times as well. I had heard of stashing but never done it. I know the code is still around <em>somewhere</em>.</p><p>I started work on my Rails App with a jQuery Front End tonight. I actually got a good ways into it. I’m getting more comfortable with jQuery and that’s helping a lot. I’m also learning some better patterns in respect to the DOM and how to work with and manipulate it. My jQuery project is a refactor of my Rails Portfolio Project. For example, I’m taking a show view that lists the items rated at a specific place and rendering those items via jQuery from a JSON call to the back end. The serializer makes creating the JSON objects so easy. <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals">ES6 Template Literals</a> make writing multi-line HTML strings with embedded place holders a lot easier than using concatenation or newline slashes.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e808793a6d77103b1db33958ef4d4089/href">https://medium.com/media/e808793a6d77103b1db33958ef4d4089/href</a></iframe><p>So yeah, I’m happy about Template Literals. I’m also happy that since I’m only writing Front End for the most part I think this project will go relatively quickly. I spent 90 minutes on it tonight and knocked out a couple of the specs. A decent amount of time was spent setting the project up then getting rid of the turbolinks gem when it broke my app. I decided to get rid of it completely rather than just figure out a work around because my app isn’t robust enough to truly benefit from all that turbolinks does in my humble opinion. I also remembered other students further along saying the first thing they did after a certain point was remove turbolinks when they were working on projects. It’s looking like I’ll be starting to learn React this weekend and be even that much closer to graduation!</p><p>Henno and I committed to putting in some serious work and getting done before the end of the month and both of our next tuition payments come out. We’ll see how well we do and if we help keep each other accountable.</p><p>Time spent today: 9:15<br>Time spent total: 391:22<br>Lessons completed today: 1<br>Lessons completed total: 642</p><p>Go back to <a href="https://medium.com/@sethalexander/100-days-of-flatiron-school-bootcamp-926204e3a0b7">Day 100</a>. Continue to <a href="https://medium.com/@sethalexander/sometimes-the-logic-is-flawed-ee954c832e14">Day 109</a>.</p><p>If you know someone that is thinking about doing an online coding bootcamp, please share this article on Facebook and Twitter.</p><p>And please click the 💚 below so that other people will see this here on Medium. Thank you for reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*olCZXLKDPJQGo5WeCchCaQ.gif" /></figure><p><em>Originally published at </em><a href="https://itzsaga.github.io/post/day-106/"><em>itzsaga.github.io</em></a><em> on June 13, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=229509897fa3" width="1" height="1" alt=""><hr><p><a href="https://codeburst.io/international-jquery-tic-tac-toe-229509897fa3">International jQuery Tic-Tac-Toe</a> was originally published in <a href="https://codeburst.io/">codeburst</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[100 Days of Flatiron School Bootcamp]]></title>
            <link>https://medium.com/@sethalexander/100-days-of-flatiron-school-bootcamp-926204e3a0b7?source=rss-2bceaa50a82d------2</link>
            <guid isPermaLink="false">https://medium.com/p/926204e3a0b7</guid>
            <category><![CDATA[sidekiq]]></category>
            <category><![CDATA[postman]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[bootcamp]]></category>
            <category><![CDATA[flatiron-school]]></category>
            <dc:creator><![CDATA[Seth Alexander]]></dc:creator>
            <pubDate>Wed, 07 Jun 2017 04:06:43 GMT</pubDate>
            <atom:updated>2017-06-13T04:21:12.652Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C7FXTiKbsJxhNLwmX-KECg.jpeg" /></figure><p>I’ve reached the 100 day mark. I have to say, I honestly thought I’d be done by now. I’m 82% of the way there. It’s going to be a mad dash to the end. I really, really, really don’t want to pay another full month’s tuition when I finish a few days into that billing cycle. So it’s pretty simple. I have to finish by June 27th. We’ll see what happens. I have a back up plan if I’m literally working on my final project and I’m sure I’m not going to make it. We’ll see if it comes to that or not…</p><p>Tonight had me learning about workers in Rails apps and specifically the <a href="http://sidekiq.org/">Sidekiq</a> gem. It’s pretty sweet how easily it can abstract out letting a task run in the background so a user can keep on with their work. The example in the lesson is loading a large CSV of leads into your webapp. First, you create a worker file in app/workers, make sure that file has include Sidekiq::Woirker, then take the long running process and input that into #perform.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/45888cf55bbe98326e7a618329fd0105/href">https://medium.com/media/45888cf55bbe98326e7a618329fd0105/href</a></iframe><p>After that replace the long running process code in your controller by running the worker.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e930856113eb1e76942ce2930df61d66/href">https://medium.com/media/e930856113eb1e76942ce2930df61d66/href</a></iframe><p>Now if you upload a large CSV file via the form at /customers, when you submit it everything will move along. Then as you refresh the index page /customers it will have a growing list until the CSV file is done being imported into the DB.</p><p>I also did a few lessons on Consuming APIs. Luckily for me this is not completely new to me so I have a good base to work off of. Actually, this shouldn’t be completely new to anyone in the program as earlier labs deal with pulling API data and rendering it to the DOM. My main note on APIs is the <em>querystring</em> which trips me up sometimes.</p><ul><li>? after the URL</li><li>param=value&amp;param2=value</li><li>ie. <a href="https://api.example.com/places?name=tonys&amp;city=nashville">https://api.example.com/places?name=tonys&amp;city=nashville</a></li></ul><p>Although, I also learned how <a href="https://www.getpostman.com/">Postman</a> has a params section with key/value pairs which helps with building out the querystring.</p><p>Time spent today: 1:53<br>Time spent total: 369:58<br>Lessons completed today: 7<br>Lessons completed total: 621</p><p>Go back to <a href="https://medium.com/@sethalexander/popular-gems-are-all-the-rage-46cac1fa48">Day 99</a>. Continue to <a href="https://medium.com/@sethalexander/international-jquery-tic-tac-toe-229509897fa3">Day 106</a>.</p><p>If you know someone that is thinking about doing an online coding bootcamp, please share this article on Facebook and Twitter.</p><p>And please click the 💚 below so that other people will see this here on Medium. Thank you for reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*olCZXLKDPJQGo5WeCchCaQ.gif" /></figure><p><em>Originally published at </em><a href="https://itzsaga.github.io/post/day-100/"><em>itzsaga.github.io</em></a><em> on June 7, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=926204e3a0b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>