capacitor template (#1) (#2)

Reviewed-on: #1
Co-authored-by: MasumAhmed19 <masum.ahmed1328@gmail.com>
Co-committed-by: MasumAhmed19 <masum.ahmed1328@gmail.com>

Reviewed-on: #2
Co-authored-by: pptx704 <rafeedm.bhuiyan@gmail.com>
This commit is contained in:
2025-06-16 01:43:50 +00:00
parent a697fc5ca5
commit 6f71af17c1
20 changed files with 3851 additions and 653 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
```