Logo

dev-resources.site

for different kinds of informations.

#006 | Backend Database : Discovery

Published at
12/17/2024
Categories
projectsukoshizutsu
mvp
xano
Author
sukoshizutsu
Categories
3 categories in total
projectsukoshizutsu
open
mvp
open
xano
open
Author
12 person written this
sukoshizutsu
open
#006 | Backend Database : Discovery

Table Of Contents

    * Overview
* Xano: An Easy-to-use Database System
* Building a Table
* Building an API
* Next Steps
Enter fullscreen mode Exit fullscreen mode




Overview

I built a Python code to extract data from Custodian Statement PDFs and output the data into three CSV files.

Comma Separated Value ("CSV") files are a great tool for non-technical users who need to store and perform basic data analysis.

However, a more scalable storage solution is needed to handle larger datasets and complex data queries. Another drawback of a CSV file is that it is a single-user storage format.

Xano: An Easy-To-Use Backend System

I have been experimenting with Xano, a cloud-based low-code backend platform, since coming to know about it from this company's blog.

Xano is great for non-technical users because it offers a user-friendly, low-code user interface ("UI") on top of PostgreSQL. The latter is a popular open-source object-relational database system.

Xano also has a low-code API builder UI that helps you design and build APIs to connect your database to other systems.

After replacing the CSVs as a storage medium with Xano, the MVP's workflow looks like this:

Workflow

To familiarise myself with Xano, I did the following:

  1. Built a database table
  2. Built a user signup API

Building A Table

Creating a table & adding fields

Xano's UI makes table creation a simple process. Users have the option to either import their own data (via CSV or Airtable) or enter data manually.

Create Table

Create Table

Adding a table field and specifying its type is also straightforward. It is also easy to make changes later on.

Add fields

Generating random data for testing

This is very helpful when you want dummy data to test your application.

Generate Data

Generate Data

Exporting data

Should you wish to migrate your data, Xano lets you export your table data to CSV.

Export Data

Building an API

An Application Programming Interface ("API") is needed to send the data extracted from Custodian Statement PDFs to Xano for storage purposes. Vice-versa, the data stored in Xano can also be retrieved later on via an API.

Xano has a pretty nifty low-code API builder that makes it easy to setup an API and add functions to determine the endpoints functionality.

For example, I created a user signup API that lets the Back Office Team create accounts. I added functions to limit the number of created accounts to 3 (to block unauthorised spam accounts from being created) and prevent a signup if an existing username exists.

Building the API's functionality

Functionality

Successful user account creation

API creation

Precondition 1: Block creation of more than three user accounts

API precondition

Precondition 2: Block creation of duplicate user accounts

API precondition

Next Steps

I think I now have the basic knowledge to create APIs in Xano to:

  1. Create user accounts
  2. Login to a user account and return an Authentication Token
  3. Store Securities Holdings data in securities_pdf
  4. Store Fund Holdings data in funds_pdf
  5. Store Cash Holdings data in cash_pdf

I also need to write code in my Python backend to send corresponding requests to these Xano APIs.

--Ends

mvp Article's
30 articles in total
Favicon
🚀 How I Adopted the Lean Startup Mindset to Drive Innovation in My Team
Favicon
Why MVP Development Is Your Startup's Secret to Success
Favicon
How to Get a Free and Fast MVP for Blockchain Projects
Favicon
Unlock the Future of Prototyping: How No-Code Can Help You Build Faster, Smarter
Favicon
How to Build an MVP and Raise Funding in 2025
Favicon
#006 | Backend Database : Discovery
Favicon
Validate Email Address Format and Domain Libraries for Use in Next.js
Favicon
#004 | Automate PDF data extraction: Build
Favicon
#003 | Automate PDF data extraction: Discovery
Favicon
The quick code controversy: Why it's time to re-examine the quick vs. clean code debate
Favicon
#005 | Automate PDF data extraction: User Acceptance Testing
Favicon
Online marketplace MVP - Building a two-sided marketplace MVP using Next.js and MongoDB - From idea to launch
Favicon
#002 | What am I building?
Favicon
Building a Full-Stack App with Next.js, and Firebase: A Step-by-Step Guide
Favicon
Planning an event soon? Or just love pretending you’re throwing the party of the century?
Favicon
Hitting your goals on time: Lessons from my first year in web development.
Favicon
Accelerating SaaS MVP Development: A Guide to Fast-Tracking Your Web App
Favicon
How to launch your startup - How to launch your MVP
Favicon
How generate wining SaaS using your simple Idea
Favicon
MVP as an Excuse for Bad Code?
Favicon
Do MVPs Fail Us?
Favicon
AI in MVP Development: Benefits and Applications You Never Knew Existed!
Favicon
How to Prioritize Features in Your MVP: A Strategic Approach for Startups
Favicon
Exploring essential MVP approaches #1
Favicon
Gerenciamento de projetos ágeis: O inicio de tudo
Favicon
How to build a marketplace MVP fast in Next.js
Favicon
How I built a new product in just 15 hours
Favicon
The Power of MVP: Turning Ideas into Reality with Minimum Viable Products
Favicon
Zero to Launch: Our Algorithm For An Efficient Project Launch
Favicon
From Idea to Launch: My 30-Day MVP Journey

Featured ones: