DEV Community

Cover image for Automating the creation of Shopify stores with Xata
AlexF for Xata

Posted on • Originally published at xata.io

Automating the creation of Shopify stores with Xata

Katriel Lucas is a self taught, full stack developer out of Brazil who favors SvelteKit, Astro and serverless tools. He and the team at Loja De Dropshipping Oficial are looking to remove the technological barrier for any small business that wants to make a web store.

Making Shopify even more accessible

Shopify, a platform that millions of entrepreneurs choose to build their business, operates in a market where approximately 23% of all online sales are fulfilled through dropshipping (MarketSplash, 2023). Their platform is wonderful for digital natives, but still requires you to have some technical knowledge to build a good store front and connect the dots. Katriel and Loja De Dropshipping Oficial (LDO) are looking to make the benefits of Shopify accessible to absolutely everyone.

How are they planning to do this? By automating the creation of Shopify stores. Simply provide some information about your business and their solution will create a customized website for you that includes customer tracking, production statistics, and more.

Shopify store creation volume

Serverless for the win

Their solution is built on a modern serverless architecture with SvelteKit, TypeScript, Cloudflare Workers and Xata as the chosen tech stack. Each customer gets their own table in Xata.

Katriel initially came across Xata while searching for a serverless database to begin developing LDO's MVP. Xata was chosen because of the vertically integrated experience and generous free tier. What was originally meant to only be used for a prototype, eventually made its way to production because of the reliability and performance seen during the development phase.

Chat experience for store creation

LDO leverages Xata to extend and better facilitate Shopify's personalization capabilities. When a customer buys the LDO services, a large JSON object is automatically created. The JSON object created for each customer includes details like email, phone number, Brazilian ID, address, product data, and order status, among others. As customers personalize their shop through the chat interface, they input specific details such as credentials, logos, URL, name, color schemes, etc. This facilitates in shop customization and also gathers feedback for continuous improvement. Additionally, data on LDO agents’ responsiveness and efficiency in helping with shop creation is collected, enhancing overall service quality and refining the user experience.

All data, ranging from shop metadata and user permissions to business logos and agent productivity metrics, is stored directly in Xata. Xata powers the entire application and all customizable aspects of the stores.

Store checker

There were a lot of things that Xata solved for us. Our app is divided into three parts. The shop profile with customer information, time series data for sales metrics, and the images for the shop itself. All three use cases use only one database, Xata.\
Katriel Lucas - Full Stack Developer

Katriel, Dymas, Heron, and the rest of the team at LDO are building out a new solution that lowers the barrier of entry for any store owner or entrepreneur to have an online presence. In addition to their automated approach to shop creation, the company also offers courses and mentoring to help people start a dropshipping business. Teaching their customers proven strategies that tend to convert more.

Their success is already taking off and it’s tied directly to the speed at which they can introduce new features and provide value to their customers. Having a modern, serverless architecture empowers them to do much more with a smaller team.

Feedback and feature requests

As the conversation steered towards what’s next, we asked Katriel to share some of his favorite parts about Xata and where he thinks we can improve. Here were some of the reasons Katriel chose Xata for this application.

  • TypeScript SDK. The TypeScript SDK is very easy to get started with and made development much quicker for Katriel and his team.
  • Zero Ops. There is no need to manage a database or infrastructure. This was huge for them because they could focus on the application and customer needs.
  • File attachments. File attachments really reduced the amount of tools we needed for image uploads and the logo definition process. The out of the box transformations were killer.

When asked what he’d like to see from Xata, here’s what Katriel shared.

  • Serverless functions. Cloudflare is the only other service required to make this solution possible. If Xata supported serverless functions, they could consolidate all their tools.

Share your Xata story

Do you have a similar story or community contribution you’d like to share? Send us an email or ping us on Discord if you’d like to be featured in our community spotlight. Until then, happy building 🦋

Top comments (0)