https://github.com/geekyants/backend-driven-universal-apps
Backend Driven Universal Apps
https://github.com/geekyants/backend-driven-universal-apps
backend expo react reactnative
Last synced: about 2 months ago
JSON representation
Backend Driven Universal Apps
- Host: GitHub
- URL: https://github.com/geekyants/backend-driven-universal-apps
- Owner: GeekyAnts
- Created: 2024-01-03T15:11:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-24T12:43:05.000Z (over 2 years ago)
- Last Synced: 2024-04-15T00:41:30.211Z (about 2 years ago)
- Topics: backend, expo, react, reactnative
- Language: TypeScript
- Homepage:
- Size: 1.21 MB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
[](https://www.loom.com/share/eb731f2a327f456ab0986bcb8f616357 "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:
```bash
cd frontend
npm start
[ press w or i to open web or iOS ]
```
```bash
cd backend
bun index.ts
```