Panorah ERP is a modern Expo + EAS project designed for production-grade React Native development. It includes Expo Router, Zustand, React Query, NativeWind (TailwindCSS), and EAS for CI/CD.
Ensure you have the following installed:
- Node.js (Recommended:
v18+) - PNPM (Recommended:
v8+) - Expo CLI (
pnpm add -g expo-cli) - EAS CLI (
pnpm add -g eas-cli)
Check your versions:
node -v
pnpm -v
eas --versiongit clone https://github.com/your-repo/panorah-erp.git
cd panorah-erppnpm installCreate a .env file in the root directory:
touch .envAdd the following environment variables:
EXPO_PUBLIC_API_URL=https://api.example.com
APP_ENV=developmentSync them with EAS:
eas env:set EXPO_PUBLIC_API_URL=https://api.example.com
eas env:set APP_ENV=developmentVerify stored variables:
eas env:listpnpm prebuildThis generates the ios and android folders for native development.
pnpm expo run:androidpnpm expo run:iospnpm expo start --webEnsure code consistency using ESLint & Prettier:
pnpm lint
pnpm formatDO NOT CREATE FILES / FOLDERS DIRECTLY use following command for code consistency
npx plopAPIs are handled using React Query and Axios:
import { api } from "@/services/api";
const { data, error } = useQuery("users", () => api.get("/users"));eas build --profile development --platform alleas build --profile production --platform alleas submit --platform ioseas submit --platform android- Click Fork on GitHub.
- Clone your fork:
git clone https://github.com/your-username/panorah-erp.git
git checkout -b feature/new-featuregit add .
git commit -m "Added new feature"git push origin feature/new-feature- Open a Pull Request (PR) on GitHub.
This project uses GitHub Actions for CI/CD. The workflow is defined in .github/workflows/eas-build.yml.
-
Triggers:
- On push to
mainorstaging - On pull request creation
- On push to
-
Steps:
- Install dependencies
- Lint & test
- Build with EAS
| Command | Description |
|---|---|
pnpm install |
Install dependencies |
pnpm expo start |
Start the app locally |
pnpm expo run:android |
Run on Android |
pnpm expo run:ios |
Run on iOS |
pnpm lint |
Lint the code |
pnpm format |
Format the code with Prettier |
eas build --profile production --platform all |
Build production binaries |
eas env:list |
List stored environment variables |
npx plop |
To generate files/ folders |
This project is licensed under the MIT License.
- Open an issue on GitHub
- Contact @aniketshindepanorah
🚀 Happy Coding! 🎉