<?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 Mbuyu Makayi on Medium]]></title>
        <description><![CDATA[Stories by Mbuyu Makayi on Medium]]></description>
        <link>https://medium.com/@mbuyu?source=rss-4e5cad9a257f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*l5zCWuExMzGMZKYjrd2clQ@2x.jpeg</url>
            <title>Stories by Mbuyu Makayi on Medium</title>
            <link>https://medium.com/@mbuyu?source=rss-4e5cad9a257f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 13:48:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mbuyu/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[Our Seeds Are Growing]]></title>
            <link>https://mbuyu.medium.com/our-seeds-are-growing-2b699cc9fae2?source=rss-4e5cad9a257f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b699cc9fae2</guid>
            <category><![CDATA[community-management]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[community]]></category>
            <dc:creator><![CDATA[Mbuyu Makayi]]></dc:creator>
            <pubDate>Wed, 05 May 2021 21:13:14 GMT</pubDate>
            <atom:updated>2021-05-06T11:24:20.459Z</atom:updated>
            <content:encoded><![CDATA[<h4>One line of code at a time</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BsE02zllblx8vvTyluVDEg.png" /></figure><p>Today I got a call from Simunza, one of the co-founders of BongoHive, his first words were, “Mbuyu, your seeds are growing”. I didn’t know what he meant at first but he explained further that all the work that we put into growing the Developer Community in Zambia is finally begining to show.</p><blockquote>“Mbuyu, your seeds are growing- Simunza”</blockquote><p>When we joined the journey of building a Developer Community, one of my personal goals was to get as many of Zambian developers to level that they can compete at an international stage. It felt like a pipe dream because as a community we had a few examples to look up to. Those very few examples of Zambians , often felt so distant, their stories wrapped in myth and their names almost unheard of.</p><p>I remember finally meeting some of these mythical Zambians when I was a student at The Copperbelt University — two Zambians working at Google. It was quite exciting to finally get to hear their stories of how they started their journeys and to get to experience the Google Glass hardware that was rocking the tech world at that time(R.I.P).</p><blockquote>Being a Zambian or from CBU meant that we had the same equal chance to get as far we can in the tech space just like everyone else.</blockquote><h4>It Takes Seeds of Inspiration</h4><p>After that session, I remember walking with them and asking as many questions as I could summon from my young student mind about that it was like to be a Google Engineer. They were kind enough to answer all questions and to instill the idea that it is all about how far you want to go, it’s not about your background or nationality. Being a Zambian or from CBU meant that we had the same equal chance to get as far we can in the tech space just like everyone else.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*--di3ysH5_epbqGtOArryQ.jpeg" /></figure><p>These words became an ethos that has guided my works with the community and just about anything else in my life. Within each member who interacted with us, we tried to instill the idea that you can be on the same stage as everyone else in the world of technology as long as you apply yourself. It meant that every talk held, every event poster , every slide presented had to be of the highest quality. To always remind each person that interacted with the community that we are competing at the highest level possible.</p><h4>Seedings of Doubt &amp; Guilt</h4><p>I wouldn’t lie, it has often felt like a losing battle, like all those hours we put in amounted to nothing and in the recent times I have struggled with finding the same level of passion in serving the coummnity as I did in the past. There has been times when I felt like I was the only benefiting from it with all those trips that we took without any measurable impact to speak of.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*98muGeA725WF45JndhdSfw.jpeg" /></figure><h4>Seeds Are Growing, One Line of Code At A Time</h4><p>Yet slowly we are beginning to see a good number of our friends in the tech community begin to be approached for opportunities at some of the greatest companies in the world. Others are working with some of the most inspiring Startups who are solving some interesting problems for users across the world.</p><p>These developments are worth celebrating because it shows that we are beginning to create noise that even those from here can compete at that an international level. The knowledge gained by working with some of the best people in tech is so valuable: it will lead to developing some incredible startups who will go to solve some of the critical problems not just for Zambia but the world, Simunza emphasised, which I couldn’t agree more with.</p><p>It is a moment to celebrate what is becoming, to remember all those like BongoHive who for last ten years have been working to ensure that such communities are given space to thrive. This is a culmination of everyone’s effort in the ecosytem and it makes me proud to say our seeds are growing.</p><p>Thanks for reading.</p><p>Note: if you are thinking joining a great team to solve some interesting problems in fintech, my team at ChipperCash is hiring. Checkout openings here:<a href="https://chippercash.com/career-current-openings/">https://chippercash.com/career-current-openings/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b699cc9fae2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Year In Review 2019]]></title>
            <link>https://mbuyu.medium.com/year-in-review-2019-9d94f9e6cb76?source=rss-4e5cad9a257f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d94f9e6cb76</guid>
            <dc:creator><![CDATA[Mbuyu Makayi]]></dc:creator>
            <pubDate>Tue, 31 Dec 2019 12:00:56 GMT</pubDate>
            <atom:updated>2020-01-01T18:21:45.445Z</atom:updated>
            <content:encoded><![CDATA[<h4>A year of exploring honesty, and living beyond</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_9D2K1qhNljLRMJoEESnVA.jpeg" /></figure><p>It’s the end of 2019, another year another review of what went down and what went up. To be honest I really don’t want to write this review, I just want to easy into the coming one without the pressure of beating the previous one. Yet I made the promise of writing one each year, so here I am in a restaurant — listening to <a href="https://open.spotify.com/track/2SiUDrcdc9iewegA0TmH6s">“ A Time of Wonder”</a> by Alexis Ffrench and ready to list down the highlights of this year.</p><h4>Work — Changes and More Changes</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Djq3sAfsF7g6DG6TVxh9QQ.jpeg" /></figure><p>In April came with new changes and one of the major one was moving away from BongoHive to The ZIG. Joining The ZIG has brought a lot of exciting opportunities — in the last nine months I have been there, I have had the opportunity to work with some incredibly smart and talented people using the very best of technologies and tools to build meaningful products for really large entreprises in the U.S.</p><p>Apart from the tech side, there has been alot of opportunities given to help shape the culture of the company at its foundation owing to the fact that we are still a startup and we are still figuring out things as we move along. This means that work is ever dull at any moment — if you top it off with the fact that we are a globally distributed team operating from the US, UK and Zambia.</p><p>Another huge opportunities have been around moving from just developing software to managing people after becoming a Senior Software Engineer. To be honest it hasn’t been the easiest of transitions — I have made a lot of mistakes — still making them If I am being honest but I learning to take things slow and rely on the team as much as they rely on me.</p><p>One thing that I absolutely like about being at The ZIG, is that Chris ( the Boss) gives us a lot of guidance on how to best go about our work and that he makes us all feel like the company is not just his baby but ours aswell through an initiative we call the CXO — which requires that every person who joins the team is responsible for something beyond their job description— be it helping out with office interior design to managing the internet. The CXO initiative is a living example of the words: “ <em>This is Now Your Company</em>” .</p><h4>Life — Being Lost for A While &amp; Relearning To Breathe</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xd3SxHjd5udO_W7lQQAdaA.jpeg" /></figure><h3>Mbuyu on Twitter</h3><p>For the first time in a long while, I feel like myself: the guy who was insanely excited about things but the last few months, I couldn&#39;t him when he was drowning. But slowly we are get there. One day at time.</p><p>Part of me wants to skip this part really, yet if I am to write a complete year review I believe this is a cardinal part of it. Last year, I embarked of living honestly meaning that I would be more open about my own struggles with anxiety and depression. In a way I thought that maybe it would go away and I would be better simply cause I spoke openly about it and stuff — well 2019 taught me otherwise.</p><p>I went through periods that were I couldn’t find meaning in the very things that I loved like Tech Community work and other things. There were days when waking up was a burden and I would lie in bed just staring at nothing — lost in my own thoughts of inadequecy, self doubt and having disappointed some really important people. Most people didn’t know cause the thing about people like myself is that we are good at putting on masks.</p><p>In all this I am thankful to a number of people, who provided the necessary support that made it possible to start finding meaning in things. My friends George, Joe,Taaza, Pendo, Cynthia, Gertie, Elsis, Lontia &amp; Griff have been those people that provided a space where I can share my battles and I am grateful to each one of them this year.</p><h4>Adventures Around Africa</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C_NiHerNfOjkJ4MVh_CIZA.jpeg" /></figure><p><strong>Accra, Ghana : Icon of Change</strong></p><p>August brought a huge surprise, I got invited by Facebook to attend the Icons of Change two day summit in Ghana. The summit was celebrating 40 young people from across Sub Saharan Africa that have made impact in their respective communities as part of the UN’s Youth day. Being at the event made me realize just how far Africa as come in raising a generation of people that are not just standing by — waiting for someone to solve the problems that they have seen in their communities. The level of dedication and passion within each person would make even the highest of doubters about the bright future of continent start to believing and I am grateful to having considered amongst these set of people.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*TUxP2207Yf10-v_4LYGM8g.jpeg" /></figure><p>Being in Accra was another reminder of the equalising power of technology — this was evident when we took a trip to Maamobi compound. Here we met some of the most inspiring set of girls. These girls having been learning how to write simple computer programs. Interacting with them you could see that for them, this knowledge gives them the power to dream, to see themselves beyond the walls of compound and a chance to play at the level as the rest of the world. My friend Emmanuel from Developer Circles Lagos, Nigeria captured the feeling of seeing them beautifully when he said that they changed the narrative that was said about the compound when he first heard about it.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=facebook&amp;url=https%3A//www.facebook.com/facebookappAfrica/videos/2489542881095371/UzpfSTEwMDAwMDA5MTA5MTUyMDoyNjMyNjMxMjIzNDE2NTU1/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent-iad3-1.xx.fbcdn.net%252Fv%252Ft15.5256-10%252Fp200x200%252F67696944_2489560301093629_7913645051547222016_n.jpg%253F_nc_cat%253D102%2526_nc_ohc%253DhMobfw2pq3AAQnONXYScMSTTNFM1W_EUs3_M9B_L5rq1QN5NZj_yv5a_A%2526_nc_ht%253Dscontent-iad3-1.xx%2526oh%253D6b3e3c5e1018cb58953016d575058897%2526oe%253D5EAE881C%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="600" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/155d8877c0930717226d7f0aba1add0f/href">https://medium.com/media/155d8877c0930717226d7f0aba1add0f/href</a></iframe><p>In retrospect, Accra was part of series of moments that helped me to recapture the faith that was almost lost in the things that mattered to me and I am thank ful to <a href="https://medium.com/u/ec956001a477">Chimdindu Aneke</a> for the recognition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X7xSeiJgVP3GBBIF5tN8rA.jpeg" /></figure><p><strong>Nairobi,Kenya: Developer Circles Lead Summit &amp; Facebook ID8</strong></p><p>Going to Nairobi after while felt like a homecoming for two reasons, first if you know me you would just how much I love that city. Second it was that time of the year when I get to meet my friends at the Lead Summit. It is strange how for people that I only get to see for once or twice in a year, it felt seeing them always like we were just continuing our conversations from the previous day(s). During the summit we heard from the Developer Circles Team about the direction the program was going to take and how we all should be prepared for success in 2020.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y07VbRP08zk11pNSA2HRZQ.jpeg" /></figure><p>After the two day leads summit ended, the last event on the program was the Facebook ID8 conference Nairobi. It was a chance to hear from the Facebook team on what kind of new products and services that developers and entrepreneuers can leverage on. I also did an interview at the conference which you can watch here:</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=facebook&amp;url=https%3A//www.facebook.com/facebookappAfrica/videos/2717337885021531/UzpfSTEwMDAwMDA5MTA5MTUyMDoyODA5ODAzMzAyMzY2MDEy/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent-lga3-1.xx.fbcdn.net%252Fv%252Ft15.5256-10%252Fp200x200%252F75258666_2717349398353713_1993408555318771712_n.jpg%253F_nc_cat%253D108%2526_nc_ohc%253DAB68474UHQUAQnEBFfkcXfPlHxmUzQt2KyAhtsR9mc093R1Nj0Cs8uA3g%2526_nc_ht%253Dscontent-lga3-1.xx%2526oh%253D6270a75a3c839d079091c18bc4b2f689%2526oe%253D5EAC0C1B%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="600" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/572aa22294aee901e24392e29f2e5d96/href">https://medium.com/media/572aa22294aee901e24392e29f2e5d96/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*otGBPZz3N-OqHDfIYr5gyg.jpeg" /></figure><h4>Time Off — Turn of That Phone and See The World</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ixbSBmxZ460nHreZm9sTw.jpeg" /></figure><p><strong>Diani,Kenya: Vacation</strong></p><p>I had always wanted to do a personal trip since the end of 2018, and this year I got the chance to do so. I decided to extend my stay in Kenya for a few extra days and headed to the beautiful coastal town of Diani on the East coast of Kenya near the Indian Ocean.</p><p>To get to Diani, I had to fly for 54 minutes from Nairobi on Jambo Jet Airlines to Ukunda Airstrip. At first I was quite afraid being on all alone in foreign country but thinking back, it is was necessary that I did this alone. After getting to Ukunda Strip, I got into a Cab and drove to Diani Backpackers, where I would stay for three nights.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5dKNoaxYTM00TLz9P3IfTg.jpeg" /></figure><p>The first day of my stay in Diani started with an hour drive to Shimoni, driving through the town you learn that it is a town whose identy is strongly connected with the Ocean. The air, food, activities and all that defines a place spoke of being one with the sea. After a hour of driving we finally got to Shimoni and got the boat for our six hours on the Indian Ocean. We went from Dolphin to having lunch on Wasini Island through those hours but my favorite SCUBA diving.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rfzL29yuU9pJp5Ad6gVuhw.jpeg" /></figure><p>At first the idea of SCUBA diving was scary but seeing the blue waters of Kisite Mpunguti Marina Park and the fear of not being able to do this again, I went for it. Being under water — well being in the ocean gave me a sense of just how alien the world can be. You see all these creatures fully at home in this world, where the water is salty and blue and yet it is what they call home.</p><p>At first I kept panicking, I wanted to breath in my natural way but to survive in this world I had to breathe like these creatures in a way. As we explored the ocean floor you could see brightly colored fish pass by and sea urchins gracefully sitting on the white sand. What mostly struck me was seeing just how most of the coral is dead, it was a realization I couldn’t shake off and it made the rest of the exploration feel like you are walking through a massive grave of coral. I later asked our guide and he said it was from global warming — the coral is quite sensitive to water temperatures.</p><p>Overall being in Diani and Kenya itself was a much needed time off away from what I had known, I am grateful to everyone that made sure that I had the time of my life being there.</p><h4>Community — The Pains of Not Managing Change</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*97A2pE-sWQCpYfxfmZnNVA.jpeg" /></figure><p>For this year, Developer Circles Lusaka grew from 1K to over 2.3K members online officially making the community arguably the biggest and most active online community for Developers in Zambia. This feat is no small thing for us because it reminds that lots of people are attracted to the works that the community is doing. As partof the highlights from the commuity we also had <a href="https://medium.com/u/6e4290cbd305">Wilfred Mulenga</a>, <a href="https://medium.com/u/b69fd005edea">Pendo Manjele</a> and <a href="https://medium.com/u/4e9a618e9670">Cynthia Mulenga M.</a> represent as at this year’s <a href="http://www.f8.com/">F8</a> conference. <a href="https://medium.com/u/4e9a618e9670">Cynthia Mulenga M.</a> and <a href="https://medium.com/u/6e4290cbd305">Wilfred Mulenga</a> took it up a notch by speaking at the conference and taking part in the hackathon respectively — you guys made us all proud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bLQB36bOwlhq2sQYPxzM7w.jpeg" /></figure><p>In terms of the number of meetups we hosted this year — we hosted eight meetups which mostly comprised of hands-on sessions in Building with technologies like Docker, SMS, USSD and Mobile Money. We also hosted two Women focused meetups; one was our annual Women In Tech Meetup in April which falls in line with the International Womens Day celebrations and the other was an introduction to Web Development — where we taught the basics of web developments. All these are part of our efforts in increasing the number of women taking part in Software Development careers which is still a huge problem.</p><p>I wouldn’t be wise not to paint the idea that all was rosy for community this year — for example we saw a significant reduction in the number of events we hosted when compared to last year. We also so decline in the engagement within our online group. Within ourselves a the leads, there was a lack of working as team especially after April. Part of the reason for this disconnect was of the fact that I wasn’t fully there when the team needed me, I was still in my shell that rob me of the joy of doing what was needed, so the community suffered as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YyhLiuxK5v-MZvhUYCve-g.jpeg" /></figure><p>Looking back, I think this one of the things we need to work on within ourselves — removing the over dependency on the leads for the community to succeed and going we going to have to be deliberate in making sure that we have the right people in place to support us in our duties — people we can mold into being the ones who will carry the responsibility of making sure that Developer Circles Lusaka lives beyond us. This the challenge that I think will define my time leading the community this year and I am glad that there is already a set of people we can call upon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p2pxT1qciCrETCFmWuJ4Lw.jpeg" /></figure><p>To me, 2019 was a year where I started exploring things beyond the realms of work. Unlike the previous years — I spent much of time building more of my personal side, I went to more social events than work or tech related ones. I engage more in conversations with people beyond my usual crowd.</p><p>Doing so allowed me to have many honest conversations with people and to start working on things that I had broken or sidelined because I was too busy building a career.</p><p>In retrospect I am glad that I had people who allowed me to explore that side of myself and this is something that I would like to continue with next year but this time in equal measure with my work side. This is my main wish for 2020 — <strong>balance.</strong></p><p>Thanks for reading and wishing you a happy new year!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d94f9e6cb76" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Longing]]></title>
            <link>https://medium.com/series/longing-d44df53dbd23?source=rss-4e5cad9a257f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d44df53dbd23</guid>
            <dc:creator><![CDATA[Mbuyu Makayi]]></dc:creator>
            <pubDate>Tue, 23 Jul 2019 19:13:08 GMT</pubDate>
            <atom:updated>2019-07-23T19:13:08.025Z</atom:updated>
            <content:encoded><![CDATA[<p>I slowly fall<br>into a stall.<br>This version of I,<br>I don&#39;t identify.<br><br>O heart look <br>a bird flew by,<br>for a moment<br>I had wings and the <br>courage to begin <br>my attornment.<br><br><br>There a silence<br>these filtered photos<br>can&#39;t begin to capture<br>our porcelain soul.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d44df53dbd23" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Things I Have Learnt Working For BongoHive]]></title>
            <link>https://mbuyu.medium.com/5-things-i-have-learnt-working-for-bongohive-eb65af6753d1?source=rss-4e5cad9a257f------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb65af6753d1</guid>
            <dc:creator><![CDATA[Mbuyu Makayi]]></dc:creator>
            <pubDate>Sun, 07 Apr 2019 22:34:24 GMT</pubDate>
            <atom:updated>2019-04-08T14:40:35.046Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ps8d3iGjxpZtj43YheEwjQ.jpeg" /></figure><blockquote>An Innovation Hub in the Middle of Africa</blockquote><p>Last weekend, a few of my BongoHive colleagues and I were in Kabwe, where we had gone to organize and run the ZANACO Innovation Challenge at Mulungushi University. At this event, we worked with a huge number of students, who had ideas that could help improve banking.</p><p>There where so many students at the event and many were excited at having BongoHive at their school, seeing this made me remember my own excitement when BongoHive visited the Copperbelt University in 2014 for the two-day Idea2Prototype event. You see, I had been a fan of them since 2013 when Mashable published <a href="https://mashable.com/2013/07/30/bongohive/#oDbPPlP0bmqz">this</a> article about this amazing place in the middle of Africa, where techies met for lessons on Android development among things.</p><p>Remembering this also made realize that I was leaving BongoHive in less 5 days and that the last major project I get work on is one that has the same elements as the first event where I met one of my personal heroes for the first time and that this time I wasn’t a participant — I was part of the dream team.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T7-oBmfMCmedyQn9AQK5bA.jpeg" /></figure><h4>The Risk That Paid Off</h4><p>I came to BongoHive in October 2016 just after graduating from the Copperbelt University, after they offered me an internship opportunity for a month. Prior to this offer, I had been offered a role as an Intern at a large mining company yet I didn’t believe it would offer learning opportunities that I needed to further myself as a Software Developer — so I turned it down even though it paid a lot more and came with six months of work duration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W4YOsqcfiGgIaHs1VL5xqA.jpeg" /></figure><p>This was not an easy decision especially when we were told to not be picky with first-time job opportunities as graduates, yet I somehow believed there was something bigger and it was worth exploring with BongoHive even just for a month. I can still remember the anxiety I had when I got to BongoHive, there was the initial sense that I don’t belong especially when I wasn’t getting it easy with most of the tasks — but fortunately, Silumesii was very encouraging and patient through the period of the internship.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ax_0F8sw3_RX_C7HlTB3Ug.jpeg" /></figure><h4>Lessons from BongoHive</h4><p>There is a lot of things I have learned working at BongoHive for last two &amp; half years.</p><ol><li><strong><em>Valuing Community</em></strong>: The very origin of BongoHive is rooted in the idea that there is power when people are brought together. This is something you see in the morning when you get there, as everyone convenes in the kitchen over breakfast to share their opinions and thoughts on various things. I always enjoyed breakfast at the hive, and it is something I will deeply miss being part of.</li><li><strong><em>Share Opportunities:</em></strong> One of the lessons, I pick up early on was the idea that you should always share opportunities with people , if you believe that they’re best suited for what is being offered. This is something I have seen countless times with each member of the team — this lesson is also strongly rooted within the BongoHive community. The story of how Developer Circles Lusaka started when Lukonga introduced me to the folks at Facebook is a huge example of this idea.</li><li><strong><em>Treat Everyone Equally:</em></strong><em> </em>A few weeks back, an announcement was made that everyone would act as a receptionist for a full day at least once in a month, at first this sounded foreign but this was a showcase of treating everyone equally because even the founders themselves also had to do it as well. By doing it helped in making sure that we could all speak one language when defining what BongoHive is to the world and did it in an equalizing manner.</li><li><strong><em>Learn and unlearn Quickly:</em></strong> Working as a Software Developer under consult has taught me just how important it is to not only learning quickly but or so unlearn. You see, the business of consultancy come with the risk that every project is different from the last one — so it is cardinal that you easily learn new ways of solving a business requirement and also quickly unlearn the ones not working for the benefit of the client. Also due to the smallness of the team, I have had countless moments where I have to be a photographer or sound engineer at an event. So quickly learning and adapting was necessary.</li><li><strong><em>You Can Love your Job and Have Fun At It:</em></strong> I have always been asked this question:</li></ol><blockquote><em>“what do you guys do? Cause it seems you guys are just having fun all the time”</em></blockquote><p>This question echoes the belief that your job should be something you dread or loathe doing but just have to do because you have obligations and bills to pay. I have been quite fortunate to learn that you can actually work on things that make you deeply enjoy your time at work.</p><h4>So Why Leave?</h4><p>Simple — the need for new challenges. In the last two years, I have worked on really interesting things that have shaped the way I see software development. I have gone from just caring about whether the software works as required to one who now who cares about scalability, maintenance and the performance of the software I am working on.</p><p>Some of the things the best things I have worked on with the BongoHive Consult team has been switching the to Test Driven Development which has helped us not only improve the quality of the software shipped but also its maintainability. Other works I am proud of is the Continous Integration &amp; Continous Deployment pipeline which was implemented to automate DevOps side of things.</p><p>All these have helped me to grow as a Software developer and it is for this reason that I felt compelled to challenge this knowledge in a new setting and hopefully add more knowledge to what is already existing. I am eternally grateful to the support that the Hive team has offered throughout this period and going forward.</p><h4>What’s Next?</h4><p>Am excited to announce that I will be joining The Zig as a Software Engineering Consultant. At The Zig, I will get to work with a distributed team on new and exciting challenges using some really cool cloud technologies.</p><p>I take this step knowing that the same ideas that have made my time at BongoHive worthwhile will be equally reflected and even improved upon at my time at the Zig.</p><p>Thanks alot for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb65af6753d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Write An Express JS Server Using Test Driven Development Part Two]]></title>
            <link>https://medium.com/developer-circles-lusaka/how-to-write-an-express-js-server-using-test-driven-development-part-two-67e6cff21304?source=rss-4e5cad9a257f------2</link>
            <guid isPermaLink="false">https://medium.com/p/67e6cff21304</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[tdd]]></category>
            <category><![CDATA[expressjs]]></category>
            <dc:creator><![CDATA[Mbuyu Makayi]]></dc:creator>
            <pubDate>Tue, 12 Mar 2019 20:01:52 GMT</pubDate>
            <atom:updated>2019-03-13T05:50:26.371Z</atom:updated>
            <content:encoded><![CDATA[<h4>Writing an Actual API Endpoint</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lho2ZNPHadK_JHO6al1BAg.png" /></figure><p>So in the last tutorial, I gave an introduction to what Test-driven development is and how it can help you make sure that the code you ship is of good quality. If you haven’t read it yet here is the link</p><p><a href="https://medium.com/developer-circles-lusaka/how-to-write-an-express-js-server-using-test-driven-development-921dc55aec07">How To Write An Express JS Server Using Test Driven Development</a></p><p>Now, this part of the series will focus more on getting to write actual APIs endpoints using TDD. So let’s get writing.</p><h4>Planning Our API</h4><p>Before we begin writing our first API using TDD, we need to first plan what data each API will receive and what data it will return as a response. This helps in making sure that we truly understand what we are testing for in our tests and subsequently build at the end. Without this planning, you end up having to change your tests to suit your API instead of the opposite. For our first API we need it to do the following:</p><pre>API ENDPOINT: /api/v1/movies</pre><pre>REQUIREMENTS:<br>1. Should have a status code of 200<br>2. Should return an array of movies<br></pre><h4>Writing Tests</h4><p>Now that we have our plan, let’s write the tests for this API. The first thing we are going to import is the index module, which is the starting point for our server. In line two we import the request module from Supertest the HTTP server testing library. The last thing we import is the expect function from chai. This will be used to run assertions on the response object we will get from the request module.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bd6bf93b6974afd78a12e89943eab97b/href">https://medium.com/media/bd6bf93b6974afd78a12e89943eab97b/href</a></iframe><p>If you are new to testing using mocha, you will be wondering what the <strong>describe</strong> method is. Well, the describe method is used to group tests together. It accepts two arguments, the first is the title and the second is a callback function whose body will contain all the test cases. To write the actual test, use the method<strong> it. It </strong>has the same method signature as describe. Ideally, the title passed into title should relate to what you are testing for as seen in the sample code.</p><h4>Assertions</h4><p>Let’s look at the test, in the first line we are passing our server into the request method. This tells Supertest to create a running instance of our server (Not. Then we call the HTTP GET request using the get function on the request object passing in the URL of the API endpoint. After this, we store the response object in the constant response. After this, we can now run assertions on it.</p><p>To run assertions we use the function expect from Chai. Expect always receives the result of the function we are testing, in this case, the response object from our server request. To carry out the actual assertions you need to understand that Chai uses a chainable language to construct assertions, which reads like plain English. For a list of available assertion APIs, the following link is quite useful.</p><p><a href="https://www.chaijs.com/api/bdd/">Expect / Should - Chai</a></p><p>For our test, I am running three assertions which do the following:</p><ul><li>Our first assertion tests that the expected status code in the response object is equal to 200 or success.</li><li>The second assertion tests that the expected body of the response contains an array or an instance of an array.</li></ul><h4>Tests Fail</h4><p>After writing these tests, we can confirm that this is what we initially planned for our<em> api/v1/movies</em> API to provide to us when we access it. Now run the commands to see if these tests pass.</p><pre>yarn test  or npm test</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*_MKCrjHkmtvhqE5pFdsB-A.png" /></figure><p>As expected the tests have failed and you can see why. The request to <em>/api/v1/movies </em>couldn’t be complete because the endpoint doesn’t exist. If you see from our test you can see that the returned status code is 404 or not found when we expected it to be 200 in our first assertion. So now we are going to write the actual API code to make this test pass.</p><h4>Writing The API Endpoint</h4><p>The first thing we are going to create is the mongoose movie schema in the models&#39; folder. I will not dwell on this much as I expect that you are familiar with mongoose and it’s schema definition.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fc38560366df26bb3cf081f7d168f271/href">https://medium.com/media/fc38560366df26bb3cf081f7d168f271/href</a></iframe><p>After creating the model movie when are now going to create an express js router module that handles all routing for movies. This where we will register our <em>/api/v1/movies</em> API endpoint and also declare what it does.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/32dc172a4406df3661df60e8d2ffd61c/href">https://medium.com/media/32dc172a4406df3661df60e8d2ffd61c/href</a></iframe><p>From the code above you see that on the router object, we register the GET route <em>/movies</em>. In the body of this route, we use the movie model imported to call the function find() which returns an array of all the movies from our MongoDB database. We then send the result (movies) of this method as the body of the response. Any errors are handled in the catch block with relevant responses.</p><p>The last thing we need to do is register this movie router as part of our server. To do this, we open the index.js file and make the following changes</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6048aedbbcc134e975548220567526ba/href">https://medium.com/media/6048aedbbcc134e975548220567526ba/href</a></iframe><h4>Let’s Pass These Tests</h4><p>After importing the movie router on line 5, we then register it as part of our server on line 26. We pass <em>/api/v1/ </em>to the <strong>use</strong> function to prepend all our routes or API endpoints under the movie router with it. After this, you can now run the command.</p><pre>yarn test or npm test</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*uk9SfQuw743CjV3rVMBoLA.png" /><figcaption>all test are passing</figcaption></figure><p>You can see that all tests are passing, which means that your API is behaving as it supposed to behave and if any changes are made to your API which results in the change in expected responses your tests will easily fail and alert you. If you want to confirm that the API is indeed returning an array you can use Postman or Insomnia. For now the array is empty cause we don’t have movies added yet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*o5VjjXeyqfqCcoTlTxtMHQ.png" /><figcaption>Insomnia response</figcaption></figure><p>So there you have it. You have officially written your first API endpoint using the Test Driven Development, you are on your way to becoming a World Class Developer. In the last part of this will focus on finishing the rest of the CRUD API endpoints so stay tuned.</p><p>Link to repo:</p><p><a href="https://github.com/makayi/express-tdd-tutorial">makayi/express-tdd-tutorial</a></p><p>Thanks for reading and happy coding.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67e6cff21304" width="1" height="1" alt=""><hr><p><a href="https://medium.com/developer-circles-lusaka/how-to-write-an-express-js-server-using-test-driven-development-part-two-67e6cff21304">How To Write An Express JS Server Using Test Driven Development Part Two</a> was originally published in <a href="https://medium.com/developer-circles-lusaka">Developer Circle Lusaka</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Write An Express JS Server Using Test Driven Development]]></title>
            <link>https://medium.com/developer-circles-lusaka/how-to-write-an-express-js-server-using-test-driven-development-921dc55aec07?source=rss-4e5cad9a257f------2</link>
            <guid isPermaLink="false">https://medium.com/p/921dc55aec07</guid>
            <category><![CDATA[tdd]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[expressjs]]></category>
            <dc:creator><![CDATA[Mbuyu Makayi]]></dc:creator>
            <pubDate>Sun, 10 Feb 2019 12:34:40 GMT</pubDate>
            <atom:updated>2019-03-12T20:17:49.719Z</atom:updated>
            <content:encoded><![CDATA[<h4>Part One: Setting Up Environments</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RJiQgXTj07mXTm_0lwxLVQ.jpeg" /><figcaption>courtesy of <a href="https://cdn-images-1.medium.com/max/1000/1*W93Ke-ezhfWJ6cTbmCdaPQ.jpeg">freecodecamp</a></figcaption></figure><h4>Why TDD In First Place?</h4><p>So you have probably been in this situation before, you write software. It is working beautifully — but just hours before that big presentation. You decide to make a few changes to a few methods. You run the application, still works — or so you think.</p><p>It is time for that presentation, you get through the initial parts of the application well, until it’s time to show off the upload feature you just implemented — then boom! It is not working anymore. You try again — boom nothing, you start panicking at this point. You begin to dread being a programmer, you probably tell your boss or professor that it was working, you even swear on it.</p><p>This is where Test Driven Development comes to the rescue. It is the practice of writing tests that test that your code is doing what is supposed to do. In this practice, you write tests before you wrote the actual code. For example, if you have a function that calculates the sum of two number and returns it, you will write a test that checks that the returned sum is the expected one.</p><p>Now you probably wondering how can we test a function that is not written yet and won’t that test fail? Yes, it is supposed to initially fail. Your test has to fail until you write the function that returns the correct sum when two numbers are provided. The benefit is that those test will always check to see that in case you make some changes to your code, you have an intermediate way of knowing whether those changes haven’t broken something. For more reading on the topic here a brilliant article from <a href="https://medium.com/u/8b318225c16a">freeCodeCamp</a>:</p><p><a href="https://medium.freecodecamp.org/test-driven-development-what-it-is-and-what-it-is-not-41fa6bca02a2">Test Driven Development: what it is, and what it is not.</a></p><h4>What are we building?</h4><p>Now in this tutorial am going to show you how you can build and test your Express JS Server using the Test Driven Development approach.</p><p>We are going to build a small server that provides APIs for most popular movies, searching for movies and some other CRUD functions.</p><h4>What do we need?</h4><ol><li><a href="https://expressjs.com/">Express JS </a>— Most popular Node JS Server framework.</li><li><a href="https://www.npmjs.com/package/config">Config</a>— Helps setting up environments (development, test, and production).</li><li><a href="https://www.npmjs.com/package/debug">Debug </a>— Only show logs in test or development environments.</li><li><a href="https://www.npmjs.com/package/mongoose">Mongoose </a>— An elegant ODM for MongoDB in Node JS.</li><li><a href="https://www.npmjs.com/package/mocha">Mocha</a> — Testing framework.</li><li><a href="https://www.npmjs.com/package/nodemon">Nodemon </a>— Restarts our development server automatically.</li><li><a href="https://www.npmjs.com/package/chai">Chai </a>— Our TDD/BDD assertion library.</li><li><a href="https://babeljs.io/docs/en/">Babel CLI</a> — A Javascript compiler.</li><li><a href="https://www.npmjs.com/package/supertest">SuperTest</a> — HTTP server testing library.</li><li><a href="https://yarnpkg.com/en/">Yarn</a> — Fast, Reliable, &amp; Secure Dependency Manager ( you are free to use npm instead, just replace the commands with npm equivalent)</li></ol><h4>Setting Up Stuff</h4><pre>1. mkdir movie_server ; cd movie_server</pre><pre>2. yarn init</pre><pre>3. yarn add  mocha chai debug supertest nodemon babel-cli babel-preset-node8 config --dev</pre><pre>4. yarn add express mongoose </pre><pre>5. mkdir dist //when you run yarn build,prod files will be stored here </pre><pre>6. mkdir tests // mocha will look for tests here.<br>7. mkdir src ; cd src ; touch index.js &amp;</pre><p>After you run these commands you will then go to your package.json and set up your scripts like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/690c32acc09fb23b0933762fc6c2b5e3/href">https://medium.com/media/690c32acc09fb23b0933762fc6c2b5e3/href</a></iframe><pre>&quot;build&quot;: &quot;babel src -d dist --source-maps&quot;</pre><p>So the first script setups up what happens when you run yarn run build. Here we are using babel to compile all the code in the src folder and convert it to ES5 syntax and store it in the dist folder. In our production setup, our application will be running from this folder.</p><pre>&quot;serve&quot;:&quot;NODE_ENV=production node dist/index.js&quot;,</pre><p>The second script line starts the server in the production environment or mode by setting the environmental variable NODE_ENV to production. This is important because they are certain lines of code that you only want to run in production or there are certain configurations that you only want to make available in production mode. This should only be run after running yarn run build. Notice that we are not using Babel just node, this is because the code is already compiled to a version that node without any special compilers like babel using the build command.</p><pre>&quot;dev&quot;:&quot;DEBUG=server:debug NODE_ENV=development nodemon src/index.js --exec babel-node&quot;</pre><p>This line will start the application in development mode and here we are using nodemon to make sure that whenever we change our code, the node server is able to restart and load the new changes. We also set up an environmental variable called DEBUG which we set to server:debug, this is need by the package Debug to determine whether to show console logs or not depending on the environment. Here we only want to show logs when we are running in the application in debug mode. I will explain how we do this as we go on. We also set the script to execute using babel-node, this allows us to use the latest javascript syntax ES6+.</p><pre>&quot;test&quot;:&quot;DEBUG=server:debug NODE_ENV=test mocha --require babel-core/register --reporter spec --exit   tests/ &quot;</pre><p>Lastly, we set up the script for running tests. Here our environment is set to test, we also set it to run our tests using Mocha. We make sure that we instruct mocha to babel-core/register, this is important for our ES6+ code syntax to run, without it, mocha will fail to do so. Also, we set up the reporter flag to use spec which defines how our tests will look like in our console. We also use the exit flag which commands mocha to stop its process when all the tests are done else it will hang. Last we tell Mocha to look for tests in the tests folder.</p><h4>Let’s Setup Our Environments Using Config</h4><p>Remember that we have three environments our application will be running in and that each will have its own variables, let’s set up each one of them which will be used by the package config. This again is important because it helps to make sure that we configure our server to use certain settings depending on the environment. For example, we can configure our server to use the development database when we run our server in development and the production database when in production mode.</p><p>To set up our config files, create a folder called configs and create three files namely: development.json, test.json, and production.json ( it is important that you name these files the same names your NODE_ENV environmental variable is holding in each of the scripts in pacakge.json). Each file should contain a JSON Object with whatever keys/value pair you wish to use. I use the name, database, and port as my keys.</p><pre>// configs/development.json<br>{</pre><pre>&quot;name&quot;: &quot;Server Developement&quot;,</pre><pre>&quot;database&quot;: &quot;mongodb://localhost:27017/development&quot;,</pre><pre>&quot;port&quot;: 3000</pre><pre>}</pre><pre>// configs/test.json<br>{</pre><pre>&quot;name&quot;: &quot;Server Test&quot;,</pre><pre>&quot;database&quot;: &quot;mongodb://localhost:27017/test&quot;,</pre><pre>&quot;port&quot;: 3100</pre><pre>}</pre><pre>// configs/production.json<br>{</pre><pre>&quot;name&quot;: &quot;Server Production&quot;,</pre><pre>&quot;database&quot;: &quot;mongodb://localhost:27017/production&quot;,</pre><pre>&quot;port&quot;: 3000</pre><pre>}</pre><h4>Testing The Environments</h4><p>Now let’s see that our environments are working accordingly. To do so we are going to create an express js server in the index.js with the following code.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0e0b7d3e0bae54b4832e021719ffdb6a/href">https://medium.com/media/0e0b7d3e0bae54b4832e021719ffdb6a/href</a></iframe><h4>Development Mode</h4><p>In the first line, I configure the imported debug function to only show its log when the DEBUG environmental variable is equal to ‘server:debug’. Am also using config.get() to get the value of the key from the JSON files we set up in the config folder. The way config works by only loading the appropriate JSON file whose name matches the NODE_ENV’s value.</p><p>Let’s now test that our server is running and it does so in the right environment depending on the command we use to start it. Here we testing that it is running the development environment using the following command.</p><pre>yarn run dev</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*AONKD4iXb9j8cwcTK2_lWA.png" /></figure><p>You can see that our server is running on the appropriate port set in the development.json file in the configs folder and that is running server development mode.</p><h4>Test Mode</h4><p>Next, we will test that our server running is able to run in test mode. But unlike the other modes which just starts the server, here will be also be running tests using Mocha.</p><pre>yarn run test</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*y4G0smmp17zqPjxym8L2fQ.png" /></figure><p>Notice that is says 0 passing. Why is that? Well, this is okay, it means that Mocha is working but just didn’t find any tests and that we are running in the test environment. So we can then write tests for Mocha to run. Our first test will just check that the server is running on the port specified in the respective JSON config file being used.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/055bcdbb6891e1262514dba499750a58/href">https://medium.com/media/055bcdbb6891e1262514dba499750a58/href</a></iframe><p>In the code above, we import expect method from chai, this method allows us to make assertions about the server. In this case, we want to test that the port the server is running on, is the same as the one used in the test.json file in the config folder. We wrap our test in describe function (takes in the name and callback function) which is just used to group similar tests. The actual test is in ‘it’ function (also takes description and callback as well). The test reads like plain english: <em>expect server.port to equal the port number in the current environments config file.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*jiGivpzm62cz5_G-mQ1v_w.png" /></figure><p>After this rerun yarn run test and you can see that the server is running in test mode and that the test passes. If you change the port number in the app.listen() method in index.js and rerun the tests, you see it fail and you will immediately know that something is wrong.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*EabfF0zmtt5aNA9g3JrYJA.png" /></figure><h4>Production Mode</h4><p>The last environment we going to test that it is working is the production environment but before we run yarn run serve, we need to first run yarn run build. The tells babel to compile our code into ES5 syntax and transfer the resulting files into the dist folder.</p><pre>yarn run build</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*LD5V5qvsqbQjcrMFh69Svw.png" /></figure><p>After running yarn run build, you see that the dist folder has new files. These files are generated so you shouldn’t make any changes to them. If you make changes to your code, just regenerate them using the same command. At this point, you can now run yarn run serve.</p><pre>yarn run serve</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*tuWn9VaxhHV7KlsIRVx6OQ.png" /></figure><p>Notice that there is no console output showing which port the server is running on, this is because in the serve script we haven’t set DEBUG=server:debug cause we don’t want to show logs when running the application in production mode. The rule is not you should never show logs in production mode, especially error logs, as they might contain sensitive information. But since it is necessary to know which port, the server is running on, you can add this line:</p><pre>console.log(`server is running on port ${config.get(&#39;port&#39;)} and in ${config.get(&#39;name&#39;)} mode`);</pre><p>Stop the server using ctrl +d run yarn run build and then run yarn run serve and you will see the following message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*lPcneG9u9cZskHXnaaNZeQ.png" /></figure><h4>Conclusion</h4><p>So for this part of the tutorial, we have covered what TDD is, how it can help you make changes to your code with confidence and avoid those embarrassing moments. We have also covered how to set up your project with the necessary packages and also covered how to setup up three environments for your server to run in. In the next of the tutorial, I will cover how to now write your MongoDB Schemas and server APIs using TDD with SuperTest and Chai.</p><p>The code for this tutorial can be found here: <a href="https://github.com/makayi/express-tdd-tutorial">https://github.com/makayi/express-tdd-tutorial</a></p><p>Thanks for reading and happy coding.</p><p>UPDATE: part two is out</p><p><a href="https://medium.com/developer-circles-lusaka/how-to-write-an-express-js-server-using-test-driven-development-part-two-67e6cff21304">How To Write An Express JS Server Using Test Driven Development Part Two</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=921dc55aec07" width="1" height="1" alt=""><hr><p><a href="https://medium.com/developer-circles-lusaka/how-to-write-an-express-js-server-using-test-driven-development-921dc55aec07">How To Write An Express JS Server Using Test Driven Development</a> was originally published in <a href="https://medium.com/developer-circles-lusaka">Developer Circle Lusaka</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From banker to entrepreneur, How Jacinta Mulenga is building Zambia’s Fashionova]]></title>
            <link>https://medium.com/musanga/from-banker-to-entrepreneur-how-jacinta-mulenga-is-building-zambias-fashionova-b4c5150f63e0?source=rss-4e5cad9a257f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4c5150f63e0</guid>
            <category><![CDATA[zambia]]></category>
            <category><![CDATA[transportation]]></category>
            <category><![CDATA[delivery]]></category>
            <category><![CDATA[logistics]]></category>
            <dc:creator><![CDATA[Mbuyu Makayi]]></dc:creator>
            <pubDate>Fri, 18 Jan 2019 13:55:02 GMT</pubDate>
            <atom:updated>2019-01-18T13:56:19.673Z</atom:updated>
            <content:encoded><![CDATA[<h3>From banker to Entrepreneur, How Jacinta Mulenga is Building Zambia’s Fashionova</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*7zino36a98McZ-osLSKWew.jpeg" /></figure><p>With almost 100,000 social media followers, Bags Addict has built a reputation for affordable clothing for women and men across Zambia. With multiple stores across Lusaka, it is easy to think things have always been a breeze but this wasn’t the case when Jacinta Mulenga, the CEO and founder of Bags Addict Started in 2015.</p><p>Three years ago, Jacinta Mulenga was a banker working in Lusaka, Zambia, like many ambitious young Zambians, she had a ‘’ Side- Hustle’’ selling clothes online and called it Bags Addict. Quickly after setting it up she stumbled upon a roadblock, she never had enough time to deliver her products to all her clients during her lunch breaks and deliveries would often take days to get to her customers within the same city. That’s when she heard of Musanga. Jacinta Mulenga first began using Musanga in 2016, at that time, she had one store in Lusaka and was still working a full-time job.</p><p>Since then, Bags Addict has opened multiple stores serves thousands of customers across Zambia. Jacinta is focused on making quality clothing affordable for the everyday person.</p><p>If you would like to learn more about How Musanga can help you, please add your contacts here and we will contact you</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4c5150f63e0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/musanga/from-banker-to-entrepreneur-how-jacinta-mulenga-is-building-zambias-fashionova-b4c5150f63e0">From banker to entrepreneur, How Jacinta Mulenga is building Zambia’s Fashionova</a> was originally published in <a href="https://medium.com/musanga">Musanga</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Developer Circles Lusaka Year Review 2018]]></title>
            <link>https://medium.com/developer-circles-lusaka/developer-circles-lusaka-year-review-2018-94f2e1febcf8?source=rss-4e5cad9a257f------2</link>
            <guid isPermaLink="false">https://medium.com/p/94f2e1febcf8</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[facebook]]></category>
            <category><![CDATA[developer]]></category>
            <dc:creator><![CDATA[Mbuyu Makayi]]></dc:creator>
            <pubDate>Mon, 31 Dec 2018 14:39:20 GMT</pubDate>
            <atom:updated>2018-12-31T20:10:23.264Z</atom:updated>
            <content:encoded><![CDATA[<h4>A Year of Believing in the Power of Community</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0YuOdi7W4GKFn5VQgi-fvw.jpeg" /></figure><p>Hi team,</p><p>As we know the year is drawing to an end and we are sure most of us have been engaging in reflecting on some of our failures and greatest accomplishments in 2018, as a community these are some of the highlights of the year.</p><h4>A Year of Building Meaningful Connections</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dcVR0dQRZfBjwOsv7kHnzQ.jpeg" /></figure><p>For us as a community, one of the great accomplishment is seeing the fantastic connections that have developed within the community. These meaningful connections have fostered knowledge, skills and opportunity sharing which we are super proud to witness.</p><p>It has been a joy to see how you have taken DevC Lusaka and owned it as yours. This is evident in how you help each other in the comments and the posts that you make daily — reminding us all of the fundamental building blocks of what DevC Lusaka is all about.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*N2JJoyzH2uAlkkQaIzax9g.png" /></figure><h4>A Year of Team Success</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*NhBwynuB4WkVk3wAWaDDtg.jpeg" /></figure><p>Continuing with the theme of great connections, it is exciting to highlight that some of these connections have yielded great ideas that have been successful beyond the realms of DevC Lusaka. Such examples are seeing our friends in the picture (Pendo, Wilfred and Olivier) come out third in the regional round of the Developer Circles Community Challenge and winning big. You can read up on their solution in this article:</p><p><a href="https://medium.com/developer-circles-lusaka/developer-circle-community-challenge-pilgrimage-with-nchito-f5ef6a87c5bb">Developer Circle Community Challenge: Pilgrimage with Nchito</a></p><h4>A Year of Stories &amp; Lessons from the Community</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JU7SMlfKgkG9VPtjcMCfVQ.jpeg" /></figure><p>We also enjoyed reading some of your stories that you have shared on our publication. These stories have captured your <a href="https://medium.com/developer-circles-lusaka/spotlight/home">life stories and journeys,</a> your lessons, <a href="https://medium.com/developer-circles-lusaka/imposter-syndrome-sink-or-swim-59598d95fca3">your feelings of being imposters</a> sometimes and most importantly your unending belief to be better programmers or problem solvers. It’s been exciting to note that most of our writers are writing for the first time. <a href="https://medium.com/u/a25ee0b8e79f">Olivier J.M</a> wrote a brilliant article that highlights some of the great articles written by the community:</p><p><a href="https://medium.com/developer-circles-lusaka/awesome-articles-you-should-read-from-zambian-developers-4870cdcf177">Awesome Articles you should read from Zambian Developers</a></p><h4>A Year of Lessons on Being A Community For All</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6YPYjq8_JhERXbJnrg1z5Q.jpeg" /></figure><p>We know that outside of these accomplishments, there have been some failures as well. Some of these have been around themes of topics being too advanced that others feel the need not to attend meetups or the lack of community project(s) among other things. We wish we had all the solutions to these issues addressed but the best we can do is to listen to you and see how we solve them collectively as a community in 2019.</p><p>It is for this reason that our first meetup in 2019 will focus much on feedback to answer the question “<strong><em>What things do you want DevC Lusaka to improve on</em>? </strong>“</p><h4>A Year of Gratitude For the Small and Big Things</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZcV7onn9qfgdoMYVcsVFBg.jpeg" /></figure><p>Lastly, we wish to thank each and every one of you for being part of the community throughout this year. It has been wonderful seeing each one of you at all the 14+ meetups hosted and we hope these have had an impact in your careers as Software Developers this year.</p><p>We also wish to thank all the 1,300+ members of our online group for making Developer Circles Lusaka of the largest online communities for developers in Zambia as well one of the most actively engaged in Europe, Mideast and African regions in the last two quarters.</p><p>From all of us leads — <a href="https://medium.com/u/4e9a618e9670">Cynthia Mulenga</a>, <a href="https://medium.com/u/b69fd005edea">Pendo Manjele</a>, Joseph Tembo and myself <a href="https://medium.com/u/4e5cad9a257f">Mbuyu Makayi</a>, we wish you a fantastic New Year.</p><p>Thank for believing in the power of community &amp; happy coding!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SEIU_UumK8VjjKdDUKj6YA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94f2e1febcf8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/developer-circles-lusaka/developer-circles-lusaka-year-review-2018-94f2e1febcf8">Developer Circles Lusaka Year Review 2018</a> was originally published in <a href="https://medium.com/developer-circles-lusaka">Developer Circle Lusaka</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Year In Review 2018]]></title>
            <link>https://mbuyu.medium.com/year-in-review-2018-c12c9a56f23?source=rss-4e5cad9a257f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c12c9a56f23</guid>
            <category><![CDATA[lessons-learned]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Mbuyu Makayi]]></dc:creator>
            <pubDate>Fri, 28 Dec 2018 03:25:20 GMT</pubDate>
            <atom:updated>2019-01-01T10:41:23.739Z</atom:updated>
            <content:encoded><![CDATA[<h4>A year of honesty, friendship, and adventure</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OusLb6iQm89dX5nYGEUP0Q.jpeg" /></figure><p>I have been thinking about writing this for a while now — and it has been hard to condense my highlights and lessons to a few, cause they have been many. Naturally, my first drafts of this review predominantly focused on highlighting things that are more aligned with my career as a software developer but it’s not great to limit my experiences this year to that part alone. I want to share the full gamut of experiences that have shaped my 2018.</p><h4>Life — Learning to Live Honestly</h4><p>Honesty is the best the policy they say so here goes. A while back I experienced a few sets of anxiety attacks. I had been struggling with anxiety for a while and I didn’t think of having time to check it and seek help. In public, I was this happy person but when the world wasn’t watching I would be this person who was suffering. It wasn’t until it morphed into actual attacks that I realized I needed to start working on it and to confront it with an honest mind — denial wasn’t going to cut it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*7Osh4gBdIXwoKAqrker_Ow.jpeg" /></figure><p>There is a large collection of things, people and opportunities that I am grateful for and one of them is learning to have honest conversations with people about things dealing with the complexities of life — and the mind without the usual shame attached by society when it comes to such topics. This newfound honest approach is inspired by a set of people I am privileged to call friends, who through their respective candor have been nothing but lifesavers.</p><h4>Friendship — Losses &amp; Gains</h4><p>Strangely reviewing this aspect of my life in 2018 is a lot difficult than wish it would — mainly because I haven’t the best friend one could have in the last year(s). I regret that I haven’t been putting enough effort into naturing key friendship this year — especially with those I had known prior to the last two years. I kinda got lost in the whirlwind of it all and didn’t take enough time to actually stop and check who I have left behind in my race to the top — I deeply apologize for this and I promise to work on this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lkq8asTv3u7RMehzpbL9mA.jpeg" /></figure><p>Not all has been lost — this year has also yielded some great friendships which are not just limited to my immediate environment. These friendships are founded on mutual respect, shared experiences and a belief in each other&#39;s abilities.</p><p>Some of the great friendships I have forged and cemented have been with likes of Griffiths Sibeko and Fidelis Okafor. These two gentlemen are from South Africa and Nigeria respectively and I knew them through the Facebook Developer Circles Program. Throughout this year, I have forged a kinsmanship that cuts across these said borders.</p><p>Beyond these two lads, I have got to know a whole new set of people across the World, who even through our limited interactions have offered me a new way of thinking and seeing the world. Others have been in passing and yet their influence has been great and will be felt in lifetimes to come.</p><h4>Adventures— Across The Atlantic &amp; Across Africa</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ryoaKHad6HMPl5ybkemYA.jpeg" /></figure><p><strong>San Jose, U.S.A</strong></p><p>To steal Coldplay’s song title — 2018 has been an <em>adventure of a lifetime</em>. It’s been a year where I have had the most fun. I have done so much traveling this year and all this is thanks to Facebook, who I volunteer for under its Developer Circles Program.</p><p>For the first time in my life, I visited the U.S when Facebook invited us for its F8 Developer Conference in San Jose last May. This trip gave my friends and me the opportunity to meet and mingle with some of the giants of the tech industry and also witness first hand what makes Silicon Valley tick.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WwOUaPc7YlRU2i-d9HI75A.jpeg" /></figure><p>I deeply enjoyed the trips around the valley— visiting Apple’s Infinite Loop campus, dining on Cuba food at Habana Cuba, being baptized in the art of properly taking a tequila shot at Uproar Brewing by Michelle from Mexico. Spending a full day at Facebook’s HQ in Menlo Park and screaming loudly when Mark Zuckerberg walked on stage that was just a row away from where I was sitting in the audience.</p><p>This whole trip was a fulfillment of a long time dream to attend a major developer conference and it is all thanks to everyone at Facebook.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HkzjiWZvgK0QI7Dvtv5hzg.jpeg" /></figure><p><strong>Lagos, Nigeria</strong></p><p>December came and I had to fly to Lagos, Nigeria for the Sub Saharan Developer Circles Leads Summit and Facebook’s Africa Tech Week. This trip was particularly exciting because of three reasons.</p><p>The first is that it was the second time that I was getting the opportunity to see a different part of the world in the same year —this time a country on the West African coast. I was quite excited to see the fabric of Lagos—the language, the food, and the scenery. Prior to the trip, I immersed myself in a few Pidgin lessons just to get a crack at being a proper Nigerian — my given name was Chinedu Okoro — loved it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oPZLHLECx8q2JcHnS6rRIQ.jpeg" /></figure><p>The second reason was the opportunity to learn from other community leaders and Facebook on ways we could become better community leaders. This summit was the second one and I would say it was the most well represented and well-organized one. In attendance were 65 of the most highly motivated tech community leaders from across sub-Saharan African and clearly there was a lot to learn.</p><p>The third reason was hanging out with some of my friends within the program. A small number I had met in the US but a large percentage I had not seen in a year cause they couldn’t make it — visa problems. For weeks we had been planning what we were going to do once we got to Lagos and this summit was bringing everyone together again but this time in a bigger way than Nairobi in 2017 or San Jose had done for us as leads in Sub-saharan Africa.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n9kAYXokoGCgZcsMrFPXfw.jpeg" /></figure><p>All these reasons added to make the trip to Lagos quite an adventure. I like to say that in Lagos I experienced what it means to be a person. I enjoyed canopy walking and being taught how to dance the Shaku Shaku by Ane and Emmanuel at Lekki conservation, getting Suya at the intersection between Alfred Rewane Road and Ikoyi Club 1938 Road and arguing about who was a Werewolf by the pool during most evenings with the maestro <a href="https://medium.com/u/9e8133fcb4ee">Robert John</a> and his army that featured my Zimbabwean friend <a href="https://medium.com/u/711c1bfb83c6">Kuzivakwashe Muvezwa</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OSG7opsYYs8hS-qKdHg8CQ.jpeg" /></figure><p>The lessons drawn during the week of celebrating the best of African Tech cut across all facets of my personal and work life. I got to share, learn, and laugh with a unique set of young Africans who are actual change makers. I shared with Proud and <a href="https://medium.com/u/ec956001a477">Chimdindu Aneke</a> about just how impactful the developer circles program has been to us as leads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Fzwesh6tYya27Y_fHpADQ.jpeg" /></figure><p>We have been able to forge real friendships that hold real value with people across Africa — and if Facebook needs any reminder that it is not just another program, they should just simply look at the 65+ strangers who they have respectively managed to help connect with others with completely different backgrounds under a shared goal of bettering communities and themselves.</p><h4>Work — Royal Encounters &amp; Going partially Remote</h4><p>A major highlight from work has been gaining more knowledge on building and maintaining quality software through well-grounded steps and procedures and techniques. BongoHive helped me to challenge myself as Developer by giving me more charge on projects and this has helped cement some of these lessons and I foresee these being quite useful in the next coming year’s projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3gpLPA6TLunXR7XL6gsW_g.jpeg" /></figure><p>Another highlight at work was getting to meet and talk to the Duke of Sussex, Prince Harry. The prince visited BongoHive as part of his two-day visit to Zambia. The Duke came through to our side of the building and he was graceful enough to stop and chat with us and even crack a few jokes here and there.</p><p>Other highlights around work theme are being voted and receiving the Team player award at BongoHive last May. It was great seeing that genuine love for duty and sportsmanship was being recognized.</p><p>In September I joined Musanga Logistic as a part-time full stack developer — this role has helped me to sharpen my skills as a full-stack javascript developer greatly. When I joined the key thing I needed get up and running was the redesign of site <a href="http://www.musanga.com./">www.musanga.com</a> (major upgrades to deployed soon — so don’t judge the current version)</p><p>On this, I got to learn a lot on using technologies like Meteor JS, React JS and Sass whilst ensuring that I write highly maintainable and reusable code. Other key lessons have been on what it means to be working remotely in a small but distributed team, this has called in question the need to respect time greatly and to be an effective communicator seeing that we are not in the same place.</p><h4>Community — Growth &amp; Managing Scale</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dcDA3sYP0A2FaK6n1mP1kA.jpeg" /></figure><p>Something amazing happened this year with Developer Circles Lusaka, in October just after a few days of clocking a year, we hit 1K members online. This was quite exciting to see because it meant that more people were interested enough to be part of this large community of developers who wish to share with others what they know and learn from others what they don’t. What has been also remarkable is seeing that this growth in online membership was coupled with a strong engagement as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*pqiXS3_W9k1jPas3R4xU3w.png" /></figure><p>As leads, we have had to take a step back and just observe how the group has morphed into one that doesn’t always need our constant parenting. Each day there is someone with a question relating to programming and almost every time, there is a random person who spares their time to give direction/ advice to the other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0YuOdi7W4GKFn5VQgi-fvw.jpeg" /></figure><p>These acts may be small but they are the fundamental building blocks of what DevC Lusaka is all about — it’s beautiful to silently witness as a lead.</p><p>One challenge that we now have is ensuring that we are able to effectively manage scale but with the use of feedback tools and a listening hears I believe that will be able to find ways of maintaining the growth of the community — I am quite excited about 2019 for DevC Lusaka.</p><p>2018 has been a remarkable year — with all its many lessons and its many opportunities to see more of what the world has to offer. It’s been a reminder that when you challenge yourself and take risks the products of those sacrifices outweigh the risk. I can’t wait to see what 2019 holds who knows.</p><p>Thanks for reading and wishing you a happy new year!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c12c9a56f23" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thoughts of a broken toy]]></title>
            <link>https://medium.com/series/tales-of-black-a-boy-f73b67458e50?source=rss-4e5cad9a257f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f73b67458e50</guid>
            <dc:creator><![CDATA[Mbuyu Makayi]]></dc:creator>
            <pubDate>Mon, 12 Nov 2018 21:25:06 GMT</pubDate>
            <atom:updated>2019-01-23T14:56:12.706Z</atom:updated>
            <content:encoded><![CDATA[<p>I sit and watch the many times you leave, you like autumn always meant to leave the tales of a glorious summer in the burning leaves.</p><p>Your hair is heaven, a rich mass of boldness that nestles atop of your head like a tree.</p><p>I long to be a bird, to perch my weary self under its curls.</p><p>To untangle your bantu knots, and… maybe unravel your thoughts.</p><p></p><h4>The Longing</h4><p>I slowly fall<br>into a stall.<br>This version of I,<br>I don’t identify.</p><p>O heart look <br>a bird flew by,<br>for a moment<br>I had wings and the <br>courage to begin <br>my attornment.</p><p>There a silence<br>these filtered photos<br>can’t begin to capture<br>our porcelain soul.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f73b67458e50" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>