Skip to content

GeekyAnts/backend-driven-universal-apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Backend Driven Universal Apps 🚨 (Experimental)

⚠️⚠ This is an experimental project, a proof-of-concept to bring the easy way of coding fullstack apps using backend code only, similar to the old days of printf() and scanf(). ⚠⚠️

Why?

Taking inspirations from the WordPress Plugin system. Wouldn't it be easy if we could install plugins for Google Analytics, Social Login, E-commerce (maybe) and customize as you need!

Demo

Backend Driven Universal Apps

The state of this experiment

This is a very early experiment that has two parts.

  • Backend framework: Provides a way to create actions with an invoke method() where users can write their code. It has the framework code as well that wouldn't be a part of the user's project

  • Frotnend renderer: The frontend uses Expo with gluestack-ui for rendering web and mobile apps. Users don't need to change anything here. It's all part of the framework.

Folder structure

frontend/
  App.tsx
backend/
  index.ts

Running the dev environment

First, run the development server:

cd frontend
npm start
[ press w or i to open web or iOS ]
cd backend
bun index.ts