<?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 Chukwuebuka Nwoba on Medium]]></title>
        <description><![CDATA[Stories by Chukwuebuka Nwoba on Medium]]></description>
        <link>https://medium.com/@ChukwuebukaN?source=rss-450b543971c0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*I4EgmArz9umS_VE2-a-ocw.jpeg</url>
            <title>Stories by Chukwuebuka Nwoba on Medium</title>
            <link>https://medium.com/@ChukwuebukaN?source=rss-450b543971c0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 03:36:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ChukwuebukaN/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[Database Schema Design for a Basic Social Media Software using Prisma]]></title>
            <link>https://medium.com/@ChukwuebukaN/database-schema-design-for-a-basic-social-media-software-using-prisma-04abc8ccc20b?source=rss-450b543971c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/04abc8ccc20b</guid>
            <category><![CDATA[prisma]]></category>
            <category><![CDATA[postgres]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[chukwuebuka]]></category>
            <dc:creator><![CDATA[Chukwuebuka Nwoba]]></dc:creator>
            <pubDate>Mon, 25 Dec 2023 11:37:20 GMT</pubDate>
            <atom:updated>2023-12-25T11:37:20.560Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently I’ve been spending a great amount of time in the DB world. My most recent challenge has been dealing with time-based or temporal data. In several real-world scenarios, timing matters, particularly when dealing with transaction-based systems, such as fin-tech, payroll, or HR.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*d1VrJBFJXHj5nopR.png" /></figure><p>Creating a DB schema design for a social media product also presents these challenges, below is a suggested Prisma schema design concept for a basic social media software with given rules to the system.</p><p>Prisma is an open-source ORM for Node.js and TypeScript. It’s a query builder that’s tailored to your schema and is designed to be intuitive for both SQL veterans and developers new to databases.</p><p>Prisma provides an abstraction layer that makes developers more productive compared to writing SQL.</p><p>It integrates easily with modern technology stacks, databases, and frameworks.</p><p>Prisma can be used as an alternative to writing plain SQL or using another database access tool such as SQL query builders or ORMs.</p><p>Prisma may also refer to a cloud security suite that provides four different services that use rule-based security policies and machine learning to protect cloud services. It can be used on Amazon Web Services (AWS), Azure, and Google Cloud Platforms.</p><p>Database Relationships and Rules</p><ul><li>Each User can have two Accounts (one-to-many relationship).</li><li>Each User can create Posts. (one-to-many relationship).</li><li>Each User can Like Posts two times (one-to-many relationship).</li><li>Each Post can only be seen for two hours. (⌛️)</li><li>A User can Comment on a Post (one-to-many relationship).</li><li>If a User is Verified they can make a Comment.</li></ul><pre>model User {<br>  id       Int      @id @default(autoincrement())<br>  userName String<br>  verified Boolean  @default(false)<br>  accounts Account[]<br>  posts    Post[]<br>  likes    Like[]<br>  comments Comment[]<br>}<br><br>model Account {<br>  id           Int    @id @default(autoincrement())<br>  userId       Int<br>  accountName  String<br>  user         User   @relation(fields: [userId], references: [id])<br>}<br><br>model Post {<br>  id              Int       @id @default(autoincrement())<br>  userId          Int<br>  content         String<br>  timestamp       DateTime  @default(now())<br>  expiryTimestamp DateTime  @default(now() + interval(&quot;2&quot;) hour())<br>  user            User      @relation(fields: [userId], references: [id])<br>  likes           Like[]<br>  comments        Comment[]<br>}<br><br>model Like {<br>  id       Int      @id @default(autoincrement())<br>  userId   Int<br>  postId   Int<br>  timestamp DateTime @default(now())<br>  user     User     @relation(fields: [userId], references: [id])<br>  post     Post     @relation(fields: [postId], references: [id])<br>}<br><br>model Comment {<br>  id       Int      @id @default(autoincrement())<br>  userId   Int<br>  postId   Int<br>  content  String<br>  timestamp DateTime @default(now())<br>  user     User     @relation(fields: [userId], references: [id])<br>  post     Post     @relation(fields: [postId], references: [id])<br>}<br><br>// Optional: Table for Verified Users<br>model VerifiedUser {<br>  userId Int @id<br>  user   User @relation(fields: [userId], references: [id])<br>}</pre><p>This is a basic schema design that can be expanded and optimized based on the specific needs and complexity of the social media platform. Additionally, we need to consider the scalability and performance of the application as it grows.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=04abc8ccc20b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to deploy or host a React.js project to Firebase Console using cli]]></title>
            <link>https://medium.com/@ChukwuebukaN/how-to-deploy-or-host-a-react-js-project-to-firebase-console-using-cli-b28687f3375?source=rss-450b543971c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b28687f3375</guid>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[firebase-console]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Chukwuebuka Nwoba]]></dc:creator>
            <pubDate>Tue, 10 Jan 2023 11:12:13 GMT</pubDate>
            <atom:updated>2023-05-04T23:07:01.499Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Deploy or Host a React.js Project To Firebase Console Using CLI</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*NGWEG9dic2MH2Ryxxb_75w.png" /><figcaption>Cover Image</figcaption></figure><p>First you need to use your google account to create a Firebase Console account at <a href="https://console.firebase.google.com/u/0/"><strong>https://console.firebase.google.com</strong></a></p><p>Then create a project, using your react project name, (example <strong>AppName</strong>), do not do anything else after it is done creating, go back to your terminal.</p><p>Then back at your VS Code you use the terminal to set up a fresh project to firebase using the following steps below…</p><p><strong>Step 1</strong> — <strong><em>npm install -g firebase-tools</em></strong></p><p><strong>Step 2</strong> —<em> </em><strong><em>npm install firebase</em></strong></p><p><strong>Step 3</strong> — <strong><em>firebase login </em></strong><em>or</em><strong><em> npx firebase login </em></strong>(or <strong><em>firebase logout</em></strong> when you want to change to another email account instead, logout using that.)</p><p><strong>Step 4</strong>— <strong><em>firebase init</em></strong> (this initalizes firebase set up.)</p><p><strong>Sub-step 5A </strong>— <em>Select &gt;</em> <strong>Hosting: Configure files for Firebase Hosting and (optionally) set up GitHub Action deploys.</strong></p><ul><li>Here you need to use your <strong><em>direction keys </em></strong>to scroll down and your <strong><em>space bar </em></strong>to select. Then you use <strong><em>enter key</em></strong><em> </em>to choose.</li></ul><p><strong>Sub-step 5B</strong> — <em>Select &gt;</em> <strong>Use an existing project</strong>,</p><ul><li>Then select the firebase project name that you have created above earlier (example <strong>AppName</strong>).</li></ul><p><strong>Sub-step 5C</strong> — Specify the folder where Firebase will look for assets to deploy the?</p><p><em>Type In &gt;</em> <strong><em>build</em></strong></p><p><strong>Sub-step 5D</strong> — Configure as a single-page app?</p><p><em>Type In &gt;</em> <strong><em>y </em></strong>or <strong><em>yes</em></strong></p><p><strong>Sub-step 5D</strong> — Setup automatic builds and deploys with GitHub?</p><p><em>Type In &gt;</em> <strong><em>n </em></strong>or <strong><em>no</em></strong></p><p><strong>Sub-step 5E</strong> — Overwrite your existing build/index.html file?</p><p><em>Type In &gt;</em> <strong><em>n </em></strong>or <strong><em>no</em></strong></p><p><strong>Sub-step 5F</strong> — Once the initialization part is done you can check the directory, you should see two new files <strong><em>.firebaserc </em></strong>and<strong><em> firebase.json</em></strong></p><p>These files are automatically generated.</p><p><strong>Step 6 </strong>— <strong><em>npm run build</em></strong></p><p><strong>Step 7 </strong>— <strong><em>firebase deploy</em></strong></p><p>This will deploy your latest “<strong>built</strong>” code to firebase console server and also show you the URL at the bottom of terminal message so you can visit it.</p><p>Lastly, if you have already done the initial setup to your project and you need to make a new deployment again after an update to your code base, you follow the <strong>2 steps </strong>below.</p><p><strong>Step 1</strong>— <strong><em>npm run build</em></strong></p><p><strong>Step 2</strong>— <strong><em>firebase deploy</em></strong></p><p><em>That’s all folks!… </em>😉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b28687f3375" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stutern Housemanship — Handout React  Front-End Documentation]]></title>
            <link>https://medium.com/@ChukwuebukaN/stutern-housemanship-handout-react-front-end-documentation-7e539a28c914?source=rss-450b543971c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e539a28c914</guid>
            <category><![CDATA[stutern-housemanship]]></category>
            <category><![CDATA[stutern]]></category>
            <category><![CDATA[handout-project]]></category>
            <category><![CDATA[documentation]]></category>
            <dc:creator><![CDATA[Chukwuebuka Nwoba]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 11:41:51 GMT</pubDate>
            <atom:updated>2022-11-18T13:07:13.832Z</atom:updated>
            <content:encoded><![CDATA[<h3>Stutern Housemanship — Handout React Front-End Documentation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h15_m4aXuk30EvnNLnLXRQ.jpeg" /></figure><p>The handout team consists of <strong>6</strong> front-end engineering graduates from Stutern Front-End Engineering Program cohort 1.2, namely <strong>Elijah Kubuiyi</strong>, <strong>Ebi-erefa Apollos</strong>, <strong>Adaobi Ezelioha</strong>, <strong>Abidemi Aderinto</strong>, <strong>Victor Olorunsola, </strong>and <strong>Victoria Oluwaferanm</strong>i.</p><p>Handout is an online platform that allows its users to <strong><em>“Browse through a variety of items to see what you need and get it for free”</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tJE2jBgCTx-R6iRSgFLBng.jpeg" /><figcaption>Handout Sign-Up Page</figcaption></figure><p>The entire updated project is hosted on GitHub, linked below: <a href="https://github.com/StuternHousemanship/HANDOUT-Frontend-Project-Team1.1">https://github.com/StuternHousemanship/HANDOUT-Frontend-Project-Team1.1</a></p><h4>Getting started</h4><ul><li>Created with: npx create-react-app handout-project --template cra-template-pwa</li><li>Recommended: Node.js 14+ and npm 6+</li><li>Install dependencies: npm install or yarn</li><li>Start the server: npm run start or yarn start</li><li>To deploy, you need to make a build: npm run build</li></ul><h4>Dependencies</h4><ul><li>Axios</li><li>Redux</li><li>Tailwind CSS</li><li>React Router Dom</li><li>etc.</li></ul><p>The entire team of 6 front-end engineers from Stutern worked as one, utilizing <em>Agile Methodologies</em> to continuously integrate and deploy this project to fruition.</p><p>Implementations were shared into tasks for each engineer in the team during the start of the weekly sprint, to be presented at the end of the sprint on Friday aka Demo Day.</p><p>The entire project was built in the following order on a TASK per Developer Basis</p><h3>1 — Implementing ES Lint to a React.Js Project</h3><p>(by <strong>Abidemi Taiwo</strong> owner of TASK 1 in Week 1)</p><p>ES Lint is an open-source library that’s commonly used by React developers to enforce rules about maintaining the code standard across the project. It’s fully customizable so you can configure the desired rules yourself, also linting your code can help you spot bugs.</p><p><strong>STEP 1 — Installing ES Lint:</strong> in the root directory of our project. we install ES Lint as a dev dependency.</p><pre>npm install eslint--save-dev</pre><p><strong>STEP 2 — Creating the config file</strong>: To create the config file. Run the below npm command to generate your .eslintrc.js file.</p><pre>npm init @eslint/config</pre><p>This command will ask you a couple of questions about your project… (see example below)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*l1xrIoaOlEfvU0Nz5bMhkw.png" /></figure><p>The generated config json file should have this setting (<strong>see link below</strong>) —<a href="https://github.com/StuternHousemanship/HANDOUT-Frontend-Project-Team1.1/blob/HDT-1_Onboarding_Features/.eslintrc.json">https://github.com/StuternHousemanship/HANDOUT-Frontend-Project-Team1.1/blob/HDT-1_Onboarding_Features/.eslintrc.json</a></p><p><strong>STEP 3 — Configuring .eslintignore file:</strong> It will prevent ES Lint from forcing styles in the node_modules files, JavaScript files at the project root, and in the JavaScript react env file (<strong>see link below</strong>). <a href="https://github.com/StuternHousemanship/HANDOUT-Frontend-Project-Team1.1/blob/HDT-1_Onboarding_Features/.eslintignore">https://github.com/StuternHousemanship/HANDOUT-Frontend-Project-Team1.1/blob/HDT-1_Onboarding_Features/.eslintignore</a></p><h3>2 — Implementing <strong>JsConfig </strong>to a React.Js Project</h3><p>(by <strong>Adaobi Ezelioha</strong> owner of TASK 2 in Week 1)</p><p><strong>STEP 1</strong> — <strong>Creating jsconfig.json file</strong><br>In the root directory of the project (outside the src folder), you create a new file named jsconfig.json as shown (<strong>see link below</strong>). <a href="https://github.com/StuternHousemanship/HANDOUT-Frontend-Project-Team1.1/blob/HDT-1_Onboarding_Features/jsconfig.json">https://github.com/StuternHousemanship/HANDOUT-Frontend-Project-Team1.1/blob/HDT-1_Onboarding_Features/jsconfig.json</a></p><h3>3— Implementing StyleLint to a React.Js Project</h3><p>(by <strong>Ebi-Erefa Apollos</strong> owner of TASK 3 in Week 1)</p><p>Stylelint is a modern linter that helps you avoid errors and enforce conventions in your styles in react app,<strong> </strong>It’ll help you avoid errors, There are also rules for enforcing stylistic conventions, but it is recommended Stylelint is used alongside a pretty printer like Prettier, It would be necessary to have Prettier installed and configured</p><p><strong>STEP 1</strong> — <strong>Installing StyleLint: </strong>Use npm to install Stylelint and its standard configuration</p><pre>npm install — save-dev stylelint stylelint-config-standard</pre><p><strong>STEP 2 </strong>—<strong> Create a </strong><strong>.stylelintrc configuration file:</strong> in the root of your project with the following content (<strong>see link below</strong>)</p><pre>{<br> “extends”: “stylelint-config-standard”,<br> “rules”: {<br> “indentation”: “tab”,<br> “number-leading-zero”: null,<br> “color-hex-case”: [“lower”, { “severity”: “warning” }]<br> }<br>}</pre><p><a href="https://github.com/StuternHousemanship/HANDOUT-Frontend-Project-Team1.1/blob/HDT-1_Onboarding_Features/.stylelintrc">https://github.com/StuternHousemanship/HANDOUT-Frontend-Project-Team1.1/blob/HDT-1_Onboarding_Features/.stylelintrc</a></p><p><strong>STEP 3 — Install the official StyleLint extension </strong>for Visual Studio Code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e539a28c914" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stutern Housemanship 1.1 Front-End Team, Led by Chukwuebuka]]></title>
            <link>https://medium.com/@ChukwuebukaN/stutern-housemanship-1-1-front-end-team-led-by-chukwuebuka-7a0952e40b63?source=rss-450b543971c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a0952e40b63</guid>
            <category><![CDATA[chukwuebuka]]></category>
            <category><![CDATA[stutern-housemanship]]></category>
            <category><![CDATA[stutern]]></category>
            <category><![CDATA[chukwuebuka-nwoba]]></category>
            <category><![CDATA[technical-team-lead]]></category>
            <dc:creator><![CDATA[Chukwuebuka Nwoba]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 11:22:43 GMT</pubDate>
            <atom:updated>2025-01-10T11:10:21.760Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Ij8moZB6i2BBxGO4m_lig.jpeg" /><figcaption>Stutern Housemanship 1.1 Program Cover Image</figcaption></figure><p>The Stutern Housemanship 1.1 Program is a comprehensive product iteration process, led by Chukwuebuka Nwoba (Frontend Technical Team Lead), consisting of front-end development graduates from the Stutern Graduate Accelerator.</p><p>Teaming up together to build different production-ready software and tech products that will help to enhance their portfolios and help land them job offers, the team currently consists of 18 developers split into 3 project groups, namely…</p><h3>&gt; Handout</h3><p><a href="https://handout-stutern.web.app/">Handout</a></p><p>A platform for unwanted personal items, this platform makes it possible for users to give out valuable but unwanted items to others who may need them.</p><h3>&gt; Squazzle</h3><p><a href="https://squazzle-stutern.web.app/">Squazzle * Find the perfect home.</a></p><p>A platform to help short-stay or squatting, this platform makes it possible for users to accommodate others for an agreed period.</p><h3>&gt; DeliveryCog</h3><p><a href="https://deliverycog-stutern.web.app/login">Deliverycog</a></p><p>An interstate to aid fast delivery, this platform makes it possible for users to send items to other geographical states through individuals traveling to those destinations.</p><p>These projects will see them use tools such as <strong>Tailwind CSS </strong>for styling, <strong>Axios </strong>for network requests, <strong>React Router Dom </strong>for handling routing to complex pages, <strong>Redux </strong>for handling and storing data, etc…</p><p>They will be Translating <strong>Figma to Code</strong> as well as aiming for pixel-perfect implementation of the designed product from the UI/UX Team of the Housemanship Program,</p><p>They will also integrate the Front-end to a Back-end <strong>REST</strong> <strong>APIs</strong>, connecting to endpoints provided by the Back-end Team of the Housemanship Program, in summary, they will be working with other various teams within the organization that will see them improve their Agile Development Skills.</p><p>Working in sprints, they will be delivering a stand-up 3 times a week (Monday, Wednesday, and Friday)</p><p>Mondays are for <strong>Sprint Planning</strong>,<strong> </strong>Wednesdays are for <strong>Sprint Catch-Up</strong>,<strong> </strong>and Fridays are for <strong>Sprint Demo. </strong>This will help to get them familiar with workplace practices that will be useful to them later on.</p><p><em>Other skills utilized includes </em><strong><em>GitHub</em></strong><em>, </em><strong><em>Click-Up</em></strong><em>, </em><strong><em>Google Firebase</em></strong><em>,</em><strong><em> DevOps</em></strong><em>, etc…</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a0952e40b63" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>