<?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[Tech Notions - Medium]]></title>
        <description><![CDATA[Tech Notions (by Enyata) is aimed at helping everyone get familiar with the tech space by documenting whatever is needed for them to gain knowledge. - Medium]]></description>
        <link>https://medium.com/tech-notions?source=rss----ccb8b8de5850---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Tech Notions - Medium</title>
            <link>https://medium.com/tech-notions?source=rss----ccb8b8de5850---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 11:17:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/tech-notions" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Understanding the CAP Theorem; Through a Food Delivery App]]></title>
            <link>https://medium.com/tech-notions/understanding-the-cap-theorem-through-a-food-delivery-app-d789361507af?source=rss----ccb8b8de5850---4</link>
            <guid isPermaLink="false">https://medium.com/p/d789361507af</guid>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[cap-theorem]]></category>
            <dc:creator><![CDATA[Enaikeleomoh]]></dc:creator>
            <pubDate>Thu, 30 May 2024 08:47:27 GMT</pubDate>
            <atom:updated>2024-05-30T08:47:27.320Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o0LrvNMfwk6alqL1MLfZKA.jpeg" /></figure><p>Developing a food delivery app was challenging and enlightening, especially when managing orders efficiently. As the number of orders grew, handling them alone became impossible, so I enlisted the help of a partner.</p><p>This collaboration, however, introduced a common problem in distributed systems: maintaining consistency when each partner doesn’t know their orders.</p><p>Here, I’ll explain the CAP theorem with this real-world scenario.</p><h3>The CAP Theorem in Distributed Systems</h3><p>The CAP theorem states that in any distributed system, you can only achieve two out of the following three guarantees:</p><ol><li><strong>Consistency (C)</strong>: Every read receives the most recent write.</li><li><strong>Availability (A)</strong>: Every request receives a response, without guarantee that it contains the most recent write.</li><li><strong>Partition Tolerance (P)</strong>: The system continues to operate despite network partitions.</li></ol><p><strong>In our food delivery app scenario:</strong></p><ul><li><strong>Consistency</strong>: All nodes (partners) return the latest order status.</li><li><strong>Availability</strong>: All nodes respond to requests, even if they don’t have the latest order status.</li><li><strong>Partition Tolerance</strong>: The system continues to function even if there is a communication breakdown between nodes.</li></ul><p>To build a robust system, you need to understand your use cases and requirements:</p><ul><li><strong>Eventual Consistency</strong>: The system will become consistent over time, which might be acceptable for non-critical applications.</li><li><strong>Tweaking Partition Tolerance</strong>: Adjust how much inconsistency you can tolerate during network failures.</li></ul><h3>Consistency: Keeping Everyone on the Same Page</h3><p>Consistency in a distributed system means every read operation returns the most recent write. In the context of our food delivery app, it means that both my partner and I need to know exactly which orders have been received and their status.</p><p>For example, if I take an order and my partner is unaware, we risk creating a poor customer experience. To maintain consistency, I needed to ensure that my partner was immediately informed of any new orders.</p><p>However, imagine a situation where my partner isn’t available, perhaps due to a network issue or other problem. This leads us to another important aspect: availability.</p><h3>Availability: Ensuring the System is Always Up</h3><p>Availability refers to the system’s ability to respond to requests. A highly available system can handle many requests and continue to function even if parts of it fail.</p><p>For our app, this means ensuring that orders can be taken and processed even if one of us isn’t available.</p><p>By adding more partners or servers, we can increase the system’s availability. However, each server must come to a consensus on the orders to maintain consistency.</p><p>But what happens if the communication between servers breaks down? This brings us to the third aspect of the CAP theorem: partition tolerance.</p><h3>Partition Tolerance: Dealing with Network Failures</h3><p>Partition tolerance means the system continues to operate despite network partitions that prevent some servers from communicating with others.</p><p>Imagine the communication channel between my partner and me breaks down. Our system might start losing consistency since we can’t synchronize the order data. In this case, we must choose between consistency and availability.</p><p>If we tolerate partitioning, we might sacrifice consistency to keep the system available. This means orders can still be taken, but there might be inconsistencies between what different partners see.</p><p>For a good customer experience, it’s often better to shut down one server to maintain consistency while the other handles the requests.</p><h3>Understanding the Trade-offs</h3><h4><strong>Consistency and Availability (CA) without Partition Tolerance:</strong></h4><p>If the system prioritizes consistency and availability but cannot tolerate partitions, it assumes that there is always a reliable network and that nodes do not fail.</p><p>In real-world scenarios, network failures and partitions are inevitable, making this combination impractical for distributed systems.</p><h4><strong>Consistency and Partition Tolerance (CP) without Availability</strong>:</h4><p>If the system prioritizes consistency and partition tolerance, it may sacrifice availability. During a partition, the system might not respond to some requests to maintain consistency, effectively becoming unavailable to ensure that the data remains consistent across nodes.</p><h4><strong>Availability and Partition Tolerance (AP) without Consistency:</strong></h4><p>If the system prioritizes availability and partition tolerance, it may sacrifice consistency. The system will always respond to requests even during a partition, which might lead to different nodes having different versions of the data (eventual consistency).</p><p>In conclusion, the CAP theorem helps us understand the trade-offs in designing distributed systems. You can create a system that meets your needs by balancing consistency, availability, and partition tolerance.</p><p>In our food delivery app, we had to decide what was more important: having a consistent view of orders or ensuring the system was always available.</p><p>Understanding these principles can help you build more resilient and efficient distributed systems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d789361507af" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-notions/understanding-the-cap-theorem-through-a-food-delivery-app-d789361507af">Understanding the CAP Theorem; Through a Food Delivery App</a> was originally published in <a href="https://medium.com/tech-notions">Tech Notions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Next.js Authentication with Auth0 and MongoDB]]></title>
            <link>https://medium.com/tech-notions/next-js-authentication-with-auth0-and-mongodb-d5c02a41d849?source=rss----ccb8b8de5850---4</link>
            <guid isPermaLink="false">https://medium.com/p/d5c02a41d849</guid>
            <category><![CDATA[user-authentication]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[nextjs]]></category>
            <dc:creator><![CDATA[Enaikeleomoh]]></dc:creator>
            <pubDate>Thu, 25 Apr 2024 08:24:20 GMT</pubDate>
            <atom:updated>2024-04-25T08:24:20.045Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YL9x06WTY7ra7Or5yEpISw.jpeg" /></figure><p><a href="https://auth0.com/"><strong>Auth0</strong></a> is an authentication and authorization library that helps you manage users in Next.JS through seamless signup and login experiences. For an alternative, you can use <a href="https://firebase.google.com/">Firebase</a> or <a href="http://clerk.com/">Clerk</a> for authentication</p><h3>Pre-requisites:</h3><ul><li>Node ≥ 12</li><li>Basic Next.js knowledge</li><li>React and React Hooks basic knowledge</li></ul><h3>Introduction</h3><p>In this tutorial, we will create a login system using Next.js and Auth0. Auth0 offers a comprehensive authentication solution with pre-built UI components. It has seamless integrations with email and social platforms like Google, Facebook, and GitHub.</p><p>We’ll develop a secure authentication system while ensuring that user data is securely stored in a MongoDB database.</p><h4>Setting up Next.Js. and Auth0</h4><p><strong>Step 1: Create a new Next.js application</strong></p><p>To create a new Next.js project, make sure you have Node.js installed, and then run the following commands:</p><pre>npx create-next-app mynextjs<br>cd mynextjs</pre><p>After successfully creating the Next.js application, the folder structure is as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*F3Lg8ms2Mc7sx_2qiI8t2Q.png" /><figcaption>Next.Js project structure</figcaption></figure><p><strong>Step 2:Install the Auth0 Next.js SDK</strong></p><p>Run the following command within your project directory to install the Auth0 Next.js SDK:</p><pre>npm install @auth0/nextjs-auth0</pre><p><strong>Step 3: Add the file</strong>.env.local<strong> with the following </strong><a href="https://nextjs.org/docs/basic-features/environment-variables"><strong>environment variables</strong></a><strong> in the root directory of your project:</strong></p><pre>AUTH0_SECRET=******************************<br>AUTH0_BASE_URL=http://localhost:3000<br>AUTH0_ISSUER_BASE_URL=&#39;https://yourdomainfromauth0.us.auth0.com&#39;<br>AUTH0_CLIENT_ID=add_your_client_id<br>AUTH0_CLIENT_SECRET=add_your_client_secret</pre><p><strong><em>NOTE:</em></strong></p><blockquote><strong>AUTH0_SECRET:</strong> A secret key used for authentication with Auth0, generated using openssl rand -hex 32.</blockquote><blockquote><strong>AUTH0_BASE_URL:</strong> The base URL of your application, typically http://localhost:3000 when running locally.</blockquote><blockquote><strong>AUTH0_ISSUER_BASE_URL:</strong> The issuer URL of the Auth0 Authorization Server, found in the domain settings.</blockquote><blockquote><strong>AUTH0_CLIENT_ID:</strong> The Client ID of your Auth0 application.</blockquote><blockquote><strong>AUTH0_CLIENT_SECRET:</strong> The Client Secret of your Auth0 application.</blockquote><p><strong>Step 4: Create a dynamic router within your app directory</strong> app/api/auth/[auth0]/route.js</p><p>Within the particularroute.js file, add the following code:</p><pre>import { handleAuth } from &#39;@auth0/nextjs-auth0&#39;;<br><br>export const GET = handleAuth();</pre><p><strong>Step 5: Add the UserProvider component to your root</strong>app/layout.jsx</p><pre>import { UserProvider } from &#39;@auth0/nextjs-auth0/client&#39;;<br><br>export default function RootLayout({ children }) {<br>  return (<br>    &lt;html lang=&quot;en&quot;&gt;<br>      &lt;UserProvider&gt;<br>        &lt;body&gt;{children}&lt;/body&gt;<br>      &lt;/UserProvider&gt;<br>    &lt;/html&gt;<br>  );<br>}</pre><p><strong>Step 6: Add Login / logout to Your </strong>app/page.js <strong>file</strong></p><pre><br>import { useState } from &quot;react&quot;;<br><br>export default function Home() {<br>  const { user, error, isLoading } = useUser();<br>  <br>  return (<br>// IF USER IS LOGGED IN, DISPLAY THIS<br> user ? (<br>      &lt;div&gt;<br>        &lt;h1&gt;Logged in&lt;/h1&gt;<br>        &lt;div className=&quot; mt-[8rem] &quot;&gt;<br>&lt;h1&gt;Do you wish to log out? &lt;/h1&gt;<br>          &lt;button className=&quot; bg-white p-2 px-4 rounded-lg&quot;&gt;<br>            {/* ROUTE TO LOGOUT */}<br>              &lt;a href=&quot;/api/auth/logout&quot;&gt;Logout&lt;/a&gt;;<br>           &lt;/button&gt;<br>        &lt;/div&gt;<br>      &lt;/div&gt;<br>    ) :<br>// IF USER IS LOGGED OUT, DISPLAY THIS<br> &lt;div className=&quot; bg-blue-900 w-full h-[100vh] justify-center items-center  flex&quot;&gt;<br>        &lt; div className=&quot; text-center w-full&quot; &gt;<br>          &lt;button className=&quot; bg-white p-2 px-4 rounded-lg&quot;&gt;<br>          {/* ROUTE TO LOGIN */}<br>            &lt;a href=&quot;/api/auth/login&quot;&gt;Login&lt;/a&gt;;<br>          &lt;/button&gt;<br>        &lt;/div &gt;<br>      &lt;/div &gt;<br>  );<br>}</pre><p><strong>Step 7: Implement the logic to store the user information in the MongoDB database after signing in</strong></p><pre> useEffect(() =&gt; {<br><br>    const sendUserDataToServer = async () =&gt; {<br>      // if (user &amp;&amp; user.email &amp;&amp; user.name &amp;&amp; !requestSent) {<br>      //   console.log(&#39;Sending user data:&#39;, user);<br><br>      try {<br><br>        const response = await fetch(&#39;/api/storeUser&#39;, {<br>          method: &#39;POST&#39;,<br>          headers: {<br>            &#39;Content-Type&#39;: &#39;application/json&#39;,<br>          },<br>          body: JSON.stringify({ username: user.name, email: user.email }),<br>        });<br><br>        if (response.ok) {<br>          const token = await response.json();<br>          console.log(token);<br>          setUserToken(token)<br>          addUserDetails(user)<br>          addUserToken(token)<br>          console.log(userInfo);<br>          console.log(&#39;User data stored successfully.&#39;);<br>        }<br>      } catch (error) {<br>        console.error(&#39;Error storing user data:&#39;, error);<br>      } finally {<br><br>        setRequestSent(true);<br>      }<br>    }<br><br><br>    sendUserDataToServer();<br>  }, [user?.name])</pre><p><strong><em>Note: The overall client-side code looks like this:</em></strong></p><pre>import { useState,useEffect } from &quot;react&quot;;<br><br>export default function Home() {<br>  const { user, error, isLoading } = useUser();<br><br><br>useEffect(() =&gt; {<br><br>    const sendUserDataToServer = async () =&gt; {<br>      <br>      try {<br><br>        const response = await fetch(&#39;/api/storeUser&#39;, {<br>          method: &#39;POST&#39;,<br>          headers: {<br>            &#39;Content-Type&#39;: &#39;application/json&#39;,<br>          },<br>          body: JSON.stringify({ username: user.name, email: user.email }),<br>        });<br><br>        if (response.ok) {<br>          console.log(response.data);<br>          console.log(&#39;User data stored successfully.&#39;);<br>        }<br>      } catch (error) {<br>        console.error(&#39;Error storing user data:&#39;, error);<br>      } <br>    }<br><br>    sendUserDataToServer();<br>  }, [user?.name])<br>  <br>  return (<br>// IF USER IS LOGGED IN, DISPLAY THIS<br> user ? (<br>      &lt;div&gt;<br>        &lt;h1&gt;Logged in&lt;/h1&gt;<br>        &lt;div className=&quot; mt-[8rem] &quot;&gt;<br>&lt;h1&gt;Do you wish to log out? &lt;/h1&gt;<br>          &lt;button className=&quot; bg-white p-2 px-4 rounded-lg&quot;&gt;<br>            {/* ROUTE TO LOGOUT */}<br>              &lt;a href=&quot;/api/auth/logout&quot;&gt;Logout&lt;/a&gt;;<br>           &lt;/button&gt;<br>        &lt;/div&gt;<br>      &lt;/div&gt;<br>    ) :<br>// IF USER IS LOGGED OUT, DISPLAY THIS<br> &lt;div className=&quot; bg-blue-900 w-full h-[100vh] justify-center items-center  flex&quot;&gt;<br>        &lt; div className=&quot; text-center w-full&quot; &gt;<br>          &lt;button className=&quot; bg-white p-2 px-4 rounded-lg&quot;&gt;<br>          {/* ROUTE TO LOGIN */}<br>            &lt;a href=&quot;/api/auth/login&quot;&gt;Login&lt;/a&gt;;<br>          &lt;/button&gt;<br>        &lt;/div &gt;<br>      &lt;/div &gt;<br>  );<br>}</pre><p><strong>Step 8: Set up the MongoDB cluster</strong></p><p>Log in to MongoDB and set up a MongoDB cluster on <a href="https://atlas.mongodb.com/">Atlas</a> Go to <strong>Projects</strong> and create a new project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H5b7Jgfv_YVf9FCDHtq7_g.png" /></figure><p>We’ll add rights to our project and be designated as the project owner. Next, set up a database for our project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7-GfBNneyufNnyuWTvOH0w.png" /></figure><p>Click on <strong>Build a database. </strong>Therefore, choosing our database plan will be required of us, so you can use the free shared plan.</p><p>Next, we select the providers and regions for our database cluster; you can leave it as is and use the M0 cluster, which is free.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BXXfIetdk4F2BxwJjLLeTw.png" /></figure><p>Press the “Create Cluster” button. Our database security will need to be configured next. In the “Where would you like to connect from?” window, select “My Local Environment” and enter your current IP address after selecting a username and password. Select “Finish” by clicking.</p><p>Obtaining our connection URL is the next step in connecting to our cluster. Select Connect your application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_hnruByhEs4VQEMDarPkVg.png" /></figure><p>Copy the connection string</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZzkwxvjTX154xkEvs5mBnA.png" /></figure><p><strong>Step 9: Add the connection string to your </strong>.env.local file</p><p><em>Note: Ensure that your connection string has your unique username and password.</em></p><pre>// .env<br><br>DATABASE_URL=mongodb+srv://username:password@cluster0.ba9ic.mongodb.net/?retryWrites=true&amp;w=majority<br><br>AUTH0_SECRET=******************************<br>AUTH0_BASE_URL=http://localhost:3000<br>AUTH0_ISSUER_BASE_URL=&#39;https://yourdomainfromauth0.us.auth0.com&#39;<br>AUTH0_CLIENT_ID=add_your_client_id<br>AUTH0_CLIENT_SECRET=add_your_client_secret</pre><p><strong>Step 10: Implement the connection to MongoDB within the</strong> app/api/storeUser/route.js</p><p><em>Note: Ensure that you add your unique database name.</em></p><pre>import { MongoClient } from &quot;mongodb&quot;;<br>import { NextResponse } from &quot;next/server&quot;;<br><br>async function connectToMongoDB() {<br>    const client = await MongoClient.connect(process.env.DATABASE_URL);<br>    return client.db(&quot;myFirstDatabase&quot;);<br>}</pre><p><strong>Step 11: Check if the user exists first before storing another user in the database.</strong></p><p><strong><em>Note: </em></strong><em>write the function within the </em>app/api/storeUser/route.js<em> file</em></p><pre>async function checkUserExistence(email, db) {<br>    return await db.collection(&quot;users&quot;).findOne({ email });<br>}</pre><p><strong>Step 12:Store the user information in the database if the user passes the check</strong>.</p><p><strong><em>Note: </em></strong><em>write the function within the </em>app/api/storeUser/route.js<em> file</em></p><pre>async function createUser(email, username, db) {<br>    const userData = await db.collection(&quot;users&quot;).insertOne({<br>        email,<br>        username,<br>    });<br>    return userData;<br>}<br></pre><p><strong>Step 13:Store the user information in the database if the user passes the check</strong>.</p><p><strong><em>Note: </em></strong><em>write the function within the </em>app/api/storeUser/route.js<em> file</em></p><pre>export const POST = async (req, res) =&gt; {<br>    try {<br>        // Extract username and email from the request body<br>        const { username, email } = await req.json();<br><br>        // Check if username and email are provided<br>        if (!username || !email) {<br>            // Return a response indicating that username and email are required<br>            return new NextResponse(&quot;Username and email are required.&quot;, { status: 400 });<br>        }<br><br>        // Connect to MongoDB<br>        const db = await connectToMongoDB();<br><br>        Check if the user already exists in the database<br>        const existingUser = await checkUserExistence(email, db);<br>        if (existingUser) {<br>            // If the user already exists, return a response indicating so<br>            console.log(&quot;User already exists.&quot;);<br>            return new NextResponse(&quot;User already exists.&quot;, { status: 400 });<br>        }<br><br>        If the user doesn&#39;t exist, create a new user in the database<br>        const userData = await createUser(email, username, db);<br>        console.log(userData);<br><br>        // Return a success response indicating that the user was stored successfully<br>        return new NextResponse({ message: &#39;User stored successfully.&#39;, userData }, { status: 201 });<br>    } catch (e) {<br>        If an error occurs during the process, log the error and return an internal server error response<br>        console.error(e);<br>        return new NextResponse(&quot;Internal Server Error&quot;, { status: 500 });<br>    }<br>};</pre><p>the overall server-side code looks like this within the app/api/storeUser/route.js<em> file</em></p><pre>import { MongoClient } from &quot;mongodb&quot;;<br>import { NextResponse } from &quot;next/server&quot;;<br><br>async function connectToMongoDB() {<br>    const client = await MongoClient.connect(process.env.MONGODB_URI);<br>    return client.db(&quot;ecommerce&quot;);<br>}<br><br>async function checkUserExistence(email, db) {<br>    return await db.collection(&quot;users&quot;).findOne({ email });<br>}<br><br>async function createUser(email, username, db) {<br>    const userData = await db.collection(&quot;users&quot;).insertOne({<br>        email,<br>        username,<br>        isAdmin: false,<br>    });<br>    return userData;<br>}<br><br>export const POST = async (req, res) =&gt; {<br>    try {<br>        // Extract username and email from the request body<br>        const { username, email } = await req.json();<br><br>        // Check if username and email are provided<br>        if (!username || !email) {<br>            // Return a response indicating that username and email are required<br>            return new NextResponse(&quot;Username and email are required.&quot;, { status: 400 });<br>        }<br><br>        // Connect to MongoDB<br>        const db = await connectToMongoDB();<br><br>        Check if the user already exists in the database<br>        const existingUser = await checkUserExistence(email, db);<br>        if (existingUser) {<br>            // If the user already exists, return a response indicating so<br>            console.log(&quot;User already exists.&quot;);<br>            return new NextResponse(&quot;User already exists.&quot;, { status: 400 });<br>        }<br><br>        If the user doesn&#39;t exist, create a new user in the database<br>        const userData = await createUser(email, username, db);<br>        console.log(userData);<br><br>        // Return a success response indicating that the user was stored successfully<br>        return new NextResponse({ message: &#39;User stored successfully.&#39;, userData }, { status: 201 });<br>    } catch (e) {<br>        If an error occurs during the process, log the error and return an internal server error response<br>        console.error(e);<br>        return new NextResponse(&quot;Internal Server Error&quot;, { status: 500 });<br>    }<br>};</pre><h3>Conclusion</h3><p>Combining Next.js with Auth0 helps implement fast and secure authentication in web apps. In this tutorial, we successfully developed a login system using Auth0’s authentication capabilities.</p><p>We also ensured that important user data was securely stored in a MongoDB database.</p><p>This integration offers a robust foundation for building secure and user-friendly applications with Next.js.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5c02a41d849" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-notions/next-js-authentication-with-auth0-and-mongodb-d5c02a41d849">Next.js Authentication with Auth0 and MongoDB</a> was originally published in <a href="https://medium.com/tech-notions">Tech Notions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting Up Authentication in Next.js Applications]]></title>
            <link>https://medium.com/tech-notions/setting-up-authentication-in-next-js-applications-4429cb26553a?source=rss----ccb8b8de5850---4</link>
            <guid isPermaLink="false">https://medium.com/p/4429cb26553a</guid>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[user-authentication]]></category>
            <dc:creator><![CDATA[Enyata]]></dc:creator>
            <pubDate>Mon, 15 Apr 2024 15:21:25 GMT</pubDate>
            <atom:updated>2024-04-17T11:50:11.073Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C68z-1D-PcDmpUtADtR1GA.jpeg" /><figcaption>Enyata Inc — Setting Up Authentication in Next.js Applications</figcaption></figure><h3>What is Authentication?</h3><p>User authentication ensures that only authorized individuals can access sensitive information or perform specific actions. It helps protect user data, maintain privacy, prevent unauthorized access, and safeguard against potential security breaches or fraudulent activities.</p><h3>Benefits of Authentication</h3><p>Authentication and authorization are important parts of any Next.js application for several reasons:</p><p>1. <strong>Protecting User Data</strong>: Authentication ensures that only authorized users can access sensitive data and perform specific actions within the application. This protects user privacy and prevents unauthorized access to confidential information.</p><p>2. <strong>Preventing Security Breaches</strong>: Proper authentication mechanisms help mitigate the risk of unauthorized access and protect against malicious activities such as identity theft or data leaks.</p><p>3. <strong>Ensuring Compliance</strong>: Many industries have regulatory requirements regarding data privacy and security (e.g., GDPR, HIPAA). Implementing authorization mechanisms in a Next.js app helps ensure compliance with these regulations.</p><p>4. <strong>Customizing User Experience</strong>: Authorization allows for personalized user experiences tailored to different user groups or levels of access within the application.</p><p>5. <strong>Enhancing Trust and Confidence</strong>: A secure authentication and authorization system gives users the trust and confidence that their data is being handled securely and responsibly. This leads to increased user satisfaction, loyalty, and retention.</p><p>6. <strong>Protecting Against Attacks</strong>: Implementing strong authentication and authorization measures helps protect against various security threats such as session hijacking, cross-site scripting (XSS), and cross-site request forgery (CSRF).</p><h3>Authentication Methods</h3><p>The function and sensitivity of data stored on an app determine the level of security adopted.</p><p>There are a few ways to implement User Authentication using third-party authenticators.</p><p>Here are 4 important methods:</p><p>1. <strong>Password-based authentication</strong>: Users enter a unique password to access the application. It’s one of the most common methods but can be vulnerable to breaches if passwords are weak or compromised.</p><p>2. <strong>Two-factor authentication (2FA)</strong>: This adds an extra layer of security by requiring users to provide two forms of identification. This typically includes a password and a unique code sent to their phone or email.</p><p>3. <strong>OAuth and OpenID Connect</strong>: These are protocols for authorization and authentication. They are used in web and mobile applications to enable secure access to resources without sharing credentials.</p><p>4. <strong>Role-based access control (RBAC): </strong>RBAC assigns permissions to users based on their role within an organization. It ensures they only have access to the resources necessary for their job function.</p><p><strong>5. Permission-based access control (PBAC)</strong>: PBAC permissions are assigned to the user regardless of their role. It grants them access to certain resources based on the permission they have access to.</p><h3>Authentication in Next.js</h3><p>Authentication is a key aspect of building a safe and secure application. In our case, we would be focusing on the user-facing side of the application (Next.js).</p><p>Next.js is a popular open-source React framework. It is used for building fast and scalable web applications. It simplifies development by providing features like automatic code splitting, hot module replacement, and routing out of the box.</p><p>It provides server-side rendering (<a href="https://nextjs.org/docs/pages/building-your-application/rendering/server-side-rendering">SSR</a>), static site generation (<a href="https://nextjs.org/docs/pages/building-your-application/rendering/static-site-generation">SSG</a>), and client-side rendering (<a href="https://nextjs.org/docs/pages/building-your-application/rendering/client-side-rendering">CSR</a>) capabilities. Next.js offers developers flexibility in how they render their applications.</p><h3>Getting started with Next.js</h3><p>1. <strong>Install Node.js</strong>: Ensure Node.js is installed on your system. Next.js requires Node.js version 10.13 or later.</p><p>2. <strong>Create a Next.js project</strong>: You can create a new Next.js project using the following command:</p><pre>npx create-next-app my-nextjs-app</pre><p>Replace `my-nextjs-app` with the name of your project.</p><p>3. <strong>Navigate to the project directory</strong>: Move into the directory of your newly created Next.js project:</p><pre>cd my-nextjs-app</pre><p>4. <strong>Start the development server</strong>: Run the following command to start the development server:</p><pre>npm run dev</pre><p>This will start the development server and launch your Next.js application.</p><h3>Getting started with Authentication (Login)</h3><ol><li><strong>Create Login Components</strong></li></ol><ul><li>Create components for the login form (`LoginForm.js`) and any other necessary components (e.g., `InputField.js`, `Button.js`).</li><li>Design and implement the login form UI using HTML and CSS.</li></ul><p><strong>2. Handle Form Submission</strong>:</p><ul><li>In `LoginForm.js`, set up state variables to manage form input (e.g., `useState` hook).</li><li>Implement functions to handle input changes (`handleChange`) and form submissions (`handleSubmit`).</li></ul><p><strong>3. Implement Login Logic</strong>:</p><ul><li>Create a function (`loginUser`) to handle authentication logic.</li><li>Use API requests (e.g., Fetch API or Axios) to send user credentials (e.g., username and password) to a backend server for authentication.</li><li>Handle responses from the server, such as success or error messages.</li></ul><p>4. Integrate Login Components**:</p><ul><li>Import the `LoginForm` component into the appropriate page component (e.g., `pages/login.js`).</li><li>Render the `LoginForm` component within the page component.</li></ul><p>The above process assumes the user already either has an account or signed up with said credentials. It is expected that after a successful login, a separate component is rendered which means access to the system was successful.</p><p>Provide the user with information (messages) as they work through the system. This can be a success message on a successful login or an error message on an unsuccessful login attempt.</p><p>A logged-in user on the application depending on the required security for this application would need to be logged out to prevent persistent access to data they otherwise would deem priority e.g. bank account balance, and ability to transfer funds.</p><p>To Initiate logout on a client application we simply need to discard the token (destroy) which revokes the authenticated/authorized user access till they re-enter the credentials granting them fresh access to the system again. As we said, it is application-dependent.</p><h4>Conclusion:</h4><p>In summary, authentication and authorization are essential components of a Next.js application. They provide security, compliance, customization, and trust. These are all benefits that are vital for the success and integrity of the application and its users.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4429cb26553a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-notions/setting-up-authentication-in-next-js-applications-4429cb26553a">Setting Up Authentication in Next.js Applications</a> was originally published in <a href="https://medium.com/tech-notions">Tech Notions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Life After the Enyata Academy]]></title>
            <link>https://medium.com/tech-notions/life-after-the-enyata-academy-2ebdab97e05c?source=rss----ccb8b8de5850---4</link>
            <guid isPermaLink="false">https://medium.com/p/2ebdab97e05c</guid>
            <dc:creator><![CDATA[Chioma Nwocha]]></dc:creator>
            <pubDate>Tue, 26 Sep 2023 09:02:56 GMT</pubDate>
            <atom:updated>2023-09-26T09:02:56.794Z</atom:updated>
            <content:encoded><![CDATA[<h3>The transformative power of dedicated learning and collaboration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AZMv_gN_2AP_MCllXgyjcQ.png" /></figure><p>My name is Chioma Nwocha, and I currently work as a Frontend Engineer at Enyata. If you are curious enough to find out how my tech journey began, continue reading.</p><p>Although it was a difficult process, I got into the Enyata Academy after a pre-boot camp interview with Mr. Joseph, the COO of Enyata.</p><p>After a successful interview, I was invited to the two-week boot camp, where I was introduced to the world of software engineering. Upon being accepted into the boot camp, I got paired with a group of other students, and we proceeded to build a project based on what we had been taught and present it for evaluation.</p><p>Getting into the academy proper, I soon realized I needed a lot of time, dedication, and motivation to survive the entire six months of training. From my point of view, I could weigh in on so many of the advantages over the disadvantages, and I was encouraged to take a giant leap toward my dream of becoming a front-end Engineer. The sweet icing on the cake was that we got paid a monthly stipend to learn and become better at software engineering. As of that time, you could count how many Nigerian companies really invested so much in training like this, so I saw myself as one of the very fortunate beneficiaries of this paid opportunity.</p><p>Although the money wasn’t the only positive aspect of this opportunity, I fell in love with the people at Enyata. I met people from different backgrounds and cities in Nigeria who shared my passion, making the journey all the more rewarding.</p><p>When it came to skill and knowledge acquisition, Enyata Academy didn’t hold back. They exposed us to all the trending technologies, from Git, HTML, CSS, jQuery, JavaScript, and even frameworks like Vue.js and Node.js.</p><p>The curriculum didn’t stop at just coding skills I became versed in project management, learned how to design with Figma, and worked on practical applications of soft skills.</p><h4><strong>The Project Phase</strong></h4><p>At Enyata Academy, the learning journey transcended mere theoretical knowledge; it was a dynamic and immersive experience enriched with practical projects and exercises that significantly augmented my skill set. In every module across diverse fields, the curriculum embraced hands-on, real-world applications.</p><p>For instance, I had the opportunity to explore web design through practical applications, utilizing tools like Figma to craft web pages. Moreover, I delved into the realm of project management, engaging in research and the creation of comprehensive project documentation. Additionally, I ventured into backend development, honing my skills by constructing endpoints using Node.js.</p><p>This holistic approach to learning not only expanded my theoretical knowledge but also equipped me with the practical skills and experience necessary to excel in real-world scenarios.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*i7_6WjvZf0JWOLBtVRgCag.jpeg" /></figure><p>The culmination of my learning experience at Enyata Academy helped me build an admin and student dashboard. This was a comprehensive undertaking that integrated everything I had learned so far, primarily utilizing Vue.js for the frontend and Node.js for the backend.</p><p>I saw the project transform from mere ideas on a whiteboard to a fully functioning admin and student dashboard. The sense of accomplishment was overwhelming. This project taught me the power of collaboration, the value of shared skill sets, and the satisfaction of turning a shared vision into reality.</p><p>I would also like to point out that one of the most valuable aspects of my Enyata Academy experience has been the instructors’ caliber. I had the privilege of learning from experts in the field who were not only knowledgeable but also passionate about sharing their expertise. They were always there to provide guidance and solutions to any challenges I encountered, making the learning process simpler.</p><p>I was always reminded that I was not alone in this journey and that I had a team of experienced individuals ready to help me succeed. It taught me the importance of seeking guidance and mentorship, even when it feels like I am navigating uncharted waters.</p><h4><strong>Soft Skill Lessons From the Academy</strong></h4><p>Along with the technical skills, the academy emphasized the importance of effective communication and collaboration. I learned the art of working harmoniously in cross-functional teams, which is crucial for achieving organizational goals. I believe in open and transparent communication, fostering a culture of knowledge sharing, and actively listening to colleagues’ ideas and concerns. This approach promotes synergy and ensures that the collective intelligence of the team is harnessed for optimal results.</p><p>Problem-solving is another key skill I cultivated at the academy. This problem-solving mindset will enable me to contribute to strategic decision-making, troubleshoot challenges as they arise, and proactively identify opportunities for improvement within your organization.</p><p>Furthermore, the academy instilled a strong sense of ethics and professionalism in its students. I learned how to prioritize integrity, reliability, and ethical conduct in all my work. I understand the importance of adhering to industry best practices and complying with relevant regulations and standards. These values align seamlessly with the high standards and ethical principles upheld by your organization.</p><h4><strong>Post Academy: The growth</strong></h4><p>Since completing my time at Enyata Academy, I’ve been on a continuous learning journey, and it’s been truly exciting. I’m currently part of a fantastic team where we’re working on real-world projects for clients. Every day is a new opportunity to learn and grow. One of my favorite ways to stay informed is by diving into insightful blog posts. Enyata has a fantastic blog that’s a treasure trove of knowledge. It’s like having a library of industry wisdom at my fingertips.</p><p>But it doesn’t stop there. Enyata also offers incredible webinars. These virtual sessions are like mini-conferences. They bring experts right to my screen, sharing their wisdom and answering burning questions. You can get a recap of all the events on the<a href="https://www.youtube.com/@EnyataHQ"> Enyata YouTube channel.</a></p><p>Also, the fantastic community that Enyata fosters. Being part of the community feels like being part of a passionate club. We exchange ideas, ask questions, and learn from each other. It’s an invaluable resource that keeps me inspired.</p><p>In addition to my work with the team, I’ve also been working on personal projects. It’s incredible how the skills I gained during my internship with Enyata have empowered me to create and innovate independently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i9UnlBlxGgMWVNBwvRPoAA.jpeg" /></figure><h4>Conclusion</h4><p>Enyata Academy was the rock-solid stepping stone I needed for my career. It wasn’t just about skills; it was about the whole package. Looking back, I see a place where dreams took flight, friendships were forged, and futures got a whole lot brighter. I plan to contribute to the tech space by actively applying my technical expertise, fostering collaboration, solving complex problems, and upholding a strong code of ethics. I’m committed to delivering tangible results and being a valuable asset to the team.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ebdab97e05c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-notions/life-after-the-enyata-academy-2ebdab97e05c">Life After the Enyata Academy</a> was originally published in <a href="https://medium.com/tech-notions">Tech Notions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The ChatGPT Framework Explained]]></title>
            <link>https://medium.com/tech-notions/the-chatgpt-framework-explained-f2935f716f2d?source=rss----ccb8b8de5850---4</link>
            <guid isPermaLink="false">https://medium.com/p/f2935f716f2d</guid>
            <dc:creator><![CDATA[Enyata]]></dc:creator>
            <pubDate>Wed, 03 May 2023 13:25:10 GMT</pubDate>
            <atom:updated>2023-06-05T12:07:11.913Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c0n8FnRTD1HYrICbiCXqag.jpeg" /><figcaption>Enyata Inc. - How ChatGPT mirrors human behavior</figcaption></figure><p>OpenAI’s ChatGPT is a framework for natural language processing that can produce text that resembles that of a human. This article describes the many elements of the ChatGPT architecture and how they interact to provide a potent language model.</p><p><a href="https://www.thoughtspot.com/data-trends/ai/what-is-transformer-architecture-chatgpt">Multiple layers of Transformers</a>, a class of neural networks that can comprehend words or paragraphs in their entirety, make up the ChatGPT framework. A collection of words or subwords serves as the framework’s input. Each tier of the architecture through which these tokens are sent adds more context and complexity to the representation of the text.</p><p>The ChatGPT framework’s capacity to generate text is one of its important characteristics. The model creates one token at a time depending on the preceding tokens in the sequence in a process known as autoregression to do this. The model is capable of producing text in a wide range of forms and formats, including questions, paragraphs, and even whole dialogues.</p><p>There are several uses for the ChatGPT framework, including text completion, language translation, and chatbots. For instance, it can be used to create chatbots that can engage and speak naturally with customers. Additionally, it can be used to complete phrases or paragraphs based on context or to translate text from one language to another.</p><p><a href="https://ai.googleblog.com/2017/08/transformer-novel-neural-network.html">The Transformer architecture, which was announced by Google in 2017</a>, is the foundation of the ChatGPT concept. The model is taught via unsupervised learning, which means it picks up on linguistic structure and patterns without being given a target or objective in mind.</p><p>The ChatGPT model consists of several transformer layers, each of which has a unique set of parameters. The model is exposed to a lot of text data while being trained, including pages from books, websites, and Wikipedia articles. By giving the model a thorough understanding of language and its structure during pre-training, it is possible to fine-tune the model for certain tasks using just modest amounts of task-specific data.</p><p>Healthcare, banking, and customer service are just a few areas that can leverage the ChatGPT platform. It can be used to create chatbots that can help patients in medical settings, give clients financial advice, or respond to customer inquiries in a genuine and interesting way.</p><p>Several businesses, including healthcare, finance, and customer service, employ the ChatGPT platform. For instance, it can be used in the healthcare industry to create chatbots that can help patients manage their health, provide details about medical procedures, or respond to frequently asked questions about pharmaceuticals.</p><p>Numerous challenging issues have been resolved using the ChatGPT framework. It has been used, for instance, to create chatbots that can aid in mental health counselling, give clients financial advice, or help patients manage chronic conditions.</p><p>The ChatGPT architecture has a number of benefits, including the capacity to learn from massive volumes of data, adaptability for various jobs, and the capacity to produce language that is human-like.</p><p>Think of the example of creating a chatbot for customer support to demonstrate each point.</p><p>We would need to give the ChatGPT framework a sizable dataset of consumer inquiries and accompanying responses from numerous sources in order to create such a chatbot. Unsupervised learning would then be used by the framework to find patterns and structure in the data, enabling it to produce responses that are relatable and interesting.</p><p>The ChatGPT framework’s capacity to learn from a lot of data is one of its advantages. This implies that the model will get better at producing responses that are pertinent to the customer’s inquiry the more data we give it.</p><p>However, the ChatGPT system has other drawbacks as well, including bias potential and reliance on high-quality training data.</p><p>The framework’s propensity for bias, however, is one of its drawbacks. If we provide the model with a dataset that is not sufficiently diverse, it can become biased and not reflect the underlying data. For instance, the chatbot may perform worse when responding to questions from female consumers if the dataset is skewed toward male customers.</p><p>By allowing robots to produce writing that resembles that of humans, the ChatGPT framework has the potential to transform the fields of AI and machine learning. Healthcare, banking, and customer service are just a few of the industries that may be significantly impacted by this.</p><p>The ChatGPT framework has a number of potential areas for improvement in the future. Researchers can, for instance, look for ways to lessen the model’s bias or enhance its capacity to comprehend and react to complex language.</p><p>Although the ChatGPT framework is still in its infancy, it has already demonstrated great promise for changing the fields of AI and machine learning. We may anticipate seeing more sophisticated language models in the future that are even better at producing natural and interesting text.</p><p>In conclusion, the ChatGPT framework is an effective natural language processing tool with numerous applications in various fields. It is a useful tool for creating chatbots, language translation, and text completion systems due to its capacity to learn from vast volumes of data and produce human-like text. It’s crucial to be mindful of the framework’s limitations, too, namely its reliance on high-quality training data and the possibility of bias. We may anticipate seeing increasingly sophisticated language models that push the envelope of what is feasible as research and development in the fields of AI and machine learning continue.</p><p>It is crucial to thoroughly understand the underlying technology, including its architecture, learning mechanisms, and training procedures, before employing the ChatGPT framework. By comprehending the framework better, we may make use of its advantages to produce better natural language processing solutions and stay clear of common problems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2935f716f2d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-notions/the-chatgpt-framework-explained-f2935f716f2d">The ChatGPT Framework Explained</a> was originally published in <a href="https://medium.com/tech-notions">Tech Notions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Strategies for Building a Tech Community]]></title>
            <link>https://medium.com/tech-notions/strategies-for-building-a-tech-community-9a4ea9c51b77?source=rss----ccb8b8de5850---4</link>
            <guid isPermaLink="false">https://medium.com/p/9a4ea9c51b77</guid>
            <dc:creator><![CDATA[Enyata]]></dc:creator>
            <pubDate>Wed, 26 Apr 2023 12:55:04 GMT</pubDate>
            <atom:updated>2023-06-05T13:07:57.944Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rp98R0L8mVi3S9EPSx-AIw.jpeg" /><figcaption>Enyata Inc: Strategies for Building a Tech Community</figcaption></figure><p>The creation of a robust and dynamic technology industry depends on the development of tech communities. We can create a supportive network that encourages creativity, innovation, and growth by bringing together like-minded individuals with a shared enthusiasm for technology, innovation, and cooperation. Using the Enyata community as a case study, this article will examine strategies for building a tech community.</p><p>The Enyata community is a community of technologists, developers, data scientists, and individuals who are passionate about cutting-edge innovation and technology. A platform for information sharing, peer learning, and project collaboration is provided through the online<a href="https://join.slack.com/t/enyatacommunity/shared_invite/zt-1r46maiwk-md9aHp8RFB3q3WqWEEiv7g"> Slack forum.</a> Regardless of the level of competence, the community is available to anybody with a passion for technology.</p><p>The Enyata community serves as an example of how crucial it is to precisely define your tech community. You can attract the right individuals and make sure that your community is in line with your aims by describing the kind of community you want to create.</p><p>To build a community that appeals to your target audience, it is crucial to define your audience and comprehend their specific needs and interests. By establishing specific objectives, you may concentrate your efforts and track your advancement over time. This strategy enables you to stay on course and make changes as needed to reach your objectives.</p><p>Another strategy that has helped in building our community at Enyata is creating a plan outlining the tactics we’ll employ to accomplish our objectives. This strategy should specify particular actions, including holding events, introducing online classes, or starting a community campaign. It is a sure way to engage with people in the community, develop connections with them, and encourage collaboration by putting these techniques into practice.</p><p>We also learned to clearly describe our objectives and choose precise, quantifiable benchmarks that fit with our vision for the community. This helps us concentrate our efforts and track our advancement by setting specific goals. Staying on course and making changes as needed, using this strategy to help reach our objectives.</p><p>Community engagement has also been essential for creating a thriving and engaged tech community. This involvement has taken many different forms, such as reacting to community comments or holding webinars or workshops. This has helped our community members develop a sense of belonging, establish trust, and create relationships by being involved in the community.</p><p>Building a devoted and engaged community depends on offering it value. Establishing your authority and credibility inside your community can help you draw in new members and keep the ones you already have.</p><p>You must establish metrics that are in line with your objectives if you want to assess the performance of your community. These indicators may consist of participation in the community, the number of community members, website traffic, or event attendance. You can find areas for improvement and make adjustments to your tactics to reach your objectives by tracking your progress.</p><p>In conclusion, building a tech community requires a clear vision, specific goals, a well-defined plan, and a commitment to engagement and value. By following these strategies, you can create a thriving and dynamic community that fosters innovation, collaboration, and growth. Start building your tech community today and join the Enyata community to learn from like-minded individuals and build valuable relationships in the tech industry.</p><p>Find out about the innovative structures that make up tech communities in this episode of the <a href="https://open.spotify.com/episode/1doMF375W2reINyKjf09vr?si=bWh-oVJaQie-DTVq5Pvptg&amp;context=spotify%3Ashow%3A2YYClWzTtTQqRkCbbAIlcR">Modules.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a4ea9c51b77" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-notions/strategies-for-building-a-tech-community-9a4ea9c51b77">Strategies for Building a Tech Community</a> was originally published in <a href="https://medium.com/tech-notions">Tech Notions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Frontend Development Is Applicable In Everyday Life]]></title>
            <link>https://medium.com/tech-notions/how-frontend-development-is-applicable-in-everyday-life-32988500f93e?source=rss----ccb8b8de5850---4</link>
            <guid isPermaLink="false">https://medium.com/p/32988500f93e</guid>
            <dc:creator><![CDATA[Enyata]]></dc:creator>
            <pubDate>Mon, 27 Mar 2023 09:38:11 GMT</pubDate>
            <atom:updated>2023-06-05T13:09:58.607Z</atom:updated>
            <content:encoded><![CDATA[<p>Article by Ammiel Gyan Yawson — Frontend Engineer at Enyata Ghana</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zMY3mrvEmldL_rlXLDJQZQ.jpeg" /><figcaption>Enyata Inc: Applying Frontend Development to Life</figcaption></figure><p>What is front-end development?</p><p>The process of creating the components of an application that users interact with directly is called front-end development. One aspect of a front-end developer’s job is to turn user interface designs into functional applications. Making sure that these applications are accessible to various users and user-friendly is the foremost goal.</p><h3>How has being a front-end developer affected my everyday life?</h3><p>Being a front-end developer has given me a lens that allows me to evaluate any services that I provide or that are provided to me, using the criterion of user-friendliness.</p><p>It has also changed the way I approach solving problems. The same design element in front-end development can be executed in various ways. Most of them can be regarded as true and practical. Now, when I have a challenge, I ask, &quot;How can I solve this?&quot; rather than &quot;What is the best method to solve it?&quot; This enables me to come up with various solutions more quickly, and I do this without worrying about whether each step is correct. After exploring several options, I can weigh trade-offs and choose the one that best meets my needs.</p><p>Frontend development “intensified” my attention to detail. It made me pay attention to even the smallest aspects in order to execute the design flawlessly. The final implementation may look off if one little detail is missed. I noticed this in conversations too; I have a tendency to interpret everything I hear, even sounds that are not meant to be interpreted.</p><p>Do you work as a front-end developer? Are there any traits we have in common?</p><p><strong>If you would like to join a community of frontend developers, </strong><a href="https://join.slack.com/t/enyatacommunity/shared_invite/zt-1r46maiwk-md9aHp8RFB3q3WqWEEiv7g"><strong>click here</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32988500f93e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-notions/how-frontend-development-is-applicable-in-everyday-life-32988500f93e">How Frontend Development Is Applicable In Everyday Life</a> was originally published in <a href="https://medium.com/tech-notions">Tech Notions</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 Foster a Collaborative Engineering Work Environment]]></title>
            <link>https://medium.com/tech-notions/how-to-foster-a-collaborative-engineering-work-environment-6f7265f8612b?source=rss----ccb8b8de5850---4</link>
            <guid isPermaLink="false">https://medium.com/p/6f7265f8612b</guid>
            <dc:creator><![CDATA[Enyata]]></dc:creator>
            <pubDate>Thu, 09 Mar 2023 11:02:27 GMT</pubDate>
            <atom:updated>2023-06-05T13:22:23.318Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hHK7jXdg-1AyiyFsSs0i2Q.jpeg" /><figcaption>Enyata Inc: Team Bonding &amp; Collaboration</figcaption></figure><p>Teams are expected to create results, but when team members do not get along, performance suffers. The success of the team heavily depends on a collaborative environment.</p><p>In this article, we’ll dive into why creating a collaborative environment for your engineering team is essential and provide some of the key tips you can start with to make it happen.</p><h3>Why Collaborative Teams are Critical</h3><p>According to research, ​​<a href="https://www.zippia.com/advice/workplace-collaboration-statistics/">86% of employees in leadership positions</a> blame the lack of collaboration as the top reason for workplace failures.</p><p>Aside from the obvious benefit of encouraging cooperation within your company and engineering teams, there are several particular reasons why collaborative teams are better off. They include the following:</p><ol><li><strong>Opinions are Valued</strong>: Employees with varying levels of experience and expertise make up most parts of the engineering teams. Neglecting the opinions of junior engineers on a team may make them feel intimidated and thus less likely to participate in various decisions. One of the most valuable characteristics of junior engineers or those new to a team is the ability to question standard guidelines and be interested in technical decisions as they are often made. Limiting this curiosity, even if it’s indirectly, harms the team as a whole, while creating room for diverse opinions strengthens the team.</li></ol><p>2. <strong>Retention of Talent</strong>: Hiring engineers are typically difficult and costly. Retaining the engineers you’ve already hired is usually a better option for both the company and the engineering team, which in turn avoids the disruption that comes with a new hire. When you develop a collaborative team, you’re encouraging excellent engineers to stay and be a part of it. By retaining team members for a longer period of time, you give the team more time to grow, reduce the time spent on interviewing and hiring, and free up even more time to focus on making your company the best it can be.</p><h3>Tips to Foster Collaborative Engineering Team</h3><p>The benefits previously discussed aren’t very useful if they’re not implemented in your team. Take a look at some of the ways you can encourage collaboration in your engineering teams:</p><p><strong>Recognize and reward good performance on your team</strong></p><p>Recognizing good work on your team as it occurs is one of the simplest ways to make everyone feel included. You’re taking a big step toward fostering an environment where everyone feels comfortable praising others when they’ve done a good job, rather than trying to out-compete others on the team, by specifically calling out good work, even by members of the team who may be new or have traditionally less visible roles on the team.</p><p><strong>Encourage non-work communication</strong></p><p>When a team only discusses business-related topics, the more experienced team members or those who are more familiar with the codebase and the issues at hand tend to take the lead. But you can encourage team members who aren’t typically as active in work communication to participate by introducing and fostering non-work conversations. When you ensure that everyone feels they can contribute to the conversation, you create a more inclusive environment that incorporates the entire team, which can help even work-related communication become more inclusive. Your entire team will become more comfortable sharing and contributing to the conversation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8yfNtEiF65LCn6zt" /><figcaption>Teamwork at Enyata</figcaption></figure><p><strong>Reevaluate and get better with time</strong></p><p>You won’t get it perfect the first time, and it won’t happen overnight, just like with any process change. Ask your team members how they believe things are going in the team and if there is anything that can be done to contribute to the growth of the team.</p><p>By checking in frequently, you may avoid having your efforts stall and turn into something that sounds great on paper but is either never completed or is only partially carried through.</p><p><strong>Provide training and mentorships</strong></p><p>Include mentoring and professional development opportunities as part of your team’s day-to-day activities. All team members can benefit from training so they can advance their skills through hackathons, courses and master classes. Junior engineers can also benefit from mentoring from senior engineers, which will strengthen their bonds and experience while also fostering a collaborative workplace.</p><p><strong>Conclusion</strong></p><p>Collaborative teams are better equipped to hold onto their members, resolve difficult problems, and benefit from the varied perspectives that everyone brings to the table.</p><p>Starting by highlighting the importance of teamwork, including everyone on your team in conversations, and routinely evaluating your performance will help your engineering team greatly.</p><p>Developing a good work culture will further help teams be more productive. Click <a href="https://medium.com/tech-notions/work-culture-at-enyata-542adee74bd">here</a> to read about some people’s experiences with the work environment at Enyata.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f7265f8612b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-notions/how-to-foster-a-collaborative-engineering-work-environment-6f7265f8612b">How to Foster a Collaborative Engineering Work Environment</a> was originally published in <a href="https://medium.com/tech-notions">Tech Notions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modules by Enyata Projects the Future of the Tech Ecosystem]]></title>
            <link>https://medium.com/tech-notions/modules-by-enyata-projects-the-future-of-the-tech-ecosystem-fc1f8498415e?source=rss----ccb8b8de5850---4</link>
            <guid isPermaLink="false">https://medium.com/p/fc1f8498415e</guid>
            <dc:creator><![CDATA[Enyata]]></dc:creator>
            <pubDate>Fri, 03 Feb 2023 14:12:04 GMT</pubDate>
            <atom:updated>2023-02-03T14:11:22.776Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UpmS6-voNkOQiiig" /><figcaption>An Enyata staff listening to the modules by Enyata Podcast</figcaption></figure><p>Promoting our podcast with <a href="https://anchor.fm/">Anchor. FM</a> was just as simple as picking up the concept of having a podcast. With the August 2022 debut of Modules by Enyata, Anchor not only provided us with the tools we needed to create and publish episodes quickly, but it also enabled us to distribute our podcast to the most popular listening platforms, including <a href="https://open.spotify.com/show/2YYClWzTtTQqRkCbbAIlcR">Spotify</a>, <a href="https://podcasts.apple.com/ng/podcast/modules-by-enyata/id1650965196?i=1000584779011">Apple Podcast,</a> <a href="https://music.amazon.co.uk/podcasts/0dbd58e3-59ea-41ea-8391-2b8429f8fd56/modules-by-enyata">Amazon Music,</a> <a href="https://podcasts.google.com/feed/aHR0cHM6Ly9hbmNob3IuZm0vcy83ZWJkODIwMC9wb2RjYXN0L3Jzcw?hl=en-NG">Google Podcast,</a><a href="https://anchor.fm/s/7ebd8200/podcast/rss"> Copy Rss</a>, and<a href="https://www.deezer.com/search/modules%20by%20enyata"> Deezer.</a></p><p>Each episode of <a href="https://anchor.fm/enyata">Modules by Enyata</a> focuses on issues that have an impact on the community and presents the tech ecosystem from a unique perspective. Our guests, including a product designer, a quality assurance specialist, a growth marketer, and a software developer, have offered their thoughts to help mould the growth of a sustainable tech community. We have fun telling stories and debating on our podcast while covering themes on startup culture, tech PR, career and brand development, business etiquette, and even community involvement.</p><p>In Ghana, we were among the top 10 in the technology sector. The credit for making this happen goes to our excellent host <a href="https://www.linkedin.com/in/ifedolapooseni">Ifedolapo Oseni </a>and creative director <a href="https://www.linkedin.com/in/korede-ajibola">Korede Ajibola</a>.</p><p>If you want to join us in exploring every inch of tech space, kindly <a href="https://anchor.fm/enyata/episodes/Module-8-The-Management-Model-of-Developer-Relations-e1u1t3k">click here </a>to listen to our latest episode on the Modules by Enyata.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc1f8498415e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-notions/modules-by-enyata-projects-the-future-of-the-tech-ecosystem-fc1f8498415e">Modules by Enyata Projects the Future of the Tech Ecosystem</a> was originally published in <a href="https://medium.com/tech-notions">Tech Notions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Ayotunde Oseni’s engineering background made him an adept salesman.]]></title>
            <link>https://medium.com/tech-notions/how-ayotunde-osenis-engineering-background-made-him-an-adept-salesman-af0d85569b93?source=rss----ccb8b8de5850---4</link>
            <guid isPermaLink="false">https://medium.com/p/af0d85569b93</guid>
            <dc:creator><![CDATA[Enyata]]></dc:creator>
            <pubDate>Wed, 01 Feb 2023 10:18:26 GMT</pubDate>
            <atom:updated>2023-02-01T09:58:38.867Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LOyY2hsNKfqnxv1L" /><figcaption>A picture of Ayotunde Oseni in a suit</figcaption></figure><p>In this interview with<strong> Ayotunde Oseni</strong>, an exceptional salesman, he shares his experience and journey into tech, pre-sales, and tech sales with us.</p><p><strong>Hello Ayo, Please tell us a little bit about yourself.</strong></p><p>My name is Ayotunde Oseni, a computer engineering graduate, and I oversee all business relationships and sales engagements at Enyata. I decided to specialize in computer engineering because I had always wanted to be an engineer like my father. I had no doubts about going to school for computer engineering because both my grandfather and father chose the same field, but as I developed personally and professionally, I recognized that, rather than operating in the background, I was better suited to helping people. I decided to advance my sales career and even take on more challenging and difficult tasks because I have always excelled at building business relationships, developing strategies, planning, having a thorough understanding of technical concepts, and selling complex services.</p><p><strong>So, your dad was the inspiration you needed to become an engineer?</strong></p><p>Yes, growing up, I watched my father build some of the most complex IT solutions for major banks and organizations in the financial industry. I wanted to be just like him and possibly achieve even more, but as they say, we are all unique and have our own paths in life, so life took me down a different path, which I am grateful for.</p><p><strong>After graduating as a computer engineer, what did you do next?</strong></p><p>I pursued a career as an IT engineer, where I configured and worked on some complex hardware and software systems. I also implemented and resolved various technical issues for customers in diverse sectors.</p><p><strong>Interesting. How did you find yourself in the sales industry, then?</strong></p><p>I felt exhausted and unfulfilled while working as an IT engineer, managing projects, and interacting with clients and partners until I realized my genuine talent and abilities, which are, essentially speaking, forming connections, selling, growing, and expanding enterprises. I eventually realized that there was more to me than just solving technical issues and that I wanted to work in the business world, so the next step was to strategically plan my career growth plan by taking on a pre-sales job. Taking on a job in pre-sales allowed me to familiarize myself with the sales cycle. I excelled at this for a few years and was given the nickname <strong>“Starboy” </strong>by my line manager. Whenever a sales executive needed to work with a technical specialist, they turned to me. I soon made the full switch to sales, using the company connections I had built. I also took various classes and read books about sales, human psychology, corporate communication, and interaction during this time. To add to my learning curve, I went to a lot of events that were very helpful to me. Since then, I haven’t turned back, and I truly believe that I am living my dream.</p><p><strong>I’m wondering what it’s like to work in sales.</strong></p><p>People assume a salesman in a three-piece suit who is smiling and appears joyful is actually having a good time, but this is always not the case. Although it pays well, tech sales is actually the most difficult and demanding profession in the universe.</p><p>Sales essentially entail persuading prospective consumers to make the right purchases using their knowledge of the company’s goods or services. Finding leads, developing sales pitches or methods, exceeding sales goals, and possibly traveling to meet potential partners or clients are additional requirements. You get the luxury of earning bonuses depending on how consistently you hit your target, so in order to succeed, you must constantly perform better than you did the day before.</p><p><strong>How would you describe sales at Enyata?</strong></p><p>The most challenging sales ever, Ah, my God! Imagine waking up in the morning and entering a state of curiosity where you start to wonder, “Who, Where, How, and Why?” On the other hand, there is constantly more to learn. The most intriguing aspect of what we do is becoming an important part of our partners’ stories because we primarily work with startups that are trying to develop their products. For these startups, getting the resources and knowledge they need to do that means the world because their success depends on the effectiveness, design, and user experience of their product.</p><p><strong>How do you feel about Enyata’s move to Canada?</strong></p><p>First and foremost, I must acknowledge that the team has achieved a huge feat, and I applaud them all for their efforts. Everyone had to put their time, effort, and resources into this, from the CEO to the team that planned the relocation, expansion, and hiring. It was difficult, but we are glad to have established ourselves in North America at last and are confident that our goal of having partners scattered across African countries will be accomplished in due course.</p><p><strong>What else do you do besides sales?</strong></p><p>I am an experienced MC for professional and social events. I’m also a multifaceted businessperson with a focus on purchasing and selling technology as well as other items.</p><p><strong>The sales manager is also a professional compere/MC, Interesting. How do you manage both?</strong></p><p>Since sales provide me flexibility about how I spend my time, I have more time to devote to other activities I find enjoyable. To be more exact, you can find me everywhere that demands I look well, engage with others, and make money.</p><p><strong>Do you at some point plan on pivoting to any other aspects of tech?</strong></p><p>At the moment, I love what I do and am passionate about everything sales-related, but you can never fully rule out a possibility because you never know what the future may bring.</p><p><strong>Can you please drop a closing remark for aspiring tech salespeople?</strong></p><p>Dear aspiring sales professionals, I have two pieces of advice from Mark Hunter and Thom Singer for you:</p><ul><li>Sales Prospecting is a lifestyle so live it.</li><li>Make curiosity your greatest secret weapon as curiosity enables salespeople to uncover new ideas, strategies, and information critical to alignment with potential partners.</li></ul><p><a href="https://www.linkedin.com/in/ayotunde-oseni-iaeng-1ab956105">Ayotunde Oseni</a> is the Head of Sales and Partnerships at Enyata. He is also a professional compere and speaker</p><p>Fun fact about him: he can mimic just about anybody’s accent perfectly, and he is fond of people.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af0d85569b93" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-notions/how-ayotunde-osenis-engineering-background-made-him-an-adept-salesman-af0d85569b93">How Ayotunde Oseni’s engineering background made him an adept salesman.</a> was originally published in <a href="https://medium.com/tech-notions">Tech Notions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>