This is the frontend application for the OpenPecha platform, designed to manage and interact with Buddhist texts in the OpenPecha format.
- Node.js (v18 or higher)
- npm (v9 or higher)
-
Clone the repository:
git clone https://github.com/OpenPecha/app-pecha-frontend.git
-
Navigate to app-pecha-frontend directory:
cd app-pecha-frontend
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev
The application will be available at http://localhost:5173
-
Run the test cases:
npm run test
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run lint
- Run ESLintnpm run test
- Run testsnpm run coverage
- Generate test coverage report
- Modern React-based frontend
- Internationalization support via tolgee
- Authentication via Auth0
- Responsive UI with React Bootstrap
- State management with React Query
- React 18
- React Router DOM
- React Bootstrap
- Auth0 React
- tolgee
- React Query
- Vite
- Vitest
Build and run using Docker:
# Build the Docker image
docker build -t app-pecha-frontend .
# Run the container
docker run -p 80:80 app-pecha-frontend
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License.