SI

[ Mission Control πŸ›° ]


Concept:

I came across a challenge on Twitter called the #100DaysofCode Challenge. It is a simple idea, you code for at least an hour, each day for 100 days. But to keep yourself accountable, you must tweet about what you did that day. I wanted to complete this challenge, so I searched through the "100 Days of Code" hashtag on Twitter for inspiration. Combing through hundreds of tweets, I noticed one common obstacle many people faced: they would forget to post their daily tweet. People would then fall back to aggregating a couple of days into a single tweet or, skipping out on tweeting that day altogether. Yes, you can achieve the feat without ever making a single tweet, however, what I noticed is that people who consistently tweeted about their progress tended to be more successful at completing the challenge to the end. Once you start missing one tweet, you start forgetting more, and by the time you know it, you haven't coded in weeks! By publicly tweeting out what you did that day, you are holding yourself accountable. So with this common pitfall in mind, I set out to build an application to help me be as successful as possible - this was when the idea for Mission Control πŸ›°was born.

Project Specifications:
  1. I wanted to build a simple platform that allowed me to log my #100DaysofCode journey.
  2. After I submit a log, I should be able to post my log header (containing the day number and the title) to Twitter with ease.
  3. I should be able to login to my platform to edit and delete logs.
  4. I should see a countdown of how much time I have left since the previous post to publish a new entry.
  5. I should also see indicator lights as a quick status check. (Green indicating I have more than 12 hours, yellow - less than 12 hours, red - less than an hour.)
Technologies Used:
  1. React.js to build out the UI,
  2. Redux to manage UI and session state,
  3. Firebase for authentication, database storage, and hosting, and
  4. Bootstrap for layout and styling.
Challenges:
  • I had no idea how to add authentication to my project. Fortunately, around the same time, I was taking courses on tylermcginnis.com where Tyler introduced me to Firebase. Firebase is a bundle of incredible services including hosting, authentication, databases, storage, and more!
  • I didn't know how to display the data from my database without the user authenticating with my application. That would mean every person visiting my website would need an account to view my 100DaysofCode journey! Fortunately, Firebase allows for anonymous users meaning that visitors of my application would get temporary authentication to read from my database.

After watching many video tutorials and reading Firebase's well-written documentation and other helpful online tutorials, Mission Control πŸ›° was born and ready for lift off.

Project Outcome:

I was extremely pleased with what I built:

  • I developed an intuitive dashboard for visitors and myself to view.
Mission Control Dashboard UI
Mission Control Dashboard User Interface!
  • I built a clean login UI using Bootstrap on top of Firebase's authentication services.

Login Component

Login Component
  • I created an admin dashboard where I could publish new logs.

Admin Dashboard

Admin Dashboard
  • I integrated a simple Twitter API to send a tweet after submitting a new log.

Twitter API

Using the Twitter API
  • I added a feature to edit logs.

Edit Feature

Log Editing Feature

I am thrilled to say that 100 days later I completed my #100DaysofCode Challenge! πŸŽ‰

Please check out my live application here!

I learned a ton during my journey and I met so many wonderful people with the same passions as I do. If you haven't done the #100DaysofCode challenge, I highly recommend it! Thanks! πŸ‘

Β© 2021 Made by Scott Iwako