capacitor template (#1)

Reviewed-on: #1
Co-authored-by: MasumAhmed19 <masum.ahmed1328@gmail.com>
Co-committed-by: MasumAhmed19 <masum.ahmed1328@gmail.com>
This commit is contained in:
MasumAhmed19
2025-06-16 01:34:40 +00:00
committed by Rafeed M. Bhuiyan
parent a697fc5ca5
commit 87601f76d1
20 changed files with 3841 additions and 670 deletions

View File

@ -1,6 +1,8 @@
# capacitor-template
# CapacitorTemplate
Template repository for all FastAPI backend projects developed by Omukk.
A modern React + Vite + Tailwind CSS starter template optimized for building cross-platform mobile applications using [Capacitor](https://capacitorjs.com/). This template provides the essential tools and configurations needed to build, preview, and deploy apps to iOS and Android platforms developed by Omukk.
---
## Components
- Basic Capacitor dependencies
@ -19,5 +21,32 @@ Template repository for all FastAPI backend projects developed by Omukk.
git clone git@git.omukk.dev/<username>/<repo>.git
cd <repo>
```
3. Check Capacitor [quickstart](https://capacitorjs.com/docs/getting-started) to get started
4. Your code should go to `www` folder.
## 🧰 Installation
Ensure you have [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/) installed.
```bash
# Install dependencies
npm install
# Initialize Capacitor
npx cap init
# Add iOS and Android platforms
npx cap add ios
npx cap add android
# Build the web assets
npm run build
# Sync with Capacitor
npx cap sync
# Open platforms
npx cap open ios
npx cap open android
```