<?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 Raphaelogbonnaya on Medium]]></title>
        <description><![CDATA[Stories by Raphaelogbonnaya on Medium]]></description>
        <link>https://medium.com/@raphaelogbonnaya?source=rss-93bc873fb80b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*naoIu_VKRmK9mhU5.jpg</url>
            <title>Stories by Raphaelogbonnaya on Medium</title>
            <link>https://medium.com/@raphaelogbonnaya?source=rss-93bc873fb80b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:52:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@raphaelogbonnaya/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[Building an ECG Signal Processor: From ADC to Wavelet Analysis]]></title>
            <link>https://medium.com/@raphaelogbonnaya/building-an-ecg-signal-processor-from-adc-to-wavelet-analysis-2d96a48462dc?source=rss-93bc873fb80b------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d96a48462dc</guid>
            <category><![CDATA[wfdb]]></category>
            <category><![CDATA[physionet]]></category>
            <category><![CDATA[sensors]]></category>
            <category><![CDATA[pywavelets]]></category>
            <category><![CDATA[ecg]]></category>
            <dc:creator><![CDATA[Raphaelogbonnaya]]></dc:creator>
            <pubDate>Sun, 13 Jul 2025 21:37:53 GMT</pubDate>
            <atom:updated>2025-07-13T21:37:53.032Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gj_tfESP5zV6DZxfygQJug.png" /><figcaption>Bridging the gap.</figcaption></figure><h3>Introduction</h3><p>Electrocardiogram (ECG) signal processing plays a key role in diagnosing and monitoring heart health. At <a href="https://ecg.africalaboratory.com/">ecg.africalaboratory.com</a>, we’ve developed an online ECG platform that processes real signals from sensors, visualizes standard ECG recordings, and performs advanced analysis — all in one place. This tool is designed to serve researchers, students, and engineers working across both hardware and software domains.</p><h3>System Highlights</h3><h3>1. Three-Phase ECG Workflow</h3><ul><li><strong>Phase 1: Sensor Data to Signal Files</strong><br> Users can input raw ADC values from microcontroller-based ECG sensors. The system converts these to voltage signals and outputs WFDB-compatible files (.HEA/.DAT) that can be used for further clinical or research analysis.</li><li><strong>Phase 2: ECG File Visualization</strong><br> Users upload standard ECG files in .hea, .dat, or .mat formats to view waveforms in real time. This phase supports ECG data from established databases like PhysioNet or from custom recordings.</li><li><strong>Phase 3: Wavelet-Based Analysis</strong><br> ECG files can be analyzed using advanced wavelet methods:</li><li><strong>Continuous Wavelet Transform (CWT)</strong> for time-frequency insights</li><li><strong>Wavelet Packet Transform</strong> for multi-resolution signal decomposition<br> The system identifies fiducial points (e.g QRS complexes), helping users evaluate ECG features in detail.</li></ul><h3>2. Real-Time Feedback</h3><p>Throughout all phases, the platform provides real-time updates — ensuring a smooth, responsive experience as users convert, visualize, and analyze signals.</p><h3>3. Multi-Format Support</h3><p>Whether data comes from a microcontroller ADC, a medical device, or a database, the system flexibly handles .hea, .dat, and .mat formats. Uploaded files are cleaned automatically after processing, keeping the system lightweight.</p><h3>Bridging the Gap: Sensors, WFDB, and AI</h3><p>One of the platform’s core strengths is how it brings together three key domains in ECG research:</p><ul><li><strong>Sensor-Level Data</strong>: Converts raw microcontroller ADC output into proper biomedical signal format</li><li><strong>WFDB Databases</strong>: Visualizes and analyzes publicly available ECG datasets from resources like PhysioNet</li><li><strong>Model Testing &amp; Research</strong>: Generates clean, analysis-ready signals that can be used to test AI or signal processing algorithms</li></ul><p>This makes it easier to go from prototyping with hardware to running ML experiments all in one integrated environment.</p><h3>Current Limitations</h3><ul><li>ADC-generated signals may not yield reliable fiducial detection due to signal noise</li><li>Upload limit is currently set to 50MB</li><li>Multi-segment WFDB records are not supported yet</li></ul><h3>Future Improvements</h3><ul><li>Add preprocessing filters for noisy ADC signals</li><li>Introduce machine learning-based fiducial point detection</li><li>Support batch uploads and cloud file storage</li><li>Export results in more formats (PDF, CSV, etc.)</li></ul><h3>Conclusion</h3><p>This project demonstrates how ECG analysis doesn’t have to be confined to labs with expensive equipment or specialized software. By combining signal conversion, visualization, and wavelet-based analysis, our platform serves as a complete pipeline for ECG research and prototyping.</p><p>Whether you’re building with sensors, working with WFDB datasets, or testing machine learning models, <a href="https://ecg.africalaboratory.com/">ecg.africalaboratory.com</a> gives you a unified space to do it all — bridging the gap between hardware and high-level analysis.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d96a48462dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Built Real-Time Chat Notifications in a React Native App with Tawk.to and FastAPI]]></title>
            <link>https://medium.com/@raphaelogbonnaya/how-i-built-real-time-chat-notifications-in-a-react-native-app-with-tawk-to-and-fastapi-86a0cac42788?source=rss-93bc873fb80b------2</link>
            <guid isPermaLink="false">https://medium.com/p/86a0cac42788</guid>
            <category><![CDATA[notification-system]]></category>
            <category><![CDATA[support]]></category>
            <category><![CDATA[tawk-to]]></category>
            <dc:creator><![CDATA[Raphaelogbonnaya]]></dc:creator>
            <pubDate>Sun, 29 Jun 2025 21:36:54 GMT</pubDate>
            <atom:updated>2025-06-29T21:36:54.473Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W_czdzGbr_RDnI1UoWh2WA.png" /></figure><h3>The Problem</h3><p>I integrated the <a href="https://www.tawk.to/">Tawk.to</a> live chat widget into a <strong>React Native</strong> app to allow users to talk to support agents. But I was tasked to make users return to the app when support replies them:<br> <strong>Push notifications</strong> when an agent replies — even if the app is in the background or closed.</p><p>Tawk.to doesn’t support native push notifications out of the box for mobile apps, but it does provide <strong>webhooks</strong>. So I built a custom solution that listens to the <strong>chat transcript webhook</strong> and triggers notifications to the user’s device when an agent responds.</p><h3>The Tools I Used</h3><ul><li><strong>Tawk.to JavaScript Widget</strong> (embedded in React Native WebView)</li><li><strong>React Native + Redux</strong> for app state</li><li><strong>FastAPI</strong> to handle webhooks securely</li><li><strong>HMAC-SHA1</strong> signature verification</li><li><strong>Push notification service</strong> (e.g., Firebase or OneSignal — use what fits your stack)</li></ul><h3>Securing Tawk.to Webhooks</h3><p>Tawk.to allows you to set up a <strong>Webhook URL</strong> under <strong>Admin → Webhooks → Chat Transcript</strong>. Each time a chat ends, it sends a JSON payload that includes <strong>who sent the last message</strong> and the <strong>user’s email</strong> (if set properly).</p><p>Tawk also supports <strong>signature verification</strong> using HMAC-SHA1, which I implemented in FastAPI.</p><p>Here’s the backend code:</p><pre>from fastapi import FastAPI, Request<br>import hmac, hashlib, logging, sys<br>from config import settings</pre><pre>app = FastAPI()</pre><pre># Logger setup<br>logger = logging.getLogger(&quot;tawk&quot;)<br>handler = logging.StreamHandler(sys.stdout)<br>handler.setLevel(logging.INFO)<br>logger.setLevel(logging.INFO)<br>logger.addHandler(handler)<br>logger.propagate = False</pre><pre>def verify_signature(raw_body: bytes, signature: str) -&gt; bool:<br>    digest = hmac.new(settings.tawk_webhook_secret.encode(), raw_body, hashlib.sha1).hexdigest()<br>    return hmac.compare_digest(digest, signature)</pre><pre>@app.post(&quot;/tawk-webhook&quot;)<br>async def tawk_webhook(request: Request):<br>    raw = await request.body()<br>    signature = request.headers.get(&quot;X-Tawk-Signature&quot;, &quot;&quot;)</pre><pre>    if not verify_signature(raw, signature):<br>        logger.warning(&quot;Invalid webhook signature&quot;)<br>        return {&quot;status&quot;: &quot;unauthorized&quot;}</pre><pre>    data = await request.json()<br>    logger.info(&quot;Valid webhook, payload: %s&quot;, data)</pre><pre>    last_sender = data.get(&quot;chat&quot;, {}).get(&quot;messages&quot;, [])[-1].get(&quot;senderType&quot;)<br>    user_email = data.get(&quot;chat&quot;, {}).get(&quot;visitor&quot;, {}).get(&quot;email&quot;)</pre><pre>    if last_sender == &quot;agent&quot;:<br>        logger.info(&quot;Triggering push notification for %s&quot;, user_email)</pre><pre>    return {&quot;status&quot;: &quot;ok&quot;}</pre><h3>Connecting Users with Identity (Hashing + Login)</h3><p>To make sure we can <strong>identify users inside Tawk.to</strong>, I set up <strong>Tawk API login</strong> using a hash. This ensures we receive emails and other metadata in webhook payloads.<br>You can get the tawk2 key from their dashboard. It’s very easy. You just have to toggle it on and they provide you with a key.</p><p>In React Native:</p><pre>function getHexHash(email) {<br>  const hash = CryptoJS.HmacSHA256(email, TAWK2_KEY);<br>  return CryptoJS.enc.Hex.stringify(hash);<br>}</pre><p>Then inside the WebView injected javascript code:</p><pre>window.Tawk_API.setAttributes({<br>  email: &quot;&lt;USER_EMAIL&gt;&quot;,<br>  hash: &quot;&lt;HASH&gt;&quot;,<br>  firstName: &quot;&lt;FIRST_NAME&gt;&quot;,<br>  // any other metadata<br>}, function(error) {<br>  if (error) console.error(&quot;Tawk attributes error&quot;, error);<br>});</pre><pre>window.Tawk_API.login({<br>  userId: &quot;&lt;USER_ID&gt;&quot;,<br>  hash: &quot;&lt;HASH&gt;&quot;<br>}, function(error) {<br>  if (error) console.error(&quot;Tawk login error&quot;, error);<br>});</pre><p>This ensures the visitor is recognized and linked with their email, allowing our webhook to know exactly which user was involved in the conversation.</p><h3>The Logic Behind Notifications</h3><p>When a chat transcript is received:</p><ul><li>We extract the last message and determine if it was sent by an <strong>agent</strong>.</li><li>If it was, and the visitor’s email is available</li><li>We notify the backend to send a push notification to the user.</li><li>This way, the user is <strong>instantly alerted</strong> when they have not replied after sometime. Since the chat transcript is triggered after about 4 or 5 mins of inactivity.</li></ul><h3>Conclusion</h3><p>If you’re building a mobile app and want to integrate live chat <strong>with real-time notifications</strong>, Tawk.to + a webhook service + custom notifications is a powerful combo. Although not perfect. It works.</p><p><a href="https://developer.tawk.to/jsapi/">https://developer.tawk.to/jsapi/</a><br><a href="https://developer.tawk.to/webhooks/">https://developer.tawk.to/webhooks/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86a0cac42788" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing Queues on Laravel]]></title>
            <link>https://medium.com/@raphaelogbonnaya/implementing-queues-on-laravel-a988c5d55977?source=rss-93bc873fb80b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a988c5d55977</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[queue]]></category>
            <dc:creator><![CDATA[Raphaelogbonnaya]]></dc:creator>
            <pubDate>Thu, 09 May 2024 21:23:12 GMT</pubDate>
            <atom:updated>2024-05-09T21:23:12.258Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/737/1*97xlcLiJAynX6G_2QDhe5Q.png" /><figcaption>Laravel Job Queues</figcaption></figure><p>In this article, I will talk about the easy steps in setting up a job queue in Laravel.</p><p>In Laravel 10, you don&#39;t need to install an extra package. We will first start with the way to easily debug our setup.</p><p>Proceed to config/queue.php in your Laravel application, Locate the line below</p><pre>&#39;default&#39; =&gt; env(&#39;QUEUE_CONNECTION&#39;, &#39;sync&#39;)</pre><p>And change to</p><pre>  &#39;default&#39; =&gt; env(&#39;QUEUE_CONNECTION&#39;, &#39;database&#39;)</pre><p>Make sure you already have your database running and connected to your application. Then proceed to run the next command which will create the table to store jobs.</p><pre>php artisan queue:table</pre><p>You can check your database table, you will see two new tables (jobs and failed jobs).<br>We will then proceed to add the Job Class by running</p><pre>php artisan make:job OurJobName</pre><p>To pass data to our queue from where it will be called, we set it up like this by adding to the construct</p><pre> protected $data;<br><br>    /**<br>     * Create a new job instance.<br>     */<br>    public function __construct($received_data)<br>    {<br>        //<br>        $this-&gt;data = $received_data;<br>    }</pre><p>Our logic for our job goes in the handle() function.<br>To dispatch our job.</p><pre>use App\Jobs\OurJobName;<br><br>// later within a function in the class<br><br> OurJobName::dispatch($sending_data);</pre><p>We can also customize our dispatch, it is better explained on the Laravel docs here.</p><p><a href="https://laravel.com/docs/11.x/queues#dispatching-jobs">Laravel - The PHP Framework For Web Artisans</a></p><p>To run our jobs, there are also numerous flags you can add to this. For those who intend to use Redis you can install laravel/horizon here — <a href="https://github.com/laravel/horizon">https://github.com/laravel/horizon</a>.</p><pre>php artisan queue:work<br><br>// or monitor<br><br>php artisan queue:listen database </pre><p>This will run all the jobs dispatched and stored in the jobs table.</p><p>We shouldn’t run the above commands on our deployed server because they will timeout. It is also not advised to increase the time out or use the —daemon flag because if the job fails it does not restart.<br>Laravel provided a way to use this here.</p><p><a href="https://laravel.com/docs/5.2/queues#supervisor-configuration">Laravel - The PHP Framework For Web Artisans</a></p><p>It is advised to use an external service like Redis or AWS and not a database in a production environment for our job queue. One of the reasons is due to logging but some people argue that recent updates made to mySQL fixes that.</p><p>You can leave your comments if you have any questions</p><p>Resources:</p><p>1. Laravel docs <a href="https://laravel.com/docs/7.x/queues">https://laravel.com/docs/7.x/queues</a><br>2. Similar articles <a href="https://medium.com/@Finland/laravel-queue-with-database-92d3ad1b814c">https://medium.com/@Finland/laravel-queue-with-database-92d3ad1b814c</a>, <a href="https://medium.com/@microDesignn/how-to-use-laravel-queues-step-by-step-tutorial-516174e164bb">https://medium.com/@microDesignn/how-to-use-laravel-queues-step-by-step-tutorial-516174e164bb</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a988c5d55977" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The ZUBAR DAO]]></title>
            <link>https://medium.com/@raphaelogbonnaya/the-zubar-dao-955beb9c04dd?source=rss-93bc873fb80b------2</link>
            <guid isPermaLink="false">https://medium.com/p/955beb9c04dd</guid>
            <category><![CDATA[dao]]></category>
            <category><![CDATA[reach]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[hackathons]]></category>
            <dc:creator><![CDATA[Raphaelogbonnaya]]></dc:creator>
            <pubDate>Thu, 22 Sep 2022 13:09:45 GMT</pubDate>
            <atom:updated>2022-09-22T13:24:36.992Z</atom:updated>
            <content:encoded><![CDATA[<p>Umoja Bounty Hack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*glzCbJsLgFEBIKGyvwwRGA.png" /><figcaption>Reach Hackathon</figcaption></figure><p>I entered the<a href="https://github.com/raphaelobinna/reach-dao/tree/complete"><strong> Zubar DAO</strong></a> as a project for the Umoja 3 Reach Hackathon. Let me explain to you what Reach is all about and why I choose to take part yet again (yes, yet another time, LOL).</p><p><a href="https://github.com/raphaelobinna/reach-dao/tree/complete">GitHub - raphaelobinna/reach-dao at complete</a></p><p><a href="https://docs.reach.sh/index/"><strong><em>Reach</em></strong></a> is a programming language that makes it simple to create Dapps. Dapps, to put it simply, are decentralized applications created on a blockchain using smart contracts. Reach truly makes the process of development quite easy.</p><p>In <strong>Reach</strong>, a programmer only needs to specify the actions of participants — -what they do individually and what they do in unison. The Reach compiler automatically derives a contract for the consensus network via a connector that enforces these rules.</p><p>I was able to complete the Zubar DAO(Decentralized Autonomous Organisation) project on time before the deadline. As I said earlier this is my second time participating in the Reach Hack. My first time I worked with a team to build a <a href="https://github.com/prince-curie/berry">Lending Platform</a> like <strong>AAVE</strong> using Reach. This time I worked solo.</p><p><a href="https://github.com/prince-curie/berry">GitHub - prince-curie/berry</a></p><p>The <strong>Zubar DAO</strong> is a service that helps to manage the policies of a social platform. It exercises the power of blockchain in making community decisions on a social media level. Feel free to go through the <a href="https://github.com/raphaelobinna/reach-dao/tree/complete"><strong>project</strong></a> to learn more and the incentivization associated with it.</p><p>I had to initially write the project using Solidity and go through various tutorials because I didn’t know the correct questions to ask when I started the project on Reach. I was then prepared to discuss the many components of the Dapp that I required assistance with, in the active Reach community. At the end, I was shocked to discover that, in comparison to the solidity project, I had only written about 100 lines of code. I felt inspired.</p><p>I would love to work more on the <strong>Zubar DAO</strong> , not as a startup though. I have gone ahead and built a simple social media mobile app to show the use case of my dapp.</p><p><strong>DAOs</strong>, in my opinion, are the most intriguing aspect of blockchain technology. It will be fantastic to build more DAOs on it using a programming language that has greatly simplified writing contracts on blockchain technology, and their community is always ready to assist. I’m glad I came across Reach.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=955beb9c04dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MOVING MY POSTGRESQL DATABASE ON HEROKU TO AWS]]></title>
            <link>https://medium.com/@raphaelogbonnaya/moving-my-postgresql-database-on-heroku-to-aws-2dfcdd1e5eb5?source=rss-93bc873fb80b------2</link>
            <guid isPermaLink="false">https://medium.com/p/2dfcdd1e5eb5</guid>
            <category><![CDATA[prisma]]></category>
            <category><![CDATA[postgres]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Raphaelogbonnaya]]></dc:creator>
            <pubDate>Thu, 30 Jun 2022 08:38:33 GMT</pubDate>
            <atom:updated>2022-07-29T00:11:50.568Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*LwFXXGCMriA2MbIkykY1zA.png" /></figure><p>While working for a company , I was tasked to change our environments on heroku to AWS for better scaling. At first I wanted to go take a course on AWS cloud services so I would be sure I don’t make a mistake and loose a bunch of important company data.</p><p>In this article, I will take you through the simple steps, I used to achieve this without having to take a full AWS course. Firstly, what made this process easier for me was the knowledge of using “Prisma” <a href="https://www.prisma.io/docs/">https://www.prisma.io/docs/</a>. Go through their documentation as this would be helpful in downloading and introspecting my database on heroku without the help of a GUI.</p><ol><li>Set up a simple express server and install prisma/client as a dependency and prisma/cli as a dev dependency.</li><li>Set up your prisma environment following their documentation. Make sure you declare your DATABASE_URL in your env</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RM9B8qetpPLawOUOQkIImg.png" /><figcaption>For your shema.prisma file</figcaption></figure><p>3. Now we proceed to introspecting the database we are trying to import from, to know more about prisma introspection you can have a short read here — <a href="https://www.prisma.io/docs/getting-started/setup-prisma/add-to-existing-project/relational-databases/introspection-typescript-postgres">https://www.prisma.io/docs/getting-started/setup-prisma/add-to-existing-project/relational-databases/introspection-typescript-postgres</a></p><p>4. For the introspection we run this command</p><p><strong><em>npx prisma db pull</em></strong></p><p>It will automatically generate schemas that were existing in our database this will populate our schema.prisma file after running for sometime.</p><p>5. We proceed to setting up the AWS database instance, luckily for me I stumbled across a short article that helped me quickly set up my AWS database instance -<a href="https://aws.amazon.com/getting-started/hands-on/create-connect-postgresql-db/">https://aws.amazon.com/getting-started/hands-on/create-connect-postgresql-db/</a></p><p>6. Congrats! if you followed the article and was able to setup your AWS database instance. Do not forget to have arrange your postgres database url in this format using the details from your AWS connection.</p><pre>postgres://YourUserName:YourPassword@YourHostname:5432/YourDatabaseName</pre><p>7. If you want to start your database on a fresh state by just having the schemas from your previous database. I will talk about that now before I will proceeding to talk about how to download the data in your database as a .sql file and also import it into your new AWS database</p><p>8. In our terminal we proceed to migrating the already generated schema from</p><p><strong><em>npx prisma db pull</em></strong></p><p>change to your aws database url and then generate a migration from the schema.prisma file which we will migrate to the aws database url</p><p><strong><em>npx prisma migrate dev — name init</em></strong></p><p>this will generate a migration file and sync it with new database</p><p>If it ran successfully, congratulations.</p><p>9. Incase you wanted to also export and import the data in your previous postgres database, after step 6 , we will download the sql file using this command in our terminal</p><p>For example if you have a connection string like</p><p>postgresql://opnmyfngbknppm:XXX@ec2–46–137–91–216.eu-west-1.compute.amazonaws.com:5432/d50rgmkqi2ipus</p><p>we will execute the terminal command like this</p><p><strong><em>pg_dump — host ec2–46–137–91–216.eu-west-1.compute.amazonaws.com — port 5432 — user opnmyfngbknppm d50rgmkqi2ipus &gt; backup.sql</em></strong></p><p>this will automatically download an sql file called “backup” into the file directory we executed this command. Take note of the “&gt;”.</p><p>10. Now to export the data you downloaded to your new database, it will now be</p><p><strong><em>psql — host ec2–46–137–91–216.eu-west-1.compute.amazonaws.com — port 5432 — user opnmyfngbknppm d50rgmkqi2ipus &lt; backup.sql</em></strong></p><p>Take note of the exchange of “pg_dump” for “psql” and “&gt;” for “&lt;” .</p><p>If you made it to this stage, you can try accessing your database with any GUI of your choice. I recommend Postico or PgAdmin4 to see your changes.</p><p>But if you encounter any issues and need more clarification on the import and export process , please take a look at the prisma documentation —</p><p><a href="https://www.prisma.io/dataguide/postgresql/inserting-and-modifying-data/importing-and-exporting-data-in-postgresql">https://www.prisma.io/dataguide/postgresql/inserting-and-modifying-data/importing-and-exporting-data-in-postgresql</a></p><p>Feel free to make corrections in the comment section below.</p><p>Thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2dfcdd1e5eb5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>