<?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 Ikem Nodebe on Medium]]></title>
        <description><![CDATA[Stories by Ikem Nodebe on Medium]]></description>
        <link>https://medium.com/@metete_welete?source=rss-35d6eabd663a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*pJtdQTN3gVRTy20VNdVojA.png</url>
            <title>Stories by Ikem Nodebe on Medium</title>
            <link>https://medium.com/@metete_welete?source=rss-35d6eabd663a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 00:30:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@metete_welete/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[Introduction to microservices and how they can be used to build scalable and flexible systems]]></title>
            <link>https://medium.com/@metete_welete/introduction-to-microservices-and-how-they-can-be-used-to-build-scalable-and-flexible-systems-f62ebbaabc31?source=rss-35d6eabd663a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f62ebbaabc31</guid>
            <category><![CDATA[webdev]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Ikem Nodebe]]></dc:creator>
            <pubDate>Thu, 29 Dec 2022 19:47:24 GMT</pubDate>
            <atom:updated>2022-12-29T19:47:24.389Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zVeLoHLHIyjv37esfYoYrA.jpeg" /></figure><p>Microservices are an increasingly popular way to build modern, scalable, and flexible applications. With microservices, an application is structured as a collection of small, independent services that communicate with each other using well-defined APIs.</p><p>This modular approach allows teams to develop, test, and deploy services independently, making it easier to iterate and easier to iterate and release new features. It also allows for more efficient resource utilization, as you can scale individual services as needed rather than the entire application.</p><p>In this article, we’ll take a closer look at microservices and how they can help you build scalable and flexible systems.</p><p>Before we get into Microservices and what they really are, let’s take an insight on monolithic architecture and what they are.</p><p><strong>Monolithic Architecture</strong></p><p>Monolithic architecture is a server-side system based on single applications. At the initial stage, this architecture makes building and deploying an application quick but poses a lot of challenges along the line.</p><p>Some challenges with the monolithic architecture are:</p><ul><li>Traditionally, monolith applications have a lot of shared libraries, so they’re highly dependent on each other. If you change a library, you need to understand that you could effectively take the entire application down.</li><li>Another challenge is that we are constrained to a particular framework and/or language that was initially used in building the application.</li></ul><p><strong>Microservice Architecture</strong></p><p>Microservices is a software architecture style that structures an application as a collection of small, independent services that communicate with each other using well-defined APIs. These services are designed to be easy to develop, test, and maintain, and they can be deployed and scaled independently.</p><p>One of the main benefits of microservices is that they can make it easier to build scalable and flexible systems. Because each service is self-contained and communicates with other services through APIs, you can easily add or remove services as needed without affecting the rest of the system.</p><p>This modular approach can also make it easier to identify and fix issues within the system, as you can focus on a single service rather than trying to debug a monolithic codebase.</p><p>There are several other benefits to using microservices, including:</p><p>⇒ <strong>Increased agility:</strong> Microservices allow you to make changes to a specific part of the system without affecting the entire application. This can be particularly useful for organizations that need to quickly iterate and release new features.</p><p>⇒ <strong>Improved reliability: </strong>Because each service is independently deployable and scalable, you can more easily ensure that the system as a whole is highly available. If one service goes down, the rest of the system can continue to function.</p><p>⇒ <strong>Better use of resources: </strong>Microservices can allow you to optimize resource utilization by only scaling the services that need it. This can help you save money on infrastructure costs.</p><p>To use microservices, you’ll need to design your application as a collection of independent services that communicate with each other using APIs. You’ll also need to choose a technology stack that supports the development of microservices such as containers and a container orchestration platform like kubernates.</p><p>I hope this gives you a good overview of microservices and how they can be used to build scalable and flexible systems.</p><p>Follow me on twitter <a href="http://www.twitter.com/w_lete">@w_lete</a> and let me know if you have any questions!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f62ebbaabc31" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PAGINATION USING PYTHON, REST API, FLASK & MONGODB]]></title>
            <link>https://towardsdev.com/pagination-using-python-rest-api-flask-mongodb-150e364f2eb1?source=rss-35d6eabd663a------2</link>
            <guid isPermaLink="false">https://medium.com/p/150e364f2eb1</guid>
            <category><![CDATA[flask]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[rest-api]]></category>
            <dc:creator><![CDATA[Ikem Nodebe]]></dc:creator>
            <pubDate>Thu, 20 Jan 2022 13:03:23 GMT</pubDate>
            <atom:updated>2022-01-21T08:01:42.494Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g6iEjNtIAsdUmkV0ESCWig.jpeg" /></figure><p>I was recently involved in a project that required me to implement pagination from the backend and I would like to share the easy way I did it through this post.<br>Now just like I initially did, you might have checked online for a python-mongo module that could help achieve this but I assure you that this article would be easier and light-weight.</p><p>For this post, I will be using a simple books API that returns a passed number of books requested from the database. We will be able to pass in the page number and amount(limit) of books to be returned.</p><p><em>Please note that this article was written with Windows users in mind. If you are on another OS, you could check out the commands to perform similar tasks online.</em></p><p><strong>File Structure</strong></p><p>First, let me describe how my file structure is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/1*bsGEeC0lh1n2drDgqtt0Cw.png" /></figure><p>I have a venv (virtual environment) folder where all modules required for this project are installed. You can quickly do that by following these steps:</p><ol><li>Open your terminal (command prompt) in the books_api folder,</li><li>If you don’t already have the virtual environment package installed on your pc, you should follow step 3, else you can skip to step 4,</li><li>Run pip install virtualenv. This should install packages required for creating a virtual environment,</li><li>Run virtualenv venv, where venv is the name of the virtual environment. This can be named anything, but we like to keep it simple,</li><li>Run venv\scripts\activate to activate the virtual environment in the books_api folder.</li></ol><p><strong>Installations</strong><br>Just before we kick off, if you don’t already have these modules, then you can quickly install them using pip install in your already activated virtual environment.</p><pre>pip install flask flask-restful pymongo</pre><p><strong>Setting up our Resources</strong><br>I am going to be setting up Resource for flask-restful in the __init__.py file.</p><p><strong>__init__.py</strong></p><pre>from flask import Flask<br>from pymongo import MongoClient<br>from flask_restful import Api<br><br>app = Flask(__name__)<br>api = Api(app)<br><br># Connecting to local host <br>client = MongoClient(&#39;mongodb://localhost:27017/&#39;)<br><br># Get the books_db and store in db<br>db = client.books_db<br><br>from .books import Books<br><br>api.add_resource(Books, ‘/books’)</pre><p><strong>books.py</strong></p><pre>from flask_restful import Resource, reqparse<br>from . import db<br>from bson import json_util<br>import json<br><br>books_data = reqparse.RequestParser()<br>books_data.add_argument(‘page’, type=int, required=True, help=’Page number is required’)<br>books_data.add_argument(‘limit’, type=int, required=True, help=’Limit is required’)<br><br>class Books(Resource):<br>    &#39;&#39;&#39;<br>        Methods related to the Books endpoint are written <br>        here.<br><br>    GET:<br>       Input: {&#39;page&#39;:Int, &#39;limit&#39;:Int}<br>       Output: {&#39;total_number&#39;:Int, &#39;page&#39;:Int, <br>       &#39;showing&#39;:Int, books:List}<br>    &#39;&#39;&#39;<br><br>    def get(self):<br>        data = books_data.parse_args()<br><br>        page = data[&#39;page&#39;]<br>        page_limit = data[&#39;limit&#39;]<br><br>        # Total number of books<br>        books_count = db.books.count_documents({})<br><br>        # Fetching books data and paginating<br>        fetch_books = db.books.find().sort(&#39;_id&#39;, -1).skip(page_limit * (page - 1)).limit(page_limit)<br><br>        books_fetched = list(json.loads(json_util.dumps(fetch_books)))<br><br>        response = {&#39;total_number&#39;: books_count, &#39;page&#39;: page, &#39;showing&#39;: page_limit, &#39;books&#39;: books_fetched}<br><br>        return response</pre><p><strong>app.py</strong></p><pre>from books_api import app<br><br>if __name__ == ‘__main__’:<br>    app.run()</pre><p>To run this application, open the activated venv in your terminal and run python app.py</p><p><strong>Conclusion</strong><br>This post has been made very basic for easy understanding and implementation. You don’t really need to have this exact project. You just need to understand the concept and you’re good to go. All the code has been uploaded to GitHub, you can view it here:</p><p><a href="https://github.com/nodebe/books_api">Books_Api</a></p><p>Hope I was able to help you through this post. I am open to answering questions in the comment section below.</p><p>Stay coded! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=150e364f2eb1" width="1" height="1" alt=""><hr><p><a href="https://towardsdev.com/pagination-using-python-rest-api-flask-mongodb-150e364f2eb1">PAGINATION USING PYTHON, REST API, FLASK &amp; MONGODB</a> was originally published in <a href="https://towardsdev.com/">Towards Dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[6 THINGS ASPIRING DEVELOPERS SHOULD KNOW]]></title>
            <link>https://medium.com/@metete_welete/https-medium-com-welete-6-things-aspiring-developers-should-know-6731aa846867?source=rss-35d6eabd663a------2</link>
            <guid isPermaLink="false">https://medium.com/p/6731aa846867</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Ikem Nodebe]]></dc:creator>
            <pubDate>Fri, 01 Feb 2019 01:08:37 GMT</pubDate>
            <atom:updated>2019-02-01T01:08:37.938Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>6 THINGS ASPIRING DEVELOPERS SHOULD KNOW</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*jchSzaif2lPaDh_pS5av-w.jpeg" /></figure><p>These days, people get into programming for different reasons, it could be because of the passion to learn or build something cool, it could be for the pay they get for projects that they could complete for clients, it could be because they see their other colleagues programming and it could be because of a certain college project. So without wasting much time, I am going to be giving out 6 things every aspiring developer should know before starting the programming journey.</p><p><strong>1.</strong> <strong>Programming Is Not Easy</strong></p><p>It is said that nothing in life is easy; same saying goes for programming as what makes a developers life harder is the fact that he is programming. The only time it gets easy is when you get good and that only happens with consistency and constant practice. And even when you get good, you will still get to that point where you will have to ask questions. As a programmer, you have to learn how to ask questions, which brings us to our next point.</p><p><strong>2.</strong> <strong>Asking Questions</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/194/1*ZxXXY5kq73YtqUp5q3xGjg.jpeg" /></figure><p>As a programmer, you will have to be good in question asking. You will have to ask questions in Google, stack overflow and even human beings who could be users of the software you plan to build or other programmers who can help you with a problem or two. Always remember that no matter how good you get, you can’t know it all and you won’t know it all.</p><p><strong>3.</strong> <strong>Problem Solving Mindset</strong></p><p>As a developer, you must be able to solve problems else you won’t be more different from someone whose work is to type plainly in word processor. You have to know that programming is 90% problem solving and 10% typing. You can’t get problems to tackle if you don’t consistently practice and give yourself tasks, which leads us to the next point.</p><p><strong>4.</strong> <strong>Consistency and Practice</strong></p><p>As a programmer, you must learn how to be consistent and practice always. As they say practice makes perfect and you must tap into the full power of constant practice. You have to be consistent in coding else you would forget the most basic things you once knew. And you have to practice by coding a basic application with any language you are learning. If it is HTML/CSS, create a basic form today and tomorrow learn how to make the form look better.</p><p><strong>5.</strong> <strong>Frustrating</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/1*wY7KZIJjLX2R_MCkY78Ufg.gif" /></figure><p>Programming is frustrating. Nobody would tell you that but it is the truth. When you pick up a project because you feel that it is this all in one wonderful project and feel the hype to code it once, just know that there will be bugs, errors and failures of your codes. If you are not calm and do not love what you are doing, you will get easily frustrated and breakdown or even give up in the project or even in programming as whole. During these times, take a short break, try and figure out where the problem actually is and try to solve or debug it. Just love what you do and you will find yourself scaling through these trying times.</p><p><strong>6.</strong> <strong>Know What You Want</strong></p><p>Before starting the journey to being a good developer, you have to know why and what you want to do. If it is, mobile app development, web app development, Ethical Hacking, Game development, Robotics etc. so that you don’t find yourself moving from one section to another because that way, it would be difficult and take a pretty long time before you can settle. You could pick one, two or three, just know the one you want to settle for before starting and follow a defined path of study. You could do this by asking other developers questions on the path to follow. This just helps you to know the languages that you would be required to learn.</p><p>I do hope you got something useful from this post and if you did, clap to the post and you can also leave a comment about how you feel about the post or if there is anything you feel should be added to <strong>things aspiring developers should know. </strong>Thanks and may the codes be with you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6731aa846867" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>